Skip to content

Commit fe562fd

Browse files
committed
feat: Add MCPB bundle for Claude Desktop installation
Add Model Context Protocol Bundle (MCPB) support enabling single-click installation in Claude Desktop and other MCP hosts. Changes: - Add manifest.json with server configuration and user_config for all env vars - Add icon.png for display in Claude Desktop - Add .mcpbignore for build exclusions - Add pre-built github-mcp-server-0.28.1.mcpb bundle (31.4MB) Includes binaries for all 6 platform/architecture variants: - darwin-arm64, darwin-x64 - linux-arm64, linux-x64 - win32-arm64, win32-x64 User-configurable options exposed: - GitHub Personal Access Token (required) - Toolsets selection - GitHub Enterprise host - Read-only mode - Dynamic toolsets Addresses #1470 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent b79d126 commit fe562fd

File tree

4 files changed

+135
-0
lines changed

4 files changed

+135
-0
lines changed

.mcpbignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Source code - not needed for binary bundle
2+
*.go
3+
go.mod
4+
go.sum
5+
6+
# Build and development
7+
cmd/
8+
internal/
9+
pkg/
10+
script/
11+
e2e/
12+
e2e.test
13+
.vscode/
14+
.github/
15+
.golangci.yml
16+
.goreleaser.yaml
17+
Dockerfile
18+
.dockerignore
19+
20+
# Documentation (keep README for reference)
21+
docs/
22+
CONTRIBUTING.md
23+
CODE_OF_CONDUCT.md
24+
SECURITY.md
25+
SUPPORT.md
26+
third-party-licenses.*.md
27+
third-party/
28+
29+
# Git
30+
.git/
31+
.gitignore
32+
33+
# Misc
34+
server.json
35+
gemini-extension.json
36+
37+
# Keep only:
38+
# - manifest.json
39+
# - icon.png
40+
# - bin/ (with all binaries)
41+
# - README.md
42+
# - LICENSE

github-mcp-server-0.28.1.mcpb

31.4 MB
Binary file not shown.

icon.png

7.08 KB
Loading

manifest.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"manifest_version": "0.3",
3+
"name": "GitHub MCP Server",
4+
"version": "0.28.1",
5+
"description": "GitHub's official MCP Server - access repositories, issues, pull requests, actions, and more",
6+
"author": {
7+
"name": "GitHub",
8+
"url": "https://github.com/github"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/github/github-mcp-server"
13+
},
14+
"homepage": "https://github.com/github/github-mcp-server",
15+
"documentation": "https://github.com/github/github-mcp-server#readme",
16+
"support": "https://github.com/github/github-mcp-server/issues",
17+
"privacy_policies": [
18+
"https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement"
19+
],
20+
"icon": "icon.png",
21+
"server": {
22+
"type": "binary",
23+
"entry_point": "bin/darwin-x64/github-mcp-server",
24+
"mcp_config": {
25+
"command": "${__dirname}/bin/darwin-x64/github-mcp-server",
26+
"args": ["stdio"],
27+
"env": {
28+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${user_config.github_token}",
29+
"GITHUB_TOOLSETS": "${user_config.github_toolsets}",
30+
"GITHUB_HOST": "${user_config.github_host}",
31+
"GITHUB_READ_ONLY": "${user_config.github_read_only}",
32+
"GITHUB_DYNAMIC_TOOLSETS": "${user_config.github_dynamic_toolsets}"
33+
},
34+
"platform_overrides": {
35+
"win32": {
36+
"command": "${__dirname}/bin/win32-x64/github-mcp-server.exe"
37+
},
38+
"linux": {
39+
"command": "${__dirname}/bin/linux-x64/github-mcp-server"
40+
}
41+
}
42+
}
43+
},
44+
"compatibility": {
45+
"platforms": ["darwin", "win32", "linux"]
46+
},
47+
"user_config": {
48+
"github_token": {
49+
"type": "string",
50+
"title": "GitHub Personal Access Token",
51+
"description": "Create at github.com/settings/tokens with repo scope",
52+
"required": true,
53+
"sensitive": true
54+
},
55+
"github_toolsets": {
56+
"type": "string",
57+
"title": "Enabled Toolsets",
58+
"description": "Comma-separated: repos,issues,pull_requests,users,actions,code_security,etc. Leave empty for defaults",
59+
"required": false,
60+
"default": ""
61+
},
62+
"github_host": {
63+
"type": "string",
64+
"title": "GitHub Host",
65+
"description": "For GitHub Enterprise Server (e.g., github.mycompany.com). Leave empty for github.com",
66+
"required": false,
67+
"default": ""
68+
},
69+
"github_read_only": {
70+
"type": "string",
71+
"title": "Read-Only Mode",
72+
"description": "Set to '1' to restrict to read-only operations (no create/update/delete)",
73+
"required": false,
74+
"default": ""
75+
},
76+
"github_dynamic_toolsets": {
77+
"type": "string",
78+
"title": "Dynamic Toolsets",
79+
"description": "Set to '1' to enable dynamic tool discovery based on repo context",
80+
"required": false,
81+
"default": ""
82+
}
83+
},
84+
"tools": [
85+
{"name": "get_me", "description": "Get current authenticated user"},
86+
{"name": "search_repositories", "description": "Search GitHub repositories"},
87+
{"name": "get_repository", "description": "Get repository details"},
88+
{"name": "list_issues", "description": "List issues in a repository"},
89+
{"name": "create_issue", "description": "Create a new issue"},
90+
{"name": "list_pull_requests", "description": "List pull requests"},
91+
{"name": "create_pull_request", "description": "Create a pull request"}
92+
]
93+
}

0 commit comments

Comments
 (0)