Scaffold a Monad Agent Kit MCP server project
npm install create-monad-agentScaffold a ready-to-run Monad Agent Kit MCP server for Claude Desktop.
``bash`
bun create monad-agent my-agent
This creates a new directory with a fully configured MCP server project:
``
my-agent/
├── index.ts # MCP server entry point
├── package.json
├── tsconfig.json
├── .env.example
├── .gitignore
└── README.md
`bash`
cd my-agent
bun install
cp .env.example .env # Add your PRIVATE_KEY
Then add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
`json``
{
"mcpServers": {
"my-agent": {
"command": "bun",
"args": ["run", "/absolute/path/to/my-agent/index.ts"],
"env": {
"PRIVATE_KEY": "0x..."
}
}
}
}
Restart Claude Desktop and your agent's tools will be available.
The scaffolded project comes pre-configured with:
- @monad-agent-kit/core — Agent and plugin system
- @monad-agent-kit/plugin-token — Token transfers and balances
- @monad-agent-kit/plugin-defi — DEX swaps and DeFi operations
- @modelcontextprotocol/sdk — MCP server framework
- Bun runtime
- Claude Desktop for MCP integration
MIT