mcp-server-web3 logo

mcp-server-web3

by tdergouzi

The mcp-server-web3 is a web3 function plugin server based on MCP of Anthropic. It allows you to integrate web3 functionalities into your Claude AI client.

View on GitHub

Last updated: N/A

What is mcp-server-web3?

This server is a plugin for the Anthropic's Claude AI client that enables it to interact with web3 technologies. It leverages the MCP (Message Communication Protocol) to extend Claude's capabilities with web3 function calls.

How to use mcp-server-web3?

  1. Install the required libraries using yarn. 2. Build the code into index.js using yarn build. 3. Update the MCP server configuration in the Claude client's claude_desktop_config.json file to point to the built index.js file. Ensure to set the CMC_API_KEY environment variable.

Key features of mcp-server-web3

  • Web3 Function Integration

  • MCP Compatibility

  • Extensible Functionality

  • Easy Configuration

Use cases of mcp-server-web3

  • Retrieving blockchain data within Claude

  • Executing smart contract functions through Claude

  • Integrating decentralized applications with Claude

  • Accessing cryptocurrency market data in Claude

FAQ from mcp-server-web3

What is MCP?

MCP stands for Message Communication Protocol. It's used by Anthropic's Claude to communicate with external function plugins.

Do I need an API key?

Yes, you need a CoinMarketCap (CMC) API key to access cryptocurrency market data. Set it in the CMC_API_KEY environment variable.

Where do I find the claude_desktop_config.json file?

On MacOS, it's typically located in ~/Library/Application Support/Claude/claude_desktop_config.json.

What programming language is this server written in?

While not explicitly stated, the use of yarn build suggests it's likely written in JavaScript or TypeScript.

Can I extend this server with my own web3 functions?

Potentially, yes. The server is designed as a plugin, so you should be able to add custom functions by modifying the code and rebuilding.