Documentation
A server can change what its tools do after you approved it, and your agent will call the new one without noticing. mcpgawk reads the MCP servers in the 21 agent clients it supports, records a baseline on the first scan, and, in the 6 agents with a hook point, refuses a call to a tool that changed since then. On your machine: scans, baselines and the call log stay local.
Quickstart
Install, first run, and turning protection on. Every step says what you should see, and what to do when you do not see it.
Watch an MCP rug pull
A public MCP server that changes its own tools every ten minutes. Point mcpgawk at it and watch the changed call get refused. Harmless by construction.
CLI reference
All 22 commands, every flag, printed from the shipped parser.
Clients
The 21 agent configs it reads, where it reads them, and the 6 that can refuse a call.
Troubleshooting
Every state it can report, every exit code, and the failures real testers hit.
Install
uv tool install --force mcpgawk && mcpgawk
No account, no key, nothing to sign up for. The first run reads your agent configs, lists what
it finds, and turns protection on in each agent that has a hook point. No uv?
curl -LsSf https://astral.sh/uv/install.sh | sh — no admin rights needed.
What it does not do
- It cannot check an agent it has no hook point in. 15 of
the 21 clients have none. They are named in
mcpgawk statusrather than quietly left out. - It cannot scan an account-hosted connector. Those run in a vendor's cloud and expose no local endpoint. They are listed as exactly that.
- It never reports a run it could not finish as clean. That case exits non-zero and says incomplete.
- It does not record tool arguments. The call log is metadata, so it cannot become the richest secret on your disk.