Skip to content

Claude and Github MCP Server refusal #112

@sergiobayona

Description

@sergiobayona

Describe the bug
Claude Desktop says it does not have access to Github repositories.

To Reproduce

  1. I obtained a Github token with full access
  2. Using VSCode, I updated my local claude_desktop_config.json with
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<my-access-token>"
      }
    }
  }
}
  1. closed and restarted Claude desktop.
  2. Inquire about accessing my github repositories and got multiple refusals.

Expected behavior
When I ask "Can you connect to my github account and tell me what repositories are available?"
Claude's response is: "I cannot actually connect to GitHub or access any external systems or repositories. I can help you analyze code, suggest improvements, or discuss GitHub-related topics, but I cannot directly access or view your GitHub repositories."

Logs
n/a

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions