call_contractLABSCO SUMMARY
A wallet your assistant can actually use.
Four tools, one of which is a general contract call — so beyond the built-in token operations, anything on Polygon with a published ABI is reachable in the same conversation.
What it is
An onchain client for the Polygon PoS blockchain. It reads ERC-20 balances and the current gas price, transfers tokens, and calls any contract function you can give it an ABI for.
What you get
- The balance of any ERC-20 token on Polygon PoS
- An ERC-20 transfer to an address you name
- The current gas price, before you decide whether to send now
- Any contract function called by name with its arguments and ABI, and MATIC attached if the call needs value
Requirements
Node and a local build. The server holds a twelve-word seed phrase in its environment and signs with it, so the transfer and contract-call tools spend from that wallet directly.
Setup effort
One command plus credentials — npx -y polygon-mcp, then supply credentials
USE CASES
Checking what a wallet holds
Token balance by contract address, without opening a block explorer.
Sending tokens without opening a wallet app
Check the gas price, then transfer to the address, in the conversation where the decision was made.
Calling a contract you have the ABI for
Function name, arguments and ABI go in, so an unlisted contract is reachable without writing a script.
Deciding whether now is a cheap moment to transact
Read the current gas price first, and hold the transaction if it is not.
4 tools
Listed in project docs. Your client may show a different list.
erc20_balanceerc20_transferget_gas_priceBEFORE YOU INSTALL
What to know first
Tools you get
4 tools named in the project's documentation.
Requires
- npx on PATH
- SEED_PHRASE in your environment
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npx -y polygon-mcpMCP Clients
VS Code
{
"servers": {
"polygon": {
"command": "node",
"args": [
"<YOUR_PATH_TO_POLYGON_MCP>/build/index.js"
],
"env": {
"SEED_PHRASE": "<YOUR_SEED_PHRASE>"
},
"disabled": false,
"autoApprove": []
}
}
}Claude Desktop
{
"mcpServers": {
"polygon": {
"command": "node",
"args": [
"<YOUR_PATH_TO_POLYGON_MCP>/build/index.js"
],
"env": {
"SEED_PHRASE": "<YOUR_SEED_PHRASE>"
},
"disabled": false,
"autoApprove": []
}
}
}