MCP-009: Missing command for stdio server - MCP
Summary
- Rule ID:
MCP-009 - Severity:
HIGH - Category:
MCP - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://code.claude.com/docs/en/mcp
- https://cursor.com/docs/mcp
- https://code.visualstudio.com/docs/agents/reference/mcp-configuration
- https://geminicli.com/docs/tools/mcp-server
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": {
"my-server": {
"type": "stdio",
"args": ["server.js"]
}
}
}
Valid
{
"mcpServers": {
"my-server": {
"type": "stdio",
"command": "node",
"args": ["server.js"]
}
}
}