modelcontextprotocol / servers

Model Context Protocol Servers
https://modelcontextprotocol.io
MIT License
3.45k stars 308 forks source link

Claude and Github MCP Server refusal #112

Open sergiobayona opened 3 days ago

sergiobayona commented 3 days ago

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>"
      }
    }
    }
    }
  3. closed and restarted Claude desktop.
  4. 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

markelaugust74 commented 2 days ago

same problem

red4golf commented 2 days ago

Having the same issue. Other tools appear but not Github. The developer log does show it connecting to the server.

2024-11-30T04:06:52.677Z [info] Attempting to connect to MCP server memory... 2024-11-30T04:06:52.687Z [info] Attempting to connect to MCP server everything... 2024-11-30T04:06:52.689Z [info] Attempting to connect to MCP server brave-search... 2024-11-30T04:06:52.691Z [info] Attempting to connect to MCP server github... 2024-11-30T04:06:52.776Z [info] Connected to MCP server memory! 2024-11-30T04:06:52.783Z [info] Connected to MCP server everything! 2024-11-30T04:06:52.792Z [info] Connected to MCP server brave-search! 2024-11-30T04:06:52.804Z [info] Connected to MCP server github!