Skip to content

Error executing MCP tool: Not connected #1082

Description

@Wenjing-Wei

GitHub MCP Server Connection Issue

Problem Description

Unable to establish connection with GitHub MCP server despite:

  • Valid GitHub token
  • Server process running
  • Multiple troubleshooting attempts

Error Messages

Error executing MCP tool: {"name":"Error","message":"Not connected"}

Configuration

{
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-github"],
  "env": {
    "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_...redacted..."
  },
  "disabled": false,
  "autoApprove": ["*"]
}

Troubleshooting Steps Taken

  1. Verified GitHub token works via direct API call
  2. Tried running server with --verbose flag
  3. Checked for running node processes
  4. Modified auto-approve settings
  5. Attempted multiple MCP tool calls

System Information

  • OS: Windows 10
  • Node: v20.11.1
  • Shell: PowerShell 7

Suggested Next Steps

  1. Check server's MCP protocol implementation
  2. Verify stdio transport compatibility
  3. Review connection handshake process

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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