Web3 MCP Server

Collection of utility functions used in web3.js.

Local serverstdioTypeScript

What is the Web3 MCP server?

Web3 MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Collection of utility functions used in web3.js.

What you get

Collection of utility functions used in web3.js.

Setting it up

The server ships on npm as web3, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Web3 is connected, these are the calls the assistant has available:

  • Package — Version
  • Script — Description
  • clean — Uses rimraf to remove dist/
  • build — Uses tsc to build all packages
  • lint — Uses eslint to lint all packages
  • format — Uses prettier to format the code
  • test — Uses jest to run unit tests in each package

Configuration and credentials

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the web3 mcp server does with a few real requests.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Web3's toolset — Package, Script, clean and 4 more — is a fair guide to whether it matches your workflow. It is maintained by luu-alex; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
PackageVersion
ScriptDescription
cleanUses rimraf to remove dist/
buildUses tsc to build all packages
lintUses eslint to lint all packages
formatUses prettier to format the code
testUses jest to run unit tests in each package

How to install the Web3 MCP server

{
  "mcpServers": {
    "web3-1": {
      "command": "npx",
      "args": ["-y", "web3"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Example prompts to try

  • Use Web3 to Package.
  • Use Web3 to Script.
  • Use Web3 to clean.

Frequently asked questions

It connects Web3 to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (Package, Script, clean, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Web3 directly.