MCP-023: Duplicate MCP Server Names - MCP
Summary
- Rule ID:
MCP-023 - Severity:
HIGH - Category:
MCP - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://www.rfc-editor.org/rfc/rfc8259#section-4
- https://code.visualstudio.com/docs/agents/reference/mcp-configuration
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{
"mcpServers": {
"dup": {"type": "stdio", "command": "node"},
"dup": {"type": "stdio", "command": "python"}
}
}
Valid
{
"mcpServers": {
"local": {"type": "stdio", "command": "node"},
"remote": {"type": "http", "url": "https://api.example.com/mcp"}
}
}