Skip to content

kiro-mcp-valid

Kiro workspace and agent MCP entries must use documented field types

Severity error (disabled)
Autofix -
Since v0.23.0
Repo Types kiro
Category Kiro

kiro-mcp-valid

Check Kiro workspace .kiro/settings/mcp.json and agent mcpServers field types. This rule is opt-in. Shared MCP credential and prohibition checks also read these servers, independently of this rule's setting.

How to fix

Place server objects under mcpServers. Use strings for commands and URLs, string arrays for arguments and tool-name lists, string maps for environment variables and headers, and a boolean for disabled.

Partial server overrides are accepted. The rule does not require every record to supply a command or URL, select a transport, or validate OAuth negotiation, permissions or live server behavior. See the Kiro support boundaries.

Configuration

rules:
  kiro-mcp-valid:
    enabled: false  # true | false | auto
    severity: error

Run skillsaw explain kiro-mcp-valid to see this documentation and the rule's effective configuration in your terminal.