blockchain-mcp

blockchain-mcp

0

This project is an MCP server designed to enable blockchain operations through thirdweb, such as deploying and transferring tokens, using a server wallet with gas sponsorship capabilities on the base sepolia network.

blockchain-mcp

Simple MCP server that uses thirdweb to give your favorite LLM blockchain abilities.

This MCP server exposes tools for:

  • deploy tokens
  • mint tokens
  • tranfer tokens
  • read balances and supply

The server comes out of the box with a server wallet with gas sponsorship, and is set to operate on base sepolia.

How to run

  1. Install dependencies:
bun install
  1. Create .env and point to it

Create a project and copy your secret key on the thirdweb dashboard.

Then create a .env file and paste your thirdweb secret key:

TW_SECRET_KEY=<your-secret-key>

In index.ts replace the <path-to-project> with your project path:

dotenv.config({
  path: "/<path-to-project>/blockchain-mcp/.env",
});
  1. Add to mcp server to your claude_desktop_config.json
{
  "mcpServers": {
    "blockchain": {
      "command": "bun",
      "args": ["/<path-to-project>/blockchain-mcp/index.ts"]
    }
  }
}
  1. Start desktop claude

Verify that the tools are available, then run your queries to deploy, mint and transfer tokens!