Skip to content

[Claude] Can only use github mcp server with Haiku model #1991

@rafa-moraes-fortis

Description

@rafa-moraes-fortis

Describe the bug

Claude is unable to run the MCP server request if using any other model than Haiku
It always returns this error
⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.21.custom.defer_loading: Extra inputs are not permitted"},"request_id":"requestid"}

{
  "mcpServers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp",
      "headers": {
        "Authorization": "Bearer ${GITHUB_PAT}"
      }
    }
  }
}

Affected version

Using API Server

Steps to reproduce the behavior

  1. Use the same .mcp.json config
  2. Set up the GITHUB PAT in your env
  3. Try to run any mcp command, something like "get my GitHub user with mcp" or mcp__github__get_me

Expected vs actual behavior

The MCP command should run without any issues

Logs

Paste any available logs. Redact if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions