使用说明
mcp-server-web3
基于Anthropic MCP的web3功能插件服务器。
安装libs
yarn
将代码构建到index.js中
yarn build
根据客户端更新MCP服务器配置
# MacOS and Claude client
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"web3": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-server-web3/build/index.js"],
"env":{
"CMC_API_KEY": "your cmc api key"
}
}
}
}