区块链 - MCP 是一个简单的 MCP 服务器,借助 thirdweb 为您喜爱的大语言模型(LLM)赋予区块链能力。它提供了一系列实用工具,能帮助您轻松进行代币相关操作。
bun install
.env 文件:
.env 文件,将 thirdweb 秘密密钥粘贴其中:TW_SECRET_KEY=
- 在 `index.ts` 中,把 `` 替换为您的项目路径:
dotenv.config({
path: "//blockchain-mcp/.env" ,
});
claude_desktop_config.json 中:{
"mcpServers": {
"blockchain": {
"command": "bun",
"args": ["//blockchain-mcp/index.ts" ]
}
}
}