revert.wtf MCP Server Skill
Maintain or use the read-only revert.wtf MCP server that exposes bounded catalog search, parser, selector lookup, AA explanations, x402 entries, and Blocksco...
Latest: v1.0.0
Initial release of revertwtf-mcp-server skill.
- Exposes a read-only MCP server for bounded catalog search, parser, selector lookup, AA explanations, x402 entries, and Blockscout registry tools.
- Provides tools such as explain_error, decode_revert_data, search_catalog, get_error, and more for agent integration.
- Enforces JSON outputs and paginated/bounded search for efficient and compatible data access.
- Focuses on easy and precise retrieval of error and catalog information for agents encountering EVM/AA/revert issues.
- Includes clear operating and testing guidelines to ensure reliability and clean test runs.
Full description
Maintain or use the read-only revert.wtf MCP server that exposes bounded catalog search, parser, selector lookup, AA explanations, x402 entries, and Blockscout registry tools to agents.
revert.wtf MCP Server Skill
Use this skill when changing packages/mcp, testing MCP behavior, documenting agent integration, or helping an agent consume revert.wtf data through MCP.
Product Intent
- The MCP server is open source and free.
- It is for agents that encounter an EVM/RPC/provider/wallet/AA/x402 error and need catalog-backed help instead of broad internet searching.
- It is read-only. Do not add signing, sending transactions, payment gating, chain calls, browser scraping, or provider fetches to MCP behavior.
- It must never require clients to download the full catalog for simple lookup/search. Search tools return bounded summaries; full entries are fetched by id.
Current Tools
explain_errordecode_revert_datasearch_catalogget_errorcatalog_statslist_sourceslookup_selectorexplain_aa_errorget_blockscout_chainsearch_blockscout_chains
Current Resources
revertwtf://catalog/statsrevertwtf://catalog/sourcesrevertwtf://catalog/errors/{id}revertwtf://catalog/sources/{source}revertwtf://blockscout/chains/{chainId}
Implementation Rules
- Reuse precise package subpaths when possible:
@revertwtf/parser/explain,@revertwtf/parser/decode,@revertwtf/aa/explain, and selector/catalog APIs. - Keep tool outputs JSON text for broad client compatibility.
- Keep resource payloads JSON with
application/json. - Keep input schemas explicit and small. Add
limit/offsetto list/search tools and cap maximum result counts. search_catalogmust return summary rows plus resource URIs, not full entries. Agents should callget_erroronly for a selected id.list_sourcesandsearch_blockscout_chainsshould stay paginated.- Preserve clear errors for unknown ids, invalid selectors, or missing resource params.
- Update
packages/mcp/README.mdanddocs/mcp-server.mdwhen the tool/resource surface changes.
Tests And Checks
Prefer in-memory MCP tests, not child-process stdio tests, because Windows local runs can hit spawn EPERM.
pnpm --filter @revertwtf/mcp test
pnpm --filter @revertwtf/mcp build
node node_modules/typescript/bin/tsc -p packages/mcp/tsconfig.json --noEmit
If testing stdio startup manually:
pnpm --filter @revertwtf/mcp build
pnpm --filter @revertwtf/mcp start
Do not leave a long-running MCP server process behind after smoke testing.
