k402 for VS Code
io.github.kali123411/k402
Agent-payable APIs on Kaspa: LLMs, chain data, covenants, zk proofs — pay per call, no API key
client:VS Code
transport:streamable-http
runtime:pypi
tools:36
Install k402 in VS Code
.vscode/mcp.json
{
"servers": {
"k402": {
"type": "http",
"url": "https://x402-compute.68cxgfyr0.workers.dev/mcp"
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs
What VS Code can do once it is connected
- catalog
- open_session
- use_session
- session_status
- registry_search
- registry_provider
- channel_config
- channel_status
- payment_options
- pay_per_call
- summarize
- extract
- rewrite
- classify
- read_url
- embed_text
- search_index
- search_query
- kaspa_balance
- kaspa_utxos
- kaspa_tx_status
- kaspa_fee_estimate
- kaspa_network
- generate