MCP server
K402
Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no…
- Runs
- Locally or Remotely
- Version
- 0.7.0
- Listing updated
- 5 days ago
About K402
K402 is an MCP server. It can run locally on your machine or as a hosted remote server.
Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no API key
Install
Run in a terminal
claude mcp add --transport http k402 https://x402-compute.68cxgfyr0.workers.dev/mcpAdd to Settings → Connectors → Add custom connector
https://x402-compute.68cxgfyr0.workers.dev/mcpInstall in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"k402": {
"url": "https://x402-compute.68cxgfyr0.workers.dev/mcp"
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"k402": {
"type": "http",
"url": "https://x402-compute.68cxgfyr0.workers.dev/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"k402": {
"serverUrl": "https://x402-compute.68cxgfyr0.workers.dev/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"k402": {
"type": "http",
"url": "https://x402-compute.68cxgfyr0.workers.dev/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
K402_GATEWAYGateway URL (defaults to the public k402 gateway)K402_SESSIONPin a funded session key (otherwise open_session mints one)
K402 FAQ
How do I add K402 to Claude Code?
Run this command in your terminal: claude mcp add --transport http k402 https://x402-compute.68cxgfyr0.workers.dev/mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.