Mcp-server-github toolsets arg not respected

Describe the Bug

Trying to limit number of tools being loaded by cursor when loading global mcp.json file.
In Cursor setting still all 26 tools are being loaded.
“github”: {
“command”: “mcp-server-github”,
“args”: [“–toolsets”, “repos,pull_requests”],
“env”: {
“GITHUB_PERSONAL_ACCESS_TOKEN”: “GITHUB_TOKEN”
},
“_documentation”: {
“unused_toolsets”: [
“actions”,
“context”,
“issues”,
“code_security”,
“users”,
“checks”,
“deployments”,
“gists”,
“git”,
“migrations”,
“organizations”,
“packages”,
“projects”,
“rate_limit”,
“search”,
“teams”
],
“description”: “These toolsets are currently not enabled but can be added to GITHUB_TOOLSETS if needed”
}
}

Steps to Reproduce

in ~/.cursor/mcp.json
{
“mcpServers”: {
“github”: {
“command”: “mcp-server-github”,
“args”: [“–toolsets”, “repos,pull_requests”],
“env”: {
“GITHUB_PERSONAL_ACCESS_TOKEN”: “GITHUB_TOKEN”
},
“_documentation”: {
“unused_toolsets”: [
“actions”,
“context”,
“issues”,
“code_security”,
“users”,
“checks”,
“deployments”,
“gists”,
“git”,
“migrations”,
“organizations”,
“packages”,
“projects”,
“rate_limit”,
“search”,
“teams”
],
“description”: “These toolsets are currently not enabled but can be added to GITHUB_TOOLSETS if needed”
}
}
}
}

Expected Behavior

Only a subset of tools <26 should be loaded

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:35:49.230Z (4 days ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.1.0

Does this stop you from using Cursor

No - Cursor works, but with this issue