amazon-q-developer-cli icon indicating copy to clipboard operation
amazon-q-developer-cli copied to clipboard

bug: mcpServers schema requires "command" even for HTTP-based MCP servers

Open AmshegaR opened this issue 1 year ago • 0 comments

Checks

Operating system

WSL

Expected behaviour

In the agent-v1.json schema, each entry under mcpServers requires the "command" field. This requirement does not make sense for MCP servers that use "type": "http", since HTTP servers connect via a URL instead of a local command.

https://github.com/aws/amazon-q-developer-cli/blob/main/schemas/agent-v1.json

Actual behaviour

Image

Steps to reproduce

  • Define an MCP server with "type": "http" and "url": "https://knowledge-mcp.global.api.aws".
  • Validate it against the schema.
  • Validation fails because "command" is missing.

Environment


AmshegaR avatar Nov 01 '25 20:11 AmshegaR