DET-206 · agent · confidence Medium

New MCP Server Configs on Endpoints

Watch agent config files on developer machines for new or changed MCP server entries.

Local MCP servers are defined in a few known files. File integrity monitoring or an EDR rule on those paths, plus process events for agent hosts spawning package runners, gives an inventory of what each machine runs and alerts on additions.

The resulting inventory is useful by itself: most companies cannot say which MCP servers run on which laptops. Feed it into the approved server list and contact developers who run anything not on it. Repo-level config files deserve extra care because cloning a repo can add a server.

Data sources
EDR file and process eventsFile integrity monitoring
Platforms
macOSWindowsLinuxAI Platform

Logic

1. Watch writes to `**/.mcp.json`, `~/.cursor/mcp.json`, `~/Library/Application Support/Claude/claude_desktop_config.json`, `.vscode/mcp.json`, `~/.codeium/windsurf/mcp_config.json`.
2. Parse server commands; flag `npx -y`, `uvx`, `docker run` with packages not on the allowlist, or `@latest` versions.
3. EDR: parent process in (Claude, Cursor, Code, node) spawning `npx`, `uvx`, `pipx`, `docker` with an unknown package argument.

False positives

Developers trying approved servers for the first time.

Catches 3 techniques