Skip to main content
Version: 0.10.4

MCP-011: Invalid MCP server type - MCP

Summary

  • Rule ID: MCP-011
  • Severity: HIGH
  • Category: MCP
  • Normative Level: MUST
  • Auto-Fix: Yes (unsafe)
  • Verified On: 2026-02-07

Applicability

  • Tool: all
  • Version Range: unspecified
  • Spec Revision: 2025-03-26

Evidence Sources

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": "websocket",
"url": "ws://localhost:8080"
}
}
}

Valid

{
"mcpServers": {
"my-server": {
"type": "stdio",
"command": "node"
}
}
}