@ic402/mcp
MCP server for ic402 — exposes x402 charges and streaming sessions as tools
Versions
2.11.0latest2.10.02.9.12.9.02.8.0+ show 7 moreshow less
2.7.02.6.12.6.02.5.52.5.42.5.32.5.2Tools 16
configure Connect to an ic402-enabled ICP canister and optionally load a signing identity. MUST be
search Probe the canister\
request_session Fetch the session intent from the canister — pricing such as suggestedDeposit and
open_session Open a streaming micropayment session by escrowing a deposit — this MOVES FUNDS. Two-phase:
session_query Send a query through an already-open session. Auto-signs a micropayment voucher; each call
get_session Read the state of an active session: deposited, consumed, and remaining atomic amounts.
close_session Close an active session — SETTLES VALUE on-chain: the consumed amount is paid out and the
list_sessions List all sessions currently held by this MCP server process (sessionId, deposited,
fetch_content Retrieve content described by a ContentDelivery JSON payload previously returned by a
fetch_x402 Fetch an x402 (HTTP 402) payment-gated URL, optionally paying from the canister
register_agent Register the canister as an ERC-8004 agent on an EVM chain: fetch nonce+gas, canister signs
list_services List the paid services registered on the canister. Read-only; no funds moved. Use this
submit_request Submit a marketplace service request; MOVES FUNDS when the service is paid. Flow: the price
get_job_result Poll the canister for a job result until it completes or the attempt limit is reached.
dispute_job Dispute a job result on the canister (only meaningful for services using BuyerConfirm
call Escape hatch: invoke a READ-ONLY query method on the canister. Allowed: a curated getter
Permissions 4
network medium filesystem low shell high env_vars low Scan Findings 0
No scan findings.