mcp-server
v0.2.0QuantumAPI MCP Server — Model Context Protocol integration for AI tools
Model Context Protocol (MCP) server for QuantumAPI — manage post-quantum secrets, keys, and encryption from AI tools.
Summary extracted from the README.
@quantumapi/mcp-server
Model Context Protocol (MCP) server for QuantumAPI — manage post-quantum secrets, keys, and encryption from AI tools.
Quick Start
Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"quantumapi": {
"command": "npx",
"args": ["-y", "@quantumapi/mcp-server"],
"env": {
"QUANTUMAPI_API_KEY": "qapi_..."
}
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"quantumapi": {
"command": "npx",
"args": ["-y", "@quantumapi/mcp-server"],
"env": {
"QUANTUMAPI_API_KEY": "qapi_..."
}
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"quantumapi": {
"command": "npx",
"args": ["-y", "@quantumapi/mcp-server"],
"env": {
"QUANTUMAPI_API_KEY": "qapi_..."
}
}
}
}
Tools
| Tool | Description |
|---|---|
secrets_list |
List secrets (values always redacted) |
secrets_get |
Get a secret by ID (value redacted) |
secrets_create |
Create a new secret |
secrets_update |
Update a secret |
secrets_delete |
Soft-delete a secret |
keys_list |
List cryptographic keys |
keys_get |
Get key metadata |
keys_create |
Generate a new key |
keys_rotate |
Rotate a key |
encrypt |
Encrypt data |
decrypt |
Decrypt data (returns the plaintext to the model, see Security) |
account_health |
Check platform health |
account_usage |
View billing usage |
Configuration
| Variable | Required | Description |
|---|---|---|
QUANTUMAPI_API_KEY |
Yes | Your API key from portal.quantumapi.eu |
QUANTUMAPI_BASE_URL |
No | Custom API base URL (default: https://api.quantumapi.eu/api/v1) |
Security
- The secrets, keys and
encrypttools never return secret values or key material to the LLM (sensitive fields are replaced with***REDACTED***) - Exception:
decryptreturns the plaintext to the model whenever the API key has thedecryptscope - Recommended scopes for an assistant API key:
keys:read keys:write encrypt secrets:read audit:read(nodecrypt) - API key is read from environment variables only
- Error messages are sanitized (no stack traces)
Development
pnpm install
pnpm build
pnpm test
License
MIT