{ Prompts4All }

Audit MCP servers and decide which to keep

Agent Audit

Audit the MCP servers and plugins that are connected to this agent, for this project and for my user account. Recommend which ones to keep.

  1. Inventory. For each server give:

    • its name, and where it is configured (project, user, or plugin);
    • how it starts: a local command or a remote address;
    • its version, and whether the version is pinned;
    • the number of its tools, and the size of their definitions in tokens (estimate from the text if the harness does not report it).
  2. Use. From the session history, count the calls to each tool in the last 30 days. If there is no history, say so and ask me.

  3. Need. For each server answer these questions:

    • Is there a command-line tool or an API that the agent can use for the same work? A command-line tool uses no context until the agent runs it.
    • Do two servers do the same job?
  4. Risk. For each server give:

    • the data that it can read, and what it can change;
    • the credentials that it holds, and where they are stored (in a config file as plain text? in a committed file?);
    • whether its results contain text that other people wrote, which is untrusted input;
    • whether it is downloaded at each start with no pinned version;
    • who publishes it.
  5. Scope. Does a server load in all projects when only one project needs it? Can its tools load only on demand?

Rules:

  • Do not print the value of a credential.
  • Do not disable or remove a server. That is my decision.
  • If you cannot see the tool definitions or the configuration, say so. Do not guess.

Output: a table with one row for each server and these columns: tools, tokens, calls in 30 days, risk (low, medium, high), verdict (keep, limit to one project, replace with a command-line tool, pin the version, remove), reason. Then give the total context cost now and after the changes.