Canton MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CANTON_PARTY | No | Default party for queries. | Alice::1220abcdef |
| CANTON_USE_MOCK | No | Use mock data (true) or connect to a real node (false). | true |
| CANTON_LEDGER_HOST | No | Canton participant node host. | localhost |
| CANTON_LEDGER_PORT | No | Canton Ledger API gRPC port. | 6865 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| canton_search_transactionsA | Search Canton ledger transactions by party, template ID, or time range. Returns transaction ID, offset, effective time, and events. |
| canton_get_transactionB | Get details of a specific Canton transaction by ID. Returns the full event tree including created and archived events. |
| canton_list_active_contractsA | List active contracts on the Canton ledger, optionally filtered by template ID and/or party. Returns contract ID, template, payload, signatories, and observers. |
| canton_get_contractA | Get a specific active contract by contract ID. Returns the full payload, signatories, observers, and metadata. |
| canton_list_partiesA | List known parties on the Canton ledger. Returns party ID, display name, and whether the party is local. |
| canton_network_statusA | Get Canton network health and status information. Returns participant ID, ledger ID, health status, counts, and latest offset. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct resource and action: searching transactions vs getting one transaction, listing contracts vs getting one contract, listing parties, and fetching network status. The boundaries are clear, and the descriptions reinforce the distinctions.
All tools use a consistent snake_case convention with the canton_ prefix. Most follow verb_noun, but canton_network_status is a noun phrase rather than a verb-led name, which is a minor deviation.
Six tools are well-scoped for a Canton ledger inspection server. Each tool earns its place by covering a distinct query or inspection need without obvious redundancy.
The server covers read-side inspection of transactions, contracts, parties, and network status. However, it lacks any mutation or lifecycle operations such as submitting commands, creating or exercising contracts, or party management, which are notable gaps for a Canton ledger server.