# SignaTrust MCP server

> Enables AI assistants to create envelopes, manage templates, upload documents, and verify blockchain-anchored e-signatures via Solana.

- Repository: https://github.com/SignaTrustDev/signatrust-mcp
- Page: https://hostedmcp.org/servers/signatrustdev/signatrust-mcp
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.3.2

## Install

### Claude Code

```sh
claude mcp add --env 'SIGNATRUST_API_KEY=<YOUR_SIGNATRUST_API_KEY>' signatrust-mcp -- npx -y @signatrust/mcp-server
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "signatrust-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@signatrust/mcp-server"
      ],
      "env": {
        "SIGNATRUST_API_KEY": "<YOUR_SIGNATRUST_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "signatrust-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@signatrust/mcp-server"
      ],
      "env": {
        "SIGNATRUST_API_KEY": "<YOUR_SIGNATRUST_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"signatrust-mcp","type":"stdio","command":"npx","args":["-y","@signatrust/mcp-server"],"env":{"SIGNATRUST_API_KEY":"<YOUR_SIGNATRUST_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "signatrust-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@signatrust/mcp-server"
      ],
      "env": {
        "SIGNATRUST_API_KEY": "<YOUR_SIGNATRUST_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add signatrust-mcp --env 'SIGNATRUST_API_KEY=<YOUR_SIGNATRUST_API_KEY>' -- npx -y @signatrust/mcp-server
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.signatrust-mcp]
command = "npx"
args = ["-y", "@signatrust/mcp-server"]

[mcp_servers.signatrust-mcp.env]
SIGNATRUST_API_KEY = "<YOUR_SIGNATRUST_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'SIGNATRUST_API_KEY=<YOUR_SIGNATRUST_API_KEY>' signatrust-mcp npx -- -y @signatrust/mcp-server
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "signatrust-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@signatrust/mcp-server"
      ],
      "env": {
        "SIGNATRUST_API_KEY": "<YOUR_SIGNATRUST_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SIGNATRUST_API_KEY` | yes | yes | SignaTrust API key (starts with sk_live_). Create one at Settings -> API keys. |
| `SIGNATRUST_API_URL` | no | no | Override the API base URL. Defaults to https://app.signatrust.io; set for self-hosted or local development. |

## Tools (9)

- `list_envelopes`
- `get_envelope`
- `create_envelope`
- `list_templates`
- `upload_document`
- `download_document`
- `analyze_document`
- `verify_blockchain`
- `get_evidence`

## FAQ

### Can I verify the authenticity of a signature on the blockchain?

Yes, you can use the verify_blockchain tool to check the Solana anchor and receive a composite hash, file hash, and explorer URL.

### How do I manage API key permissions?

You can create API keys in your SignaTrust dashboard and assign specific scopes like envelopes:read, envelopes:write, or ai:analyze to control tool access.
