io.github.Kali123411/k402
Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no API key
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http k402 'https://x402-compute.68cxgfyr0.workers.dev/mcp'
{
"mcpServers": {
"k402": {
"type": "http",
"url": "https://x402-compute.68cxgfyr0.workers.dev/mcp"
}
}
}
k402-mcpclaude mcp add k402 -e 'K402_GATEWAY=<K402_GATEWAY>' -e 'K402_SESSION=<K402_SESSION>' -- uvx k402-mcp==0.7.0
{
"mcpServers": {
"k402": {
"command": "uvx",
"args": [
"k402-mcp==0.7.0"
],
"env": {
"K402_GATEWAY": "<K402_GATEWAY>",
"K402_SESSION": "<K402_SESSION>"
}
}
}
}
Environment variables
K402_GATEWAYGateway URL (defaults to the public k402 gateway)K402_SESSIONPin a funded session key (otherwise open_session mints one)
Frequently asked questions
What is io.github.Kali123411/k402?
Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no API key
How do I install io.github.Kali123411/k402?
It runs as a remote server. In Claude Code: claude mcp add --transport http k402 'https://x402-compute.68cxgfyr0.workers.dev/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.Kali123411/k402 need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Who maintains io.github.Kali123411/k402?
It is published by Kali123411. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.