{"slug": "i-counted-the-mcp-servers-on-my-laptop-43-and-9-are-in-no-config-file", "title": "I counted the MCP servers on my laptop: 43, and 9 are in no config file", "summary": "An engineer's audit of a single laptop found 43 MCP server entries reachable by 13 AI applications, of which 34 were named in a settings file and 9 were not, according to the first-person count published in the article. The 9 unlisted entries came from plugins (7), a VS Code extension that registers servers in code at runtime (1), and a desktop AI app using its own non-MCP protocol (1); 5 of the 9 had nothing that could stand in front of them and 3 held a credential in plain text. The author argues security teams should inventory what an AI coding agent can reach rather than which applications engineers use, noting the 43 entries resolve to 26 distinct server names and that one laptop is not a survey.", "body_md": "# 43 MCP servers on one laptop. 9 are in no settings file.\n\nSecurity teams ask engineers which AI tools they use. The answer they get is a list of applications. That list is the wrong unit.\n\nAn AI coding agent is not dangerous because of its name. It is dangerous because of what it can reach: the servers it connects to, the commands it may run, the sign-ins it borrows. So I stopped counting applications and counted reach, on my own laptop.\n\n## The count\n\n| What | Number | \n|---|---|\n| AI applications that can act for me | 13 | \n| MCP server entries those applications can call | 43 | \n| Entries named in a settings file | 34 | \n| Entries no settings file names | 9 | \n| Of those 9, entries with nothing that can stand in front | 5 | \n| Entries with a credential in plain text | 3 | \n\n43 counts entries, not distinct servers. There are 26 distinct names. The same server declared for two applications counts twice, because each application reaches it on its own, with its own sign-in.\n\nI build agentic systems every day, so my laptop is heavier than most. One laptop is also not a survey. But the shape of the result is what matters, and I expect it to repeat on any engineer's machine.\n\n## Four places a server can come from\n\nAn inventory script reads the first place. The other three are where the 9 came from.\n\n### 1. A settings file: 34 entries\n\nEach agent keeps its own file, in its own format.\n\n| Agent | Where it names its servers | \n|---|---|\n| Claude Code | `~/.claude.json` , per user and per project, plus`.mcp.json` in a repository | \n| Codex | `~/.codex/config.toml` , one`[mcp_servers.<name>]` table per server | \n| Cursor | `~/.cursor/mcp.json` | \n| VS Code | the user's `settings.json` or`mcp.json` | \n| Claude Desktop | `claude_desktop_config.json` in the application's support folder | \n| Junie | `~/.junie/mcp/mcp.json` | \n\nThis is the part every scanner already covers. A repository's own `.mcp.json` is worth a second look: it arrives with a `git clone`, and three of my entries are declared that way.\n\n### 2. A plugin: 7 entries\n\nA plugin is a folder, and the folder can carry a `.mcp.json` of its own:\n\n```\n{\n  \"mcpServers\": {\n    \"team-chat\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.example.com/mcp\"\n    }\n  }\n}\n```\n\nThe agent loads that server when it loads the plugin. Nothing is written to the settings file.\n\nOn my laptop the settings file of one agent names 4 servers. That agent can call 11. The other 7 came from plugins:\n\n- 3 shipped with the agent itself. I never chose them.\n- 2 came from the agent's own plugin marketplace.\n- 2 sit in that agent's plugin cache under the marketplace of a different agent.\n\nFour of the seven are local programs. Three are remote: a calendar, a team chat and a deployment platform. A remote plugin server signs in through the agent's own login, so the token lives inside the agent and the traffic goes straight from the agent to the service. There is no local process to wrap and no key of yours to take away.\n\n### 3. An editor extension: 1 entry\n\nVS Code lets an extension provide MCP servers from code. The extension declares a provider in its `package.json`:\n\n```\n\"contributes\": {\n  \"mcpServerDefinitionProviders\": [\n    { \"id\": \"example.server\", \"label\": \"Example MCP\" }\n  ]\n}\n```\n\nand at run time calls `vscode.lm.registerMcpServerDefinitionProvider` to hand the editor the server's definition. The definition is built in code each time the extension starts, so it can change between two launches without any file changing. The editor's own agent can then call it. A scan of settings files reports zero.\n\n### 4. Not MCP at all: 1 entry\n\nA desktop AI app keeps a small program running on my laptop. An agent that runs at the vendor uses it to run commands and read files here. It speaks its own protocol, so nothing that watches MCP sees it.\n\nWhat I found in that app's own settings:\n\n- Five standing rules that approve the remote agent's actions without asking me.\n- A switch, turned on, that lets the remote agent send passkey sign-in requests to my machine.\n\nNone of the nine was hidden with bad intent. Each is a product feature that works as designed. That is the point: the gap is not malware, it is ordinary software doing what it says, in a place nobody is looking.\n\n## The five\n\nOf the nine, four are local programs that a control can be placed in front of once you know they exist. Five are not:\n\n1. The three remote plugin servers, which sign in through the agent's own login.\n2. The server an extension registers inside the editor.\n3. The desktop app's program, which is not MCP.\n\nFor these five the honest position today is an inventory, the vendor's own switches, and a decision about whether the plugin, the extension or the app is allowed at all.\n\n## Credentials in the clear: 3 entries\n\nTwo shapes, both common in the examples that server authors publish:\n\n```\n\"env\": { \"EXAMPLE_API_KEY\": \"<the real key, typed here>\" }\n\"headers\": { \"Authorization\": \"Bearer <the real token, typed here>\" }\n```\n\nOn my laptop these files are readable by my user only. That does not help much. Every AI agent on the machine runs as me, and so does everything those agents run.\n\n## What this means for a security team\n\n1. **An inventory built from settings files undercounts.** On my laptop it misses 9 of 43, about one in five. The ones it misses are the ones with the least control.\n2. **A plugin is a supply chain.** Approving a plugin approves whatever servers it declares, today and after its next update. Three of mine came with the agent and asked nobody.\n3. **\"We allow only approved AI tools\" is not a policy.** The approved tool is a shell. What it connects to changes with every plugin and every update, and the engineer decides.\n4. **A remote server that uses the agent's login has no local chokepoint.** The control point is the plugin, or the account the agent signs in with.\n5. **Plain-text credentials are back.** We spent a decade taking keys out of files. Agent settings put them back.\n\n## Count it yourself\n\nThese run on macOS and Linux and need `jq`. They cover the two agents I use most. Add the other files from the table above for the rest.\n\nServers named in settings files:\n\n```\njq -r '[(.mcpServers // {} | keys[]),\n        (.projects // {} | to_entries[] | .value.mcpServers // {} | keys[])]\n       | unique | .[]' ~/.claude.json\n\ngrep -E '^\\[mcp_servers\\.[^.]+\\]#x27; ~/.codex/config.toml\n```\n\nServers declared by plugins, with the address or the program each one starts:\n\n```\nfind ~/.claude/plugins/cache ~/.codex/plugins/cache -name .mcp.json \\\n  -exec jq -r '(.mcpServers // .) | to_entries[]\n               | \"\\(.key)\\t\\(.value.url // .value.command)\"' {} + 2>/dev/null | sort -u\n```\n\nEditor extensions that register a server from code:\n\n```\nfind ~/.vscode/extensions ~/.cursor/extensions -maxdepth 2 -name package.json \\\n  -exec grep -l '\"mcpServerDefinitionProviders\"' {} + 2>/dev/null\n```\n\nSettings files that hold a key in the clear (it prints file names, never the key):\n\n```\ngrep -lE '\"(Authorization|[A-Za-z_]*(KEY|TOKEN|SECRET)[A-Za-z_]*)\"[[:space:]]*:[[:space:]]*\"[^\"$]{16,}\"' \\\n  ~/.claude.json ~/.cursor/mcp.json 2>/dev/null\n```\n\nThere is no single command for the fourth place. List the programs each AI desktop app keeps running, then open that app's settings and read its approval rules.\n\nThen ask the question that matters for each entry: if this one sent data out or ran a command, would anything stop it, and would anyone know?\n\n## What I did about mine\n\nRegulAI is the product we built for this. 38 of the 43 entries now pass through one gateway that allows, asks first or blocks each call before it runs: the 34 from settings files and the 4 local plugin servers. The other five are listed in the console with what each can reach, because a control you cannot place should at least be a fact you can see.\n\nThe numbers above come from our own scanner. The commands are there so you can check the same things by hand, with or without us.", "url": "https://wpnews.pro/news/i-counted-the-mcp-servers-on-my-laptop-43-and-9-are-in-no-config-file", "canonical_source": "https://regulai-security.com/research/43-mcp-servers-on-one-laptop", "published_at": "2026-11-22 08:13:03+00:00", "updated_at": "2026-11-22 08:41:50.711906+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-safety", "ai-tools", "developer-tools"], "entities": ["Claude Code", "Codex", "Cursor", "VS Code", "Claude Desktop", "Junie", "MCP"], "also_reported_by": [], "takeaway": "Settings-file scans miss MCP servers loaded from plugins, editor extensions and non-MCP desktop agents: on one laptop 9 of 43 reachable entries appeared in no config file, 5 had no gatekeeper and 3 stored credentials in plain text.", "recommendation": {"advice": "Inventory MCP reach per agent, not per app: check plugin folders' .mcp.json, extension-registered servers and non-MCP desktop agents, since 9 of 43 entries on the audited laptop appeared in no settings file.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/i-counted-the-mcp-servers-on-my-laptop-43-and-9-are-in-no-config-file", "markdown": "https://wpnews.pro/news/i-counted-the-mcp-servers-on-my-laptop-43-and-9-are-in-no-config-file.md", "text": "https://wpnews.pro/news/i-counted-the-mcp-servers-on-my-laptop-43-and-9-are-in-no-config-file.txt", "jsonld": "https://wpnews.pro/news/i-counted-the-mcp-servers-on-my-laptop-43-and-9-are-in-no-config-file.jsonld"}}