Polygon MCP Server

A Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Polygon PoS blockchain

Local serverstdio

What is the Polygon MCP MCP server?

Polygon mcp mcp server connects Polygon MCP to AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Polygon PoS blockchain.

What Polygon MCP does

A Model Context Protocol (MCP) server that provides onchain tools for Claude AI, allowing it to interact with the Polygon PoS blockchain.

Key capabilities

  • Call contract functions on Polygon PoS
  • Get ERC20 token balances
  • Transfer ERC20 tokens
  • Get current gas prices

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • call_contract — Parameters: - contractAddress: The address of the contract to call - functionName: The name of the function to call - functionArgs: The arguments to pass to
  • erc20_balance — Parameters: - contractAddress: The address of the contract to get the balance of
  • erc20_transfer — Parameters: - contractAddress: The address of the contract to transfer the token from - toAddress: The address of the recipient - amount: The amount of tokens
  • get_gas_price — The get_gas_price tool exposed by this server

Installing the polygon mcp mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

The server reads one environment variable: SEED_PHRASE. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Polygon MCP sits in that group, and the shape of its toolset — call_contract, erc20_balance, erc20_transfer among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by Dablclub.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the polygon mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
call_contractParameters: - contractAddress: The address of the contract to call - functionName: The name of the function to call - functionArgs: The arguments to pass to the function - abi: The ABI of the contract - value (optional):
erc20_balanceParameters: - contractAddress: The address of the contract to get the balance of
erc20_transferParameters: - contractAddress: The address of the contract to transfer the token from - toAddress: The address of the recipient - amount: The amount of tokens to transfer
get_gas_priceThe get_gas_price tool exposed by this server.

How to install the Polygon MCP MCP server

{
  "mcpServers": {
    "polygon": {
      "command": "node",
      "args": ["/path/to/polygon-mcp/build/index.js"],
      "env": {
        "SEED_PHRASE": "your twelve word seed phrase here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SEED_PHRASEConfiguration value read at startup.Optional

Example prompts to try

  • Use Polygon MCP to call contract.
  • Use Polygon MCP to erc20 balance.
  • Use Polygon MCP to erc20 transfer.

Frequently asked questions

It connects Polygon MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (call_contract, erc20_balance, erc20_transfer, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Polygon MCP directly.