mcp
v4.7.0An MCP server that gives an AI agent any Internet Computer canister's methods as tools: queries run at once, and an update is sent only after a person approves…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami Who calls, and where
The principal this server signs calls as, the network, whether this client can approve updates, and the canisters that take updates.
list_methods List a canister's methods
Lists a canister's methods with their Candid signatures, read from the canister's certified candid:service metadata, and says whether updates to it can be sent.
| Parameter | Type | Description |
|---|---|---|
canister * | string | A canister id such as ryjl3-tyaaa-aaaaa-aaaba-cai, or the name of a canister this server lists (whoami lists them) |
describe_method Describe a method
Shows one method's Candid (the method and every type it uses), its doc comment, and the JSON Schema of the args that query and call take for it.
| Parameter | Type | Description |
|---|---|---|
canister * | string | A canister id such as ryjl3-tyaaa-aaaaa-aaaba-cai, or the name of a canister this server lists (whoami lists them) |
method * | string | The method's name, as list_methods prints it |
query Run a query method
Runs a query method of any canister and returns the reply as JSON. A query changes nothing. With certified: true the reply is certified by the subnet, at the cost of a slower replicated call made as the anonymous principal, so a method that answers per caller answers for the anonymous principal. Update methods are refused here: use call.
| Parameter | Type | Description |
|---|---|---|
canister * | string | A canister id such as ryjl3-tyaaa-aaaaa-aaaba-cai, or the name of a canister this server lists (whoami lists them) |
method * | string | The method's name, as list_methods prints it |
args | object | The method's arguments, as describe_method's input schema describes them: {} for none, the fields of a lone record argument, else arg0, arg1, … |
certified | boolean | Whether the reply must be certified (a replicated call, made as the anonymous principal; not for composite queries). Default false. |