DEV Community

Mads Hansen
Mads Hansen

Posted on

Your MCP credential is not revoked when the dashboard says disabled

An MCP credential is not revoked when the control plane says “disabled.”

It is revoked when every path that could still accept it stops accepting it.

That includes:

  • new client connections
  • existing MCP sessions
  • gateway policy caches
  • refresh and exchanged tokens
  • queued jobs
  • background workers
  • database connection pools
  • downstream APIs

Define a revocation SLO from the authoritative change to the final protected operation.

Then run a drill:

  1. issue a uniquely tagged, narrowly scoped credential
  2. open fresh and persistent sessions
  3. queue a bounded job
  4. record the revocation timestamp
  5. retry through every supported path
  6. terminate downstream sessions as designed
  7. search for successful calls after the deadline
  8. restore access with a new credential
  9. prove the old one remains invalid

The most important timestamp is not when the dashboard acknowledged the change.

It is the last successful protected operation.

Full guide: MCP credentials: test revocation propagation before production

Top comments (0)