What is the io.github.Kali123411/k402 MCP server?
Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no API key
How to install io.github.Kali123411/k402
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
K402_GATEWAYGateway URL (defaults to the public k402 gateway)
K402_SESSIONPin a funded session key (otherwise open_session mints one)
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"k402": {
"command": "uvx",
"args": [
"k402-mcp"
],
"env": {
"K402_GATEWAY": "<YOUR_K402_GATEWAY>",
"K402_SESSION": "<YOUR_K402_SESSION>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"k402": {
"command": "uvx",
"args": [
"k402-mcp"
],
"env": {
"K402_GATEWAY": "<YOUR_K402_GATEWAY>",
"K402_SESSION": "<YOUR_K402_SESSION>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"k402": {
"command": "uvx",
"args": [
"k402-mcp"
],
"env": {
"K402_GATEWAY": "<YOUR_K402_GATEWAY>",
"K402_SESSION": "<YOUR_K402_SESSION>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"k402": {
"type": "stdio",
"command": "uvx",
"args": [
"k402-mcp"
],
"env": {
"K402_GATEWAY": "<YOUR_K402_GATEWAY>",
"K402_SESSION": "<YOUR_K402_SESSION>"
}
}
}
}Claude Code
claude mcp add k402 --env K402_GATEWAY=<YOUR_K402_GATEWAY> --env K402_SESSION=<YOUR_K402_SESSION> -- uvx k402-mcpRelated MCP servers
Kaspa x402 agent payer — pay x402 v2 services on Kaspa (KAS) per call, no account or API key
0
View repository →JavaScript
MIT