Skip to content

Toolset parsing broken #379

Closed as duplicate of#307
Closed as duplicate of#307
@mtarnovan

Description

@mtarnovan

Describe the bug

$ docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=... -e GITHUB_TOOLSETS=repos,pull_requests ghcr.io/github/github-mcp-server
2025/05/07 09:51:19 Failed to initialize toolsets:toolset repos,pull_requests does not exist

$ docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=... -e GITHUB_TOOLSETS="repos,pull_requests" ghcr.io/github/github-mcp-server
2025/05/07 09:51:24 Failed to initialize toolsets:toolset repos,pull_requests does not exist

It works correctly when a single toolset is passed (no comma)

$ docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=... -e GITHUB_TOOLSETS=pull_requests ghcr.io/github/github-mcp-server
GitHub MCP Server running on stdio

Affected version

GitHub MCP Server
Version: v0.2.1
Commit: 9fa582d
Build Date: 2025-04-21T23:03:01Z

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