Finance · Developer Tools

Polygon MCP logo

Polygon MCP

Dbillionaer/polygon-mcp

A Model Context Protocol (MCP) server that provides seamless integration with the Polygon blockchain network. This server enables AI assistants to interact with Polygon through a standardized interface, offering comprehensive tools for wallet operations, smart contract deployment, L2 bridging, DeFi interactions, and transaction simulations.

Install

Client configuration

{
  "mcpServers": {
    "polygon": {
      "command": "node",
      "args": [
        "path/to/polygon-mcp.js"
      ],
      "env": {
        "POLYGON_MAINNET_RPC": "<POLYGON_MAINNET_RPC>",
        "POLYGON_AMOY_RPC": "<POLYGON_AMOY_RPC>",
        "ETHEREUM_RPC_URL": "<ETHEREUM_RPC_URL>",
        "POLYGONSCAN_API_KEY": "<POLYGONSCAN_API_KEY>",
        "PRIVATE_KEY": "<PRIVATE_KEY>",
        "DEFAULT_NETWORK": "<DEFAULT_NETWORK>",
        "DEFAULT_SLIPPAGE": "<DEFAULT_SLIPPAGE>",
        "DEFAULT_DEADLINE_MINUTES": "<DEFAULT_DEADLINE_MINUTES>"
      }
    }
  }
}

Environment variables

POLYGON_MAINNET_RPCPOLYGON_AMOY_RPCETHEREUM_RPC_URLPOLYGONSCAN_API_KEYPRIVATE_KEYDEFAULT_NETWORKDEFAULT_SLIPPAGEDEFAULT_DEADLINE_MINUTES
GitHub stars
2
Category
Finance, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Enhanced wallet connection validation

  • Support for multiple networks

  • Improved error handling with detailed messages

  • Secure private key management

  • ERC20 tokens

  • ERC721 NFT collections

  • ERC1155 multi-tokens

  • Staking contracts

  • Multisig wallets

  • Support for both ETH and ERC20 token bridging via PolygonBridge class.

Tools (24)

  • get-address

    Retrieve the current wallet address

  • get-testnet-pol

    Request testnet POL from a faucet (Amoy testnet only)

  • list-balances

    List token balances for the connected wallet

  • transfer-funds

    Transfer POL or ERC20 tokens to another address

  • deploy-contract

    Deploy a smart contract to Polygon

  • verify-contract

    Verify a deployed contract on Polygonscan

  • list-contract-templates

    List available contract templates

  • deposit-eth

    Deposit ETH from Ethereum to Polygon

  • withdraw-eth

    Withdraw ETH/POL from Polygon to Ethereum

  • deposit-token

    Deposit ERC20 from Ethereum to Polygon

  • withdraw-token

    Withdraw ERC20 from Polygon to Ethereum

  • check-bridge-status

    Check the status of a bridge transaction (Not yet implemented as tool)

  • swap-tokens

    Swap tokens using QuickSwap

  • get-swap-quote

    Get a price quote for a token swap

  • add-liquidity

    Add liquidity to a QuickSwap pool

  • uniswapV3SwapSingle

    Execute single-hop swaps

  • uniswapV3SwapMulti

    Execute multi-hop swaps

  • getUniswapV3QuoteSingle

    Get quotes for single-hop swaps

  • getUniswapV3QuoteMulti

    Get quotes for multi-hop swaps

  • getPolymarketInfo

    Get market information

  • placePolymarketBet

    Place bets by buying position tokens

  • getPolymarketPositions

    Get user positions for a market

  • get-gas-price

    Get current gas prices on Polygon

  • switch-network

    Switch between Polygon Mainnet and Amoy Testnet

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

Related MCP servers

More servers
Stripe Agent Toolkit logo

Stripe Agent Toolkit

stripe/agent-toolkit

677

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including.

Finance
Awesome Web3 MCP Servers logo

Awesome Web3 MCP Servers

demcp/awesome-web3-mcp-servers

405

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Finance
Financial Datasets logo

Financial Datasets

financial-datasets/mcp-server

225

This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.

Finance
lyraios logo

lyraios

GalaxyLLMCI/lyraios

216

LYRAI is a Model Context Protocol (MCP) operating system for multi-AI AGENTs designed to extend the functionality of AI applications (such as Claude Desktop and Cursor) by enabling them to interact with financial networks and blockchain public chains.

Finance
EVM Blockchain logo

EVM Blockchain

mcpdotdirect/evm-mcp-server

216

A comprehensive Model Context Protocol (MCP) server that provides blockchain services across 60+ EVM-compatible networks. This server enables AI agents to interact with Ethereum, Optimism, Arbitrum, Base, Polygon, and many other EVM chains with a unified interface through 22 tools and 10 AI-guided prompts.

Finance
longport logo

longport

longportapp/openapi

206

Longport OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories.

Finance