Polygon MCP Server

by dablclub

3 stars
179 downloads
Not rated
GitHub

About

Integrates with the Polygon blockchain to enable cryptocurrency management, smart contract interaction, and transaction signing through a secure wallet connection using the user's seed phrase.

Details

Author
dablclub
Repository
Dablclub/polygon-mcp
GitHub stars
3
Downloads
179
Categories
Database, Other, Finance, Productivity, Design, Developer Tools, AI, Infrastructure, Frontend
Tags
#evm, #crypto, #smart-contracts

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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Polygon MCP Server
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/polygon-mcp/build/index.js
    Environment
    • SEED_PHRASE your twelve word seed phrase here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

npm start

call_contract

Call a contract function on Polygon PoS. Parameters: contractAddress (string), functionName (string), functionArgs (array), abi (string), value (optional number)

erc20_balance

Get the balance of an ERC20 token on Polygon PoS. Parameters: contractAddress (string)

erc20_transfer

Transfer an ERC20 token on Polygon PoS. Parameters: contractAddress (string), toAddress (string), amount (number)

get_gas_price

Get the current gas price on Polygon PoS.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

Linux

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

Macos

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

Windows

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

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

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

git clone https://github.com/your-username/polygon-mcp.git cd polygon-mcp

Create a.envfile in the root directory with the following variables:

SEED_PHRASE="your twelve word seed phrase here"

To use this MCP server with Claude, you need to add it to your MCP settings file:

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

Call a contract function on Polygon PoS.

- 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): The value of MATIC to send with the transaction

Get the balance of an ERC20 token on Polygon PoS.

- contractAddress: The address of the contract to get the balance of

- 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 the current gas price on Polygon PoS.

Interact with the Aptos blockchain, supporting both testnet and mainnet for AI applications.

Interact with the COTI blockchain for private token and NFT operations, including ERC20 and ERC721, with privacy features.

Access Solana blockchain data using the Helius API.

Interact with the TON blockchain using natural language.

Read/write to over 2k blockchains, enabling data querying, contract analysis/deployment, and transaction execution, powered by Thirdweb.

MCP server for Base L2 DeFi operations with 9 monetized endpoints: gas estimates, yield farming, token analysis, contract audit, wallet health, DEX quotes, price feeds, mnemonic generation. Built with FastMCP Python SDK.

Interact with BNB Chain and other EVM-compatible networks using natural language and AI assistance.

MCP server for the COTI privacy blockchain. Lets AI agents create wallets, deploy and manage private ERC-20 tokens and NFTs, run confidential smart contracts, and debug transactions using Garbled Circuits / MPC. 30+ tools, open source.

Interact with the CW-Social smart contract on Cosmos-based blockchains.

Blockchain RPC via DRPC. Exposes eth_call, eth_getBalance, gas estimation, and other JSON-RPC methods as MCP tools across 100+ blockchains

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.