open-index/open-npm huggingface dataset:
npm package: @quantumapi/mcp-server
Description: QuantumAPI MCP Server — Model Context Protocol integration for AI tools
Author: QuantumAPI Team
Latest version: 0.1.0-beta.0

# @quantumapi/mcp-server

Model Context Protocol (MCP) server for [QuantumAPI](https://quantumapi.eu) — manage post-quantum secrets, keys, and encryption from AI tools.

## Quick Start

### Claude Code

Add to `~/.claude/settings.json`:

```json
{
  "mcpServers": {
    "quantumapi": {
      "command": "npx",
      "args": ["-y", "@quantumapi/mcp-server"],
      "env": {
        "QUANTUMAPI_API_KEY": "qapi_..."
      }
    }
  }
}
```

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "quantumapi": {
      "command": "npx",
      "args": ["-y", "@quantumapi/mcp-server"],
      "env": {
        "QUANTUMAPI_API_KEY": "qapi_..."
      }
    }
  }
}
```

### Cursor

Add to `.cursor/mcp.json`:

```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 |
| `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](https://portal.quantumapi.eu/api-keys) |
| `QUANTUMAPI_BASE_URL` | No | Custom API base URL (default: `https://api.quantumapi.eu/api/v1`) |

## Security

- Secret values and key material are **never** returned to the LLM
- API key is read from environment variables only
- Error messages are sanitized (no stack traces)

## Development

```bash
pnpm install
pnpm build
pnpm test
```

## License

MIT