What is An MCP server for checking and revoking ERC-20 token allowances, enhancing security and control.?
Token Revoke MCP is an MCP server that allows users to check and revoke ERC-20 token allowances, providing enhanced security and control over their token approvals. It supports fetching token approvals, revoking allowances, and checking transaction statuses across multiple EVM-compatible chains.
Documentation
Token Revoke MCP
An MCP server for checking and revoking ERC-20 token allowances, enhancing security and control.
Features
Fetch Token Approvals: Retrieve all ERC20 token approvals for a wallet on a specified chain, including token details, balances, and USD values at risk.
Revoke Allowances: Submit transactions to revoke ERC20 token allowances for specific spenders.
Check Transaction Status: Verify the success or failure of submitted transactions using transaction hashes.
Multi-Chain Support: Supports over 50 EVM-compatible chains, including mainnets (e.g., Ethereum, Polygon, BSC) and testnets (e.g., Goerli, Mumbai).
Prerequisites
Node.js: Version 18 or higher (for native fetch support).
Moralis API Key: Required for fetching token approval data.
Private Key: An Ethereum-compatible private key for signing revocation transactions.
Installation
Clone the Repository:
git clone https://github.com/kukapay/token-revoke-mcp.git
cd token-revoke-mcp
Below are examples of how you might interact with the server using natural language prompts as input. The outputs are the raw text values from the content array returned by the server, assuming a client translates the prompts into tool calls.
Example 1: Fetch Token Approvals
Input Prompt:
"Show me all the token approvals for my wallet on Polygon."