audit_local_mcp_config
Audits local MCP server configurations across AI tools and project files to flag unsafe launches, unpinned packages, plaintext remotes, and registry risks before you trust a repository.
Instructions
Use when the user asks whether their AI tools are safe, after adding an MCP server, or before trusting a repository that ships one. Reads the MCP server lists of Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Gemini CLI, Amazon Q and Zed on this computer, plus a project folder's .mcp.json, .cursor/mcp.json, .vscode/mcp.json if given. Flags servers launched with npx/uvx/pnpm dlx and no exact version (every start runs whatever was last published), shell or inline-code launches, plaintext remote servers, scopes one letter from @modelcontextprotocol, and servers a repository asks to add. Environment variable and header values are never read, only their names. With check_registry, each npm package name (nothing else) is looked up for a single maintainer, a first publish under 14 days ago, a version from the last 3 days, a missing source repository, or a name nobody has registered.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_local_mcp_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No | Optional absolute path to a project folder whose own MCP config files should be read too. | |
| check_registry | No | Look each npm package name up on registry.npmjs.org. Off by default; sends package names only. |