Skip to main content
Glama
Secstant MCP Server

Secstant MCP Server

Official
by sigp
README.md
<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="assets/secstant-white.svg">
    <img src="assets/secstant-black.svg" alt="Secstant" width="320">
  </picture>
</p>

<p align="center"><b>Command-line client and MCP server</b></p>

## Overview

Secstant is:

- An AI-assisted security review tool built by Sigma Prime.
- Ready for Go, Solidity, Rust, Python and TypeScript, with more languages on the way.
- Available as a web app, a command-line client and an MCP server for coding agents.

This repository holds the command-line client and the MCP server. Sign in with your Sigma Prime account to estimate scans, run them and read the findings. Start scanning your codebase today with a free account.

[Learn more about Secstant](https://sigmaprime.io/products/secstant/)

## Install

macOS and Linux:

```sh
curl -fsSL https://github.com/sigp/secstant-cli-mcp/releases/latest/download/install.sh | sh
```

Windows, in PowerShell:

```powershell
irm https://github.com/sigp/secstant-cli-mcp/releases/latest/download/install.ps1 | iex
```

Update with `secstant update`. Remove with `secstant uninstall`.

Optional: verify a downloaded file with `gh attestation verify <file> --repo sigp/secstant-cli-mcp`.

## Quick start

### CLI

```sh
secstant login
secstant estimate create owner/repo --wait
```

The estimate prints the cost and the `secstant scan start` command. Run that command to start the scan. It is charged to the account and asks for no confirmation.

```sh
secstant scan list
secstant scan show <scan-id> --wait
secstant scan findings <scan-id>
```

A private repository needs a GitHub token in `SECSTANT_GITHUB_TOKEN`. `secstant --help` lists every command, and `secstant <command> --help` lists its options.

Sign-in is the only authentication. For CI and automation, use the Secstant API.

### MCP

| Client | Setup |
| --- | --- |
| Claude Desktop | Open [`secstant.mcpb`](https://github.com/sigp/secstant-cli-mcp/releases/latest/download/secstant.mcpb). The CLI is not needed |
| Claude Code | `secstant mcp install` |
| Other clients | Follow what `secstant mcp install` prints |

Then ask the agent:

```text
How much would a Secstant scan of owner/repo cost?
```

Review the cost, then confirm:

```text
Start the scan.
```

The scan is charged to the account. When it ends:

```text
Show the most severe findings of that scan.
```

## Security

See [SECURITY.md](SECURITY.md).

## License

[Apache-2.0](LICENSE)