Skip to content

Error using @ivotoby/openapi-mcp-server #2561

Open
@zhoujh001

Description

@zhoujh001

@ivotoby/openapi-mcp-server
{
"mcpServers": {
"openapi": {
"command": "npx",
"args": [
"-y",
"@ivotoby/openapi-mcp-server"
],
"env": {
"API_BASE_URL": "https://petstore3.swagger.io/api/v3",
"OPENAPI_SPEC_PATH": "https://petstore3.swagger.io/api/v3/openapi.json",
"API_HEADERS": "Authorization:Bearer token123,X-API-Key:your-api-key"
}
}
}
}

Bug description
com.azure.core.exception.HttpResponseException: Status code 400, "{
"error": {
"message": "Invalid schema for function 'findPetsByTags': In context=('properties', 'tags'), array schema missing items.",
"type": "invalid_request_error",
"param": "tools[3].function.parameters",
"code": "invalid_function_parameters"
}
}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions