When developers use AI tools to learn Canton, they get recommended deprecated documentation links. This Local MCP Integration solves that. It provides a curated, remotely updated knowledge base covering Canton's Dev Stack and Guide Devs using Claude 0 to 100.
New Release: Extended Info to WalletConnect Integration for Canton Guide, opening up access to institutional-grade apps and tokenized real world assets to millions of users
The server fetches its knowledge base from this repo on startup, then caches it locally. If and When we push an update here, every MCP user gets it automatically on their next restart, no manual pulls needed.
Add to your Claude Desktop config (../Claude/claude_desktop_config.json):
{
"mcpServers": {
"canton-dev": {
"command": "node",
"args": ["/path/to/Build-on-Canton-MCP/index.js"]
}
}
}Then restart Claude Desktop. You should see the Canton tools in the tools menu.
- Node.js 18+
npm installin the repo root (installs@modelcontextprotocol/sdk)
The server exposes 7 tools that Claude (or any MCP client) calls automatically based on the developers question.
Personalized quickstart based on developer background. Triggers on "how to build on Canton" and similar. Asks the developer to select their background first then generates a guide.
Backgrounds: evm · solana · move · web_dev · enterprise · new_to_blockchain
Search across all Canton docs, tools, concepts, and APIs in the Knowledge base. Returns accurate versioned links and automatically surfaces deprecation warnings.
Deprecation checker to use before recommend. any tool to a developer.
"daml-assistant" - DEPRECATED
"dpm" - CURRENT.
FAQs with code snippets that has installation, party creation, contracts, PQS, Scan API, transfers, deployment, traffic fees, multi-package projects, and more.
Detailed reference for all available canton APIs
json_ledger_api,
grpc_ledger_api,
scan_api,
validator_api,
token_standard,
admin_api
EVM concepts to Canton equivalents and covers smart contracts, wallets, gas, ERC20, Hardhat, ABI, deploy, events, and more.
Basic network details for local, devnet, testnet, mainnet and includes URLs, setup commands, and xReserve bridge info.
Edit knowledge-base.json at the repo root. This is the file that gets fetched remotely by every MCP user.
Structure:
DEPRECATED[] — Tools/commands to warn against
TOOLS{} — Current tools with install commands
DOCS{} — Versioned documentation links
CONCEPTS{} — Architecture and concept explanations
NETWORKS{} — LocalNet/DevNet/TestNet/MainNet details
COMMUNITY{} — Slack, Discord, mailing lists
VERSIONS{} — Current SDK and Splice versions
ZENITH{} — Zenith EVM info
FAQ[] — Developer questions with code-snippet answers
Users who want to contribute can submit a PR to update knowledge-base.json. The local fallback src/knowledge-base.js ships with the repo but is only used if the remote fetch and cache both fail.
PRs welcome for knowledge-base.json updates. When contributing:
- Keep links versioned (e.g.,
/build/3.4/not/build/latest/) - Add deprecation entries for any tool being replaced
- Include install commands and code snippets in FAQ answers
- Test locally:
npx @modelcontextprotocol/inspector node src/index.js