token-revoke-mcp

token-revoke-mcp

An MCP server for checking and revoking ERC-20 token allowances across multiple blockchains.

2
Stars
6
Forks
0
Releases

Overview

Token Revoke MCP is an MCP server designed to help users manage ERC-20 token allowances across more than 50 EVM-compatible chains. It can fetch all token approvals for a given wallet on a chosen chain, returning token details, balances, and USD values at risk to help assess security exposure. It also enables revoking allowances by submitting transactions that revoke allowances granted to specific spenders, with a provided private key used to sign transactions. The server can verify the status of submitted transactions by their hashes, allowing users to confirm whether revocations succeeded or failed. It supports a broad set of chains including mainnets like Ethereum, Polygon, and BSC, as well as testnets such as Goerli and Mumbai. Prerequisites include Node.js v18+ for native fetch support, a Moralis API key to fetch approvals, and a private key for signing revocation transactions. Installation steps include cloning the repository, installing dependencies, and configuring the client with MORALIS_API_KEY and PRIVATE_KEY. This MCP server is intended for developers integrating the service into applications, security teams auditing wallet approvals, and end users who want visibility and control over their ERC-20 allowances.

Details

Owner
kukapay
Language
JavaScript
License
MIT License
Updated
2025-12-07

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).

Audience

DevelopersIntegrate the MCP server into applications to fetch and revoke ERC-20 token allowances across supported chains.
Security teamsAudit and revoke risky token allowances to reduce exposure across wallets and DApps.
Wallet ownersView all token approvals for their wallets and revoke unnecessary allowances via prompts or API calls.

Tags

ERC-20token-approvalsallowance-revocationtransactionsmulti-chainMCPMoralisEVMGoerliMumbaiEthereumPolygonBSC