accueil / serveurs / Dev & Code / io.github.Kali123411/k402
io.github.Kali123411/k402
serveur MCP (Model Context Protocol) · k402 1.28.1
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.Kali123411/k402 est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.Kali123411/k402 » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 36 outils
- attest_verify≈ 109 tokens
Verify a RISC Zero receipt against an image_id -> {valid, journal_b64}. Anyone can check an attestation without trusting the prover. Paid (~$0.0002).
Paramètres, retour & exemple (2)
Paramètresimage_id· string · requisreceipt_b64· string · requis
Exemple d'appel{"name": "attest_verify", "arguments": {"image_id": "texte", "receipt_b64": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - catalog≈ 75 tokens
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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "catalog", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - channel_config≈ 198 tokens
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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "channel_config", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - channel_status≈ 97 tokens
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.
Paramètres, retour & exemple (1)
Paramètreschannel_id· string · requis
Exemple d'appel{"name": "channel_status", "arguments": {"channel_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - classify≈ 120 tokens
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).
Paramètres, retour & exemple (3)
Paramètrestext· string · requismulti· boolean · optionnellabels· array · requis
Exemple d'appel{"name": "classify", "arguments": {"text": "texte", "labels": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - covenant_address≈ 100 tokens
Derive the covenant P2SH address for a compiled script on 'mainnet' or 'testnet-10'. Paid (~$0.0003).
Paramètres, retour & exemple (2)
Paramètresnetwork· string · optionnelscript_hex· string · requis
Exemple d'appel{"name": "covenant_address", "arguments": {"script_hex": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - covenant_broadcast≈ 119 tokens
Broadcast a signed covenant tx (RpcTransaction JSON from covenant_build). MAINNET moves real KAS — run covenant_check first. Paid (~$0.0003).
Paramètres, retour & exemple (2)
Paramètresnetwork· string · optionneltransaction· object · requis
Exemple d'appel{"name": "covenant_broadcast", "arguments": {"transaction": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - covenant_build≈ 248 tokens
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).
Paramètres, retour & exemple (5)
Paramètresinputs· array · requisnetwork· string · optionneloutputs· array · requislock_time· integer · optionnelpayload_hex· string · optionnel
Exemple d'appel{"name": "covenant_build", "arguments": {"inputs": [], "outputs": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - covenant_check≈ 152 tokens
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).
Paramètres, retour & exemple (2)
Paramètresentries· array · requistransaction· object · requis
Exemple d'appel{"name": "covenant_check", "arguments": {"entries": [], "transaction": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - covenant_compile≈ 141 tokens
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.
Paramètres, retour & exemple (2)
Paramètressource· string · requisconstructor_args· array · optionnel
Exemple d'appel{"name": "covenant_compile", "arguments": {"source": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - covenant_utxos≈ 125 tokens
Live UTXO set locked under a covenant address (covenant state inspection), from the node. Optionally filter by covenant_id. Paid (~$0.0003).
Paramètres, retour & exemple (3)
Paramètresaddress· string · requisnetwork· string · optionnelcovenant_id· string · optionnel
Exemple d'appel{"name": "covenant_utxos", "arguments": {"address": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - embed_text≈ 76 tokens
Embed up to 64 texts (768-dim vectors, nomic-embed-text). Paid (~$0.0003 in KAS).
Paramètres, retour & exemple (1)
Paramètrestexts· array · requis
Exemple d'appel{"name": "embed_text", "arguments": {"texts": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - extract≈ 126 tokens
Extract structured data from text as JSON guaranteed to match your JSON schema (schema-constrained decoding, not best-effort). Paid (~$0.0015 in KAS).
Paramètres, retour & exemple (3)
Paramètrestext· string · requisschema· object · requisinstruction· string · optionnel
Exemple d'appel{"name": "extract", "arguments": {"text": "texte", "schema": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - generate≈ 177 tokens
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.
Paramètres, retour & exemple (4)
Paramètrestier· string · optionnelprompt· string · requissystem· string · optionnelmax_tokens· integer · optionnel
Exemple d'appel{"name": "generate", "arguments": {"prompt": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - job_result≈ 83 tokens
Fetch a finished proving job's result {image_id, total_cycles, journal_b64, receipt_b64}. 404 until done; results kept 24h. Free.
Paramètres, retour & exemple (1)
Paramètresjob_id· string · requis
Exemple d'appel{"name": "job_result", "arguments": {"job_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - job_status≈ 68 tokens
Poll a proving job: queued/running/done/failed, queue position, cost. Free.
Paramètres, retour & exemple (1)
Paramètresjob_id· string · requis
Exemple d'appel{"name": "job_status", "arguments": {"job_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - kaspa_balance≈ 80 tokens
Balance of any Kaspa MAINNET address, straight from a node (no indexer, no API key). Paid (~$0.00015 in KAS).
Paramètres, retour & exemple (1)
Paramètresaddress· string · requis
Exemple d'appel{"name": "kaspa_balance", "arguments": {"address": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - kaspa_fee_estimate≈ 56 tokens
Current Kaspa mainnet feerate buckets (sompi per gram of tx mass). Paid (~$0.00015).
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "kaspa_fee_estimate", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - kaspa_network≈ 59 tokens
Kaspa mainnet status: DAA score, block count, difficulty, node sync state. Paid (~$0.00015 in KAS).
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "kaspa_network", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - kaspa_tx_status≈ 94 tokens
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).
Paramètres, retour & exemple (1)
Paramètrestxid· string · requis
Exemple d'appel{"name": "kaspa_tx_status", "arguments": {"txid": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - kaspa_utxos≈ 80 tokens
UTXO set of a Kaspa mainnet address, including scriptPublicKey and covenant_id where set. Paid (~$0.0003 in KAS).
Paramètres, retour & exemple (1)
Paramètresaddress· string · requis
Exemple d'appel{"name": "kaspa_utxos", "arguments": {"address": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - open_session≈ 120 tokens
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.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "open_session", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - pay_per_call≈ 242 tokens
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.)
Paramètres, retour & exemple (5)
Paramètrestxid· string · requisscheme· string · requisendpoint· string · requispayment_id· string · requisrequest_body· object · requis
Exemple d'appel{"name": "pay_per_call", "arguments": {"txid": "texte", "scheme": "texte", "endpoint": "texte", "payment_id": "texte", "request_body": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - payment_options≈ 165 tokens
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).
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "payment_options", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - prove_guest_upload≈ 104 tokens
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).
Paramètres, retour & exemple (1)
Paramètresprogram_b64· string · requis
Exemple d'appel{"name": "prove_guest_upload", "arguments": {"program_b64": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - prove_preflight≈ 127 tokens
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).
Paramètres, retour & exemple (2)
Paramètresimage_id· string · requisinput_b64· string · optionnel
Exemple d'appel{"name": "prove_preflight", "arguments": {"image_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - prove_submit≈ 172 tokens
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).
Paramètres, retour & exemple (4)
Paramètresmax_kas· number · optionnelimage_id· string · requisquote_id· string · optionnelinput_b64· string · optionnel
Exemple d'appel{"name": "prove_submit", "arguments": {"image_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - read_url≈ 107 tokens
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).
Paramètres, retour & exemple (2)
Paramètresurl· string · requisdistill· boolean · optionnel
Exemple d'appel{"name": "read_url", "arguments": {"url": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - registry_provider≈ 109 tokens
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.
Paramètres, retour & exemple (1)
Paramètrespayee_pubkey· string · requis
Exemple d'appel{"name": "registry_provider", "arguments": {"payee_pubkey": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - registry_search≈ 230 tokens
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.
Paramètres, retour & exemple (4)
Paramètreslimit· integer · optionnelcapability· string · optionnelmax_price_usd· number · optionnelmin_reputation_kas· number · optionnel
Exemple d'appel{"name": "registry_search", "arguments": {"limit": 1, "capability": "texte", "max_price_usd": 1, "min_reputation_kas": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - rewrite≈ 85 tokens
Rewrite text per an instruction (tone, format, length...). Paid (~$0.001 in KAS).
Paramètres, retour & exemple (2)
Paramètrestext· string · requisinstruction· string · requis
Exemple d'appel{"name": "rewrite", "arguments": {"text": "texte", "instruction": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - search_index≈ 146 tokens
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).
Paramètres, retour & exemple (3)
Paramètresreplace· boolean · optionneldocuments· array · requiscollection· string · requis
Exemple d'appel{"name": "search_index", "arguments": {"documents": [], "collection": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - search_query≈ 108 tokens
Semantic-search a collection you indexed earlier; returns top-k matches with scores. Paid (~$0.0003 in KAS).
Paramètres, retour & exemple (3)
Paramètresq· string · requistop_k· integer · optionnelcollection· string · requis
Exemple d'appel{"name": "search_query", "arguments": {"q": "texte", "collection": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - session_status≈ 58 tokens
Check the current payment session: deposit address, deposited / spent / remaining KAS. Free.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "session_status", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - summarize≈ 97 tokens
Summarize text or a public URL in at most max_words. Paid (~$0.001 in KAS).
Paramètres, retour & exemple (3)
Paramètresurl· string · optionneltext· string · optionnelmax_words· integer · optionnel
Exemple d'appel{"name": "summarize", "arguments": {"url": "texte", "text": "texte", "max_words": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - use_session≈ 115 tokens
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.
Paramètres, retour & exemple (1)
Paramètressession· string · requis
Exemple d'appel{"name": "use_session", "arguments": {"session": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».