MCP 服务器

k402

io.github.Kali123411/k402

此 MCP 可以做什么

Provides agent-payable Kaspa services including blockchain data, covenant transactions, LLM and embedding calls, structured extraction, and zero-knowledge proving.

attest_verify
Verify a RISC Zero receipt against an image_id -> {valid, journal_b64}. Anyone can check an attestation without trusting the prover. Paid (~$0.0002).
输入模式
{'type': 'object', 'title': 'attest_verifyArguments', 'required': ['receipt_b64', 'image_id'], 'properties': {'image_id': {'type': 'string', 'title': 'Image Id'}, 'receipt_b64': {'type': 'string', 'title': 'Receipt B64'}}}
catalog
List every service this gateway sells (text tools, Kaspa chain data, LLM tiers) with live prices in KAS and USD. Free. Start here to see what's available and what calls cost.
输入模式
{'type': 'object', 'title': 'catalogArguments', 'properties': {}}
channel_config
Parameters for opening a kaspa-channel — a covenant-enforced payment channel that settles per-call vouchers on Kaspa L1 with NO custodian (the trustless alternative to a prepaid session). Returns the payee pubkey, min/max channel size, required expiry lead, and maxfee. Free. Opening a channel means funding the channel covenant on-chain (payer holds the key), then paying per call with signed vouchers — use the `k402` Python client (`pip install k402`, k402.channel) to build the covenant and sign vouchers, since that flow needs your Kaspa key. Returns {error} if this gateway hasn't enabled the (experimental) channel rail.
输入模式
{'type': 'object', 'title': 'channel_configArguments', 'properties': {}}
channel_status
Status of a kaspa-channel by its channel id (covenant id): funded value, amount spent via vouchers, remaining, expiry, and whether it has been closed on-chain. Free.
输入模式
{'type': 'object', 'title': 'channel_statusArguments', 'required': ['channel_id'], 'properties': {'channel_id': {'type': 'string', 'title': 'Channel Id'}}}
classify
Classify text into one (or multiple, if multi=true) of 2-32 labels; the result is constrained to your label set. Paid (~$0.0003 in KAS).
输入模式
{'type': 'object', 'title': 'classifyArguments', 'required': ['text', 'labels'], 'properties': {'text': {'type': 'string', 'title': 'Text'}, 'multi': {'type': 'boolean', 'title': 'Multi', 'default': False}, 'labels': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Labels'}}}
covenant_address
Derive the covenant P2SH address for a compiled script on 'mainnet' or 'testnet-10'. Paid (~$0.0003).
输入模式
{'type': 'object', 'title': 'covenant_addressArguments', 'required': ['script_hex'], 'properties': {'network': {'type': 'string', 'title': 'Network', 'default': 'mainnet'}, 'script_hex': {'type': 'string', 'title': 'Script Hex'}}}
covenant_broadcast
Broadcast a signed covenant tx (RpcTransaction JSON from covenant_build). MAINNET moves real KAS — run covenant_check first. Paid (~$0.0003).
输入模式
{'type': 'object', 'title': 'covenant_broadcastArguments', 'required': ['transaction'], 'properties': {'network': {'type': 'string', 'title': 'Network', 'default': 'mainnet'}, 'transaction': {'type': 'object', 'title': 'Transaction', 'additionalProperties': True}}}
covenant_build
Assemble a covenant spend tx. Each input: {txid, index, entry, compute_budget?, and either sigscript:{source,decl,args,is_leader?} to build a covenant sigscript server-side, or omit sigscript for a P2PK input you sign locally}. Each output: {amount, address|script_public_key_hex, covenant?:{authorizing_input,covenant_id}}. Returns the tx, a broadcast-ready rpc_transaction, fee accounting, and (if fully authorized) a pre-verify. We never sign. Paid (~$0.001).
输入模式
{'type': 'object', 'title': 'covenant_buildArguments', 'required': ['inputs', 'outputs'], 'properties': {'inputs': {'type': 'array', 'items': {}, 'title': 'Inputs'}, 'network': {'type': 'string', 'title': 'Network', 'default': 'mainnet'}, 'outputs': {'type': 'array', 'items': {}, 'title': 'Outputs'}, 'lock_time': {'type': 'integer', 'title': 'Lock Time', 'default': 0}, 'payload_hex': {'type': 'string', 'title': 'Payload Hex', 'default': ''}}}
covenant_check
Local txscript pre-verify of a signed covenant tx BEFORE broadcast — catches script failures that would otherwise cost you a broadcast. 'entries' are the spent UTXOs (covenant_utxos output plugs in directly). Returns {all_ok, inputs:[{index, ok, error?}]}. Paid (~$0.0005).
输入模式
{'type': 'object', 'title': 'covenant_checkArguments', 'required': ['transaction', 'entries'], 'properties': {'entries': {'type': 'array', 'items': {}, 'title': 'Entries'}, 'transaction': {'type': 'object', 'title': 'Transaction', 'additionalProperties': True}}}
covenant_compile
Compile a Silverscript covenant to script hex, ABI, hardened template hash, and its P2SH address on each network. constructor_args is the silverc ctor JSON (e.g. [{"kind":"int","data":7}]). Paid (~$0.002). NOTE: 'compiles' ≠ proven on-chain.
输入模式
{'type': 'object', 'title': 'covenant_compileArguments', 'required': ['source'], 'properties': {'source': {'type': 'string', 'title': 'Source'}, 'constructor_args': {'type': 'array', 'items': {}, 'title': 'Constructor Args', 'default': None}}}
covenant_utxos
Live UTXO set locked under a covenant address (covenant state inspection), from the node. Optionally filter by covenant_id. Paid (~$0.0003).
输入模式
{'type': 'object', 'title': 'covenant_utxosArguments', 'required': ['address'], 'properties': {'address': {'type': 'string', 'title': 'Address'}, 'network': {'type': 'string', 'title': 'Network', 'default': 'mainnet'}, 'covenant_id': {'type': 'string', 'title': 'Covenant Id', 'default': ''}}}
embed_text
Embed up to 64 texts (768-dim vectors, nomic-embed-text). Paid (~$0.0003 in KAS).
输入模式
{'type': 'object', 'title': 'embed_textArguments', 'required': ['texts'], 'properties': {'texts': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Texts'}}}
extract
Extract structured data from text as JSON guaranteed to match your JSON schema (schema-constrained decoding, not best-effort). Paid (~$0.0015 in KAS).
输入模式
{'type': 'object', 'title': 'extractArguments', 'required': ['text', 'schema'], 'properties': {'text': {'type': 'string', 'title': 'Text'}, 'schema': {'type': 'object', 'title': 'Schema', 'additionalProperties': True}, 'instruction': {'type': 'string', 'title': 'Instruction', 'default': ''}}}
generate
Run a prompt on a GPU model tier: 'chat' (fast 7B, ~$0.0015), 'llama' (budget 8B, ~$0.0008), 'reason' (35B, ~$0.004), 'think' (deep chain-of-thought 35B MoE, ~$0.004), 'code' (coder model, ~$0.0025), or 'kaspa-expert' (RAG-grounded, current Kaspa knowledge, ~$0.0015). Returns the completion text.
输入模式
{'type': 'object', 'title': 'generateArguments', 'required': ['prompt'], 'properties': {'tier': {'type': 'string', 'title': 'Tier', 'default': 'chat'}, 'prompt': {'type': 'string', 'title': 'Prompt'}, 'system': {'type': 'string', 'title': 'System', 'default': ''}, 'max_tokens': {'type': 'integer', 'title': 'Max Tokens', 'default': 512}}}
job_result
Fetch a finished proving job's result {image_id, total_cycles, journal_b64, receipt_b64}. 404 until done; results kept 24h. Free.
输入模式
{'type': 'object', 'title': 'job_resultArguments', 'required': ['job_id'], 'properties': {'job_id': {'type': 'string', 'title': 'Job Id'}}}
job_status
Poll a proving job: queued/running/done/failed, queue position, cost. Free.
输入模式
{'type': 'object', 'title': 'job_statusArguments', 'required': ['job_id'], 'properties': {'job_id': {'type': 'string', 'title': 'Job Id'}}}
kaspa_balance
Balance of any Kaspa MAINNET address, straight from a node (no indexer, no API key). Paid (~$0.00015 in KAS).
输入模式
{'type': 'object', 'title': 'kaspa_balanceArguments', 'required': ['address'], 'properties': {'address': {'type': 'string', 'title': 'Address'}}}
kaspa_fee_estimate
Current Kaspa mainnet feerate buckets (sompi per gram of tx mass). Paid (~$0.00015).
输入模式
{'type': 'object', 'title': 'kaspa_fee_estimateArguments', 'properties': {}}
kaspa_network
Kaspa mainnet status: DAA score, block count, difficulty, node sync state. Paid (~$0.00015 in KAS).
输入模式
{'type': 'object', 'title': 'kaspa_networkArguments', 'properties': {}}
kaspa_tx_status
Mempool status of a Kaspa transaction. Absent from mempool means accepted-or-unknown — confirm acceptance by checking one of its outputs with kaspa_utxos. Paid (~$0.00015).
输入模式
{'type': 'object', 'title': 'kaspa_tx_statusArguments', 'required': ['txid'], 'properties': {'txid': {'type': 'string', 'title': 'Txid'}}}
kaspa_utxos
UTXO set of a Kaspa mainnet address, including scriptPublicKey and covenant_id where set. Paid (~$0.0003 in KAS).
输入模式
{'type': 'object', 'title': 'kaspa_utxosArguments', 'required': ['address'], 'properties': {'address': {'type': 'string', 'title': 'Address'}}}
open_session
Open a prepaid payment session: returns a session key and a personal Kaspa MAINNET deposit address. Send KAS to the address from any wallet (min 0.25 KAS); confirmed deposits become spendable balance within seconds and every paid tool call meters against it. Free. The session is saved locally so subsequent calls use it automatically.
输入模式
{'type': 'object', 'title': 'open_sessionArguments', 'properties': {}}
payment_options
Which coins and schemes this gateway accepts for payment. Free. Ways to pay any paid tool: a prepaid KAS session (open_session — simplest, no per-call step); per-call in any listed coin (pay the offer a 402 returns, then pay_per_call); or, where the experimental 'kaspa-channel' scheme is offered, a covenant payment channel that settles per-call vouchers on L1 with no custodian (see channel_config). Coins may include Kaspa, Pearl, BTC, LTC, DOGE, BCH, DASH, and EVM assets (ETC, ETH, USDC, USDT).
输入模式
{'type': 'object', 'title': 'payment_optionsArguments', 'properties': {}}
pay_per_call
Complete a PER-CALL coin payment. After a paid tool returns a 402 with pay_per_call_offers, pay one offer on-chain from your own wallet, then call this with the 402's `endpoint` and `request_body`, the chosen offer's `scheme` and `payment_id`, and your payment `txid`. The gateway verifies the payment landed and returns the tool's real result. (Alternative to a prepaid session — use this when you'd rather pay each call directly in a specific coin.)
输入模式
{'type': 'object', 'title': 'pay_per_callArguments', 'required': ['endpoint', 'request_body', 'scheme', 'payment_id', 'txid'], 'properties': {'txid': {'type': 'string', 'title': 'Txid'}, 'scheme': {'type': 'string', 'title': 'Scheme'}, 'endpoint': {'type': 'string', 'title': 'Endpoint'}, 'payment_id': {'type': 'string', 'title': 'Payment Id'}, 'request_body': {'type': 'object', 'title': 'Request Body', 'additionalProperties': True}}}
prove_guest_upload
Upload a RISC Zero program binary (the .bin risc0-build emits, base64) once; returns its content-addressed image_id (also the verification key), reusable across proofs. Paid (~$0.01).
输入模式
{'type': 'object', 'title': 'prove_guest_uploadArguments', 'required': ['program_b64'], 'properties': {'program_b64': {'type': 'string', 'title': 'Program B64'}}}
prove_preflight
Execute a guest WITHOUT proving: exact cycle count + a signed price quote {total_cycles, price_kas, quote_id, quote_expires}. Run this first — proving cost scales with cycles by orders of magnitude. Paid (~$0.002).
输入模式
{'type': 'object', 'title': 'prove_preflightArguments', 'required': ['image_id'], 'properties': {'image_id': {'type': 'string', 'title': 'Image Id'}, 'input_b64': {'type': 'string', 'title': 'Input B64', 'default': ''}}}
prove_submit
Queue a proving job -> {job_id, cost_kas}. Pass quote_id (from prove_preflight; charged the quote) or max_kas (skip preflight; priced on actual cycles, refuses if over the cap). Then poll job_status and fetch job_result. Paid: the proof's cycle-based price (dynamic).
输入模式
{'type': 'object', 'title': 'prove_submitArguments', 'required': ['image_id'], 'properties': {'max_kas': {'type': 'number', 'title': 'Max Kas', 'default': 0}, 'image_id': {'type': 'string', 'title': 'Image Id'}, 'quote_id': {'type': 'string', 'title': 'Quote Id', 'default': ''}, 'input_b64': {'type': 'string', 'title': 'Input B64', 'default': ''}}}
read_url
Fetch a public web page and return its title + clean markdown; distill=true adds key-fact bullets. Useful when you have no web access of your own. Paid (~$0.0012 in KAS).
输入模式
{'type': 'object', 'title': 'read_urlArguments', 'required': ['url'], 'properties': {'url': {'type': 'string', 'title': 'Url'}, 'distill': {'type': 'boolean', 'title': 'Distill', 'default': False}}}
registry_provider
Full detail on one provider in the service exchange by its payee pubkey: every service it lists, its chain-verified reputation (settled KAS volume + settlement count), and its payee address. Free.
输入模式
{'type': 'object', 'title': 'registry_providerArguments', 'required': ['payee_pubkey'], 'properties': {'payee_pubkey': {'type': 'string', 'title': 'Payee Pubkey'}}}
registry_search
Discover providers in the k402 service exchange — an open marketplace of agent-payable services, each settled trustlessly over a Kaspa payment channel directly with the provider (no custodian). Filter by capability (e.g. 'summarize', 'llm:reason', 'zk-prove'), max USD price, and minimum reputation (settled KAS volume, chain-verified). Results are ranked reputation-first. Free. Returns each provider's endpoint, payee pubkey, price, channel terms, and reputation.
输入模式
{'type': 'object', 'title': 'registry_searchArguments', 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20}, 'capability': {'type': 'string', 'title': 'Capability', 'default': ''}, 'max_price_usd': {'type': 'number', 'title': 'Max Price Usd', 'default': 0.0}, 'min_reputation_kas': {'type': 'number', 'title': 'Min Reputation Kas', 'default': 0.0}}}
rewrite
Rewrite text per an instruction (tone, format, length...). Paid (~$0.001 in KAS).
输入模式
{'type': 'object', 'title': 'rewriteArguments', 'required': ['text', 'instruction'], 'properties': {'text': {'type': 'string', 'title': 'Text'}, 'instruction': {'type': 'string', 'title': 'Instruction'}}}
search_index
Store documents [{id, text, meta?}] in a named server-side collection for semantic search. Use an unguessable collection name and keep it secret. Paid (~$0.0015 in KAS).
输入模式
{'type': 'object', 'title': 'search_indexArguments', 'required': ['collection', 'documents'], 'properties': {'replace': {'type': 'boolean', 'title': 'Replace', 'default': False}, 'documents': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}, 'title': 'Documents'}, 'collection': {'type': 'string', 'title': 'Collection'}}}
search_query
Semantic-search a collection you indexed earlier; returns top-k matches with scores. Paid (~$0.0003 in KAS).
输入模式
{'type': 'object', 'title': 'search_queryArguments', 'required': ['collection', 'q'], 'properties': {'q': {'type': 'string', 'title': 'Q'}, 'top_k': {'type': 'integer', 'title': 'Top K', 'default': 5}, 'collection': {'type': 'string', 'title': 'Collection'}}}
session_status
Check the current payment session: deposit address, deposited / spent / remaining KAS. Free.
输入模式
{'type': 'object', 'title': 'session_statusArguments', 'properties': {}}
summarize
Summarize text or a public URL in at most max_words. Paid (~$0.001 in KAS).
输入模式
{'type': 'object', 'title': 'summarizeArguments', 'properties': {'url': {'type': 'string', 'title': 'Url', 'default': ''}, 'text': {'type': 'string', 'title': 'Text', 'default': ''}, 'max_words': {'type': 'integer', 'title': 'Max Words', 'default': 150}}}
use_session
Attach an existing k402 session key (from a previous open_session) so paid calls meter against its balance — use after reconnecting to the hosted endpoint, or to carry one funded session across clients. Returns the session's current balance. Free.
输入模式
{'type': 'object', 'title': 'use_sessionArguments', 'required': ['session'], 'properties': {'session': {'type': 'string', 'title': 'Session'}}}
已添加
attest_verify
2026年9月17日 12:42
已添加
job_result
2026年9月17日 12:42
已添加
job_status
2026年9月17日 12:42
已添加
prove_submit
2026年9月17日 12:42
已添加
prove_preflight
2026年9月17日 12:42
已添加
prove_guest_upload
2026年9月17日 12:42
已添加
covenant_broadcast
2026年9月17日 12:42
已添加
covenant_check
2026年9月17日 12:42
已添加
covenant_build
2026年9月17日 12:42
已添加
covenant_utxos
2026年9月17日 12:42
已添加
covenant_address
2026年9月17日 12:42
已添加
covenant_compile
2026年9月17日 12:42
已添加
generate
2026年9月17日 12:42
已添加
kaspa_network
2026年9月17日 12:42
已添加
kaspa_fee_estimate
2026年9月17日 12:42
已添加
kaspa_tx_status
2026年9月17日 12:42
已添加
kaspa_utxos
2026年9月17日 12:42
已添加
kaspa_balance
2026年9月17日 12:42
已添加
search_query
2026年9月17日 12:42
已添加
search_index
2026年9月17日 12:42
已添加
embed_text
2026年9月17日 12:42
已添加
read_url
2026年9月17日 12:42
已添加
classify
2026年9月17日 12:42
已添加
rewrite
2026年9月17日 12:42
已添加
extract
2026年9月17日 12:42
已添加
summarize
2026年9月17日 12:42
已添加
pay_per_call
2026年9月17日 12:42
已添加
payment_options
2026年9月17日 12:42
已添加
channel_status
2026年9月17日 12:42
已添加
channel_config
2026年9月17日 12:42

Delx Commerce — Pay-per-Result APIs for Agents

io.github.davidmosiah/delx-mcp-a2a

Provides pay-per-result APIs and agent protocol tools for continuity, multi-agent coordination, document OCR, and crypto-related …

SAP MCP Server

ai.oobeprotocol.sap.mcp/sap-mcp

Provides an MCP gateway connecting SAP-related tools with Solana, DeFi, decentralized identity, and x402 payments.

TheProtocol — Sovereign AI Agent Platform

cloud.theprotocol/registry

Manages sovereign AI agents, identities, contracts, payments, governance, exchanges, and cross-frame token transfers.

GPT55 Model Gateway

xyz.558686.gpt55/token-gateway

Acts as a remote model gateway exposing GPT chat, coding and review services, lightweight text utilities, and prepaid or x402-bas…

AgentBIT

app.agentbit/mcp

Routes pay-per-call tools over x402 on Base, covering discovery, data conversion, company research, counterparty screening, domai…

XGR MCP Gateway

io.github.xgr-network/xdala-workflow-builder

Provides an MCP gateway for XGRChain and XDaLa workflows, including blockchain explorer queries, session inspection, transaction …

NOT FOR HUMANS

io.github.notforhumansfun-rgb/not-for-humans

Provides NFT ownership and marketplace status, wallet-based agent identity and claims, public agent learning records, and multipl…

Wisely x402 Agent-Payment Infrastructure

com.wiselyenterprisesllc/x402-agent-payment-infrastructure

Provides agent payment workflows for x402 endpoints, wallet handoffs, receipts, creator catalogs, local commerce bridges, endpoin…