WDK logoWDK documentation

MCP Toolkit

Build MCP servers that give AI agents self-custodial WDK wallets

The MCP Toolkit lets AI agents interact with self-custodial WDK wallets. It creates an MCP server that exposes wallet operations (checking balances, sending transactions, swapping tokens, bridging assets, and more) as structured tools that any MCP-compatible AI client can call.

Powered by @tetherto/wdk-mcp-toolkit.

Beta - This package is in active development (v1.0.0-beta.1). APIs may change between releases.

Features

  • MCP Server Extension - Extends the official @modelcontextprotocol/sdk McpServer with WDK-specific capabilities
  • Multi-Chain - Support for 13 blockchains out of the box, including EVM chains, Bitcoin, Solana, Spark, TON, and Tron
  • 35 Built-in Tools - Ready-to-use tools for wallets, pricing, indexer queries, swaps, bridges, lending, and fiat on/off-ramps
  • Human Confirmation - All write operations use MCP elicitations to require explicit user approval before broadcasting transactions
  • Extensible - Register custom tools alongside built-in ones using standard MCP SDK patterns
  • Secure by Design - Seed phrases stay local, close() wipes keys from memory, and read/write tool separation lets you control access

Supported Chains

ChainIdentifier
Ethereumethereum
Polygonpolygon
Arbitrumarbitrum
Optimismoptimism
Basebase
Avalancheavalanche
BNB Chainbnb
Plasmaplasma
Bitcoinbitcoin
Solanasolana
Sparkspark
TONton
Trontron

You can register any blockchain name - the CHAINS constants are for convenience only. For custom chains, register tokens manually with registerToken().

Already using an AI coding assistant? See Build with AI for how to connect WDK docs as context via MCP or Markdown.


Need Help?

On this page