Skip to content

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

@AmshegaR

Description

@AmshegaR

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

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions