Polygon MCP Server
Polygon blockchain MCP server for interacting with Polygon network
Overview
Polygon MCP Server is a Model Context Protocol (MCP) server designed for interacting with the Polygon blockchain network, providing various tools for wallet operations, contract deployment, L2 bridging, DeFi interactions, and transaction simulation.
To use the Polygon MCP Server, clone the repository, install the dependencies, set up the environment variables, and run the server using Node.js. You can then interact with the server through its API endpoints.
- Wallet tools for managing addresses and balances - Contract tools for deploying and verifying smart contracts - L2 bridge tools for transferring assets between Ethereum and Polygon - DeFi tools for swapping tokens and interacting with lending protocols - Simulation tools for previewing transaction effects - Network tools for checking gas prices and switching networks
- Managing cryptocurrency wallets and transactions on the Polygon network.
- Deploying and verifying smart contracts for decentralized applications.
- Bridging assets between Ethereum and Polygon for enhanced liquidity.
- Engaging in DeFi activities such as token swaps and lending.
- Simulating transactions to understand their impact before execution.
Add to your AI client
Use these steps to connect Polygon MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"polygon-mcp-dbillionaer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-polygon-mcp-dbillionaer"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"polygon-mcp-dbillionaer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-polygon-mcp-dbillionaer"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"polygon-mcp-dbillionaer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-polygon-mcp-dbillionaer"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"polygon-mcp-dbillionaer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-polygon-mcp-dbillionaer"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"polygon-mcp-dbillionaer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-polygon-mcp-dbillionaer"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"polygon-mcp-dbillionaer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-polygon-mcp-dbillionaer"
]
}
}
}FAQ
What is the purpose of the Polygon MCP Server?
It facilitates interactions with the Polygon blockchain, enabling wallet management, contract deployment, and DeFi operations.
Is there a cost to use the Polygon MCP Server?
The server is open-source and free to use, but transaction fees on the Polygon network may apply.
What are the prerequisites for running the server?
You need Node.js, npm or yarn, a Polygon wallet seed phrase, and RPC endpoints for the Polygon network.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2383,"uuid":"ec3e27d1-9381-4068-8853-6df111e4c8f8","name":"polygon-mcp","title":"Polygon MCP Server","description":"Polygon blockchain MCP server for interacting with Polygon network","avatar_url":"https://avatars.githubusercontent.com/u/112444405?v=4","created_at":"2025-03-13T07:05:34.669Z","updated_at":"2025-03-13T09:46:52.133Z","status":"created","author_name":"Dbillionaer","author_avatar_url":"https://avatars.githubusercontent.com/u/112444405?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/Dbillionaer/polygon-mcp","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/cce5a2a14b0faab422e0bfcdc074afb46089831a0bf5930a7d8af3f31b98f847/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667","type":null,"metadata":"{\"star\":\"2\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-04 13:41:36\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]