Skip to main content

AGENTCFG-03: Coding Agent Auto-Trusts Repository MCP Servers

๐ŸŸก Medium ยท Coding-Agent Configuration

Detects committed settings that trust every MCP server declared in the repository on open (Claude Code enableAllProjectMcpServers: true) or pre-approve every MCP tool (mcp__* allow entries).

Detailsโ€‹

FieldValue
Rule IDAGENTCFG-03
SeverityMedium
CategoryCoding-Agent Configuration

Remediationโ€‹

List the specific MCP servers to enable (enabledMcpjsonServers) and pre-approve individual read-only tools only; let each developer approve new servers.

See Alsoโ€‹