@pqsafe/mcp-server
v0.1.0
Published
PQSafe AgentPay MCP server — exposes PQ-safe payment tools to Claude Desktop, Cursor, and any MCP host
Maintainers
Readme
@pqsafe/mcp-server
PQSafe AgentPay MCP server — exposes post-quantum payment tools to Claude Desktop, Cursor, Windsurf, and any MCP-compatible host.
Tools
| Tool | Description |
|---|---|
| pqsafe.create_envelope | Issuer builds + ML-DSA-65 signs a SpendEnvelope |
| pqsafe.verify_envelope | Standalone signature + schema verification |
| pqsafe.execute_payment | Verify envelope + route payment to rail |
| pqsafe.get_envelope_status | Inspect expiry, budget, revocation stub |
Install
npm install -g @pqsafe/mcp-server
# or run directly:
npx @pqsafe/mcp-serverClaude Desktop configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"pqsafe": {
"command": "npx",
"args": ["@pqsafe/mcp-server"]
}
}
}Or if installed globally:
{
"mcpServers": {
"pqsafe": {
"command": "pqsafe-mcp"
}
}
}Cursor configuration
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"pqsafe": {
"command": "npx",
"args": ["@pqsafe/mcp-server"]
}
}
}Usage with Claude
Once connected, Claude can:
Create an envelope (mock mode — no key needed):
"Create a PQSafe SpendEnvelope for agent 'my-bot' with max $100 USD to recipient 'anthropic.com/billing', valid 1 hour"
Execute a payment (mock mode):
"Execute a mock payment of $49.99 to anthropic.com/billing using the envelope above"
Check envelope status:
"What is the status of my SpendEnvelope? Is it expired?"
Mock mode
All tools support mock mode — no credentials or payment rails needed:
pqsafe.create_envelope: omitsecret_key_hex→ generates throw-away test keypairpqsafe.execute_payment: setmock_mode: true→ returns synthetictxId
Dev / inspect
# Run locally with MCP Inspector
cd integrations/mcp
npm install
npm run inspectSmithery / MCP registry
See smithery.yaml for registry submission metadata (post-YC publish).
Related
@pqsafe/agent-pay— core SDK@pqsafe/agent-pay-langchain— LangChain integrationcrewai-pqsafe— CrewAI integration@pqsafe/mastra— Mastra integration
