Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 9 additions & 32 deletions mcp-registry/servers/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"name": "GitHub"
},
"license": "MIT",
"categories": [
"Dev Tools"
],
"categories": ["Dev Tools"],
"tags": [
"github",
"code",
Expand All @@ -24,37 +22,19 @@
"api"
],
"arguments": {
"GITHUB_API_TOKEN": {
"description": "GitHub Personal Access Token for authentication",
"GITHUB_PERSONAL_ACCESS_TOKEN": {
"description": "GitHub Personal Access Token for authentication. Not required for http installation.",
"required": true,
"example": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"GITHUB_BASE_URL": {
"description": "GitHub API base URL (for GitHub Enterprise Server)",
"required": false,
"example": "https://github.example.com/api/v3"
}
},
"installations": {
"http": {
"type": "http",
"url": "https://github.com/github/github-mcp-server/releases/latest/download/github-mcp-server",
"description": "Download and run binary from GitHub releases",
"url": "https://api.githubcopilot.com/mcp/",
"description": "Run github mcp directly with OAuth",
"recommended": true
},
"custom": {
"type": "custom",
"command": "go",
"args": [
"run",
"github.com/github/github-mcp-server@latest"
],
"env": {
"GITHUB_API_TOKEN": "${GITHUB_API_TOKEN}",
"GITHUB_BASE_URL": "${GITHUB_BASE_URL}"
},
"description": "Run directly with Go"
},
"docker": {
"type": "docker",
"command": "docker",
Expand All @@ -63,14 +43,11 @@
"-i",
"--rm",
"-e",
"GITHUB_API_TOKEN",
"-e",
"GITHUB_BASE_URL",
"ghcr.io/github/github-mcp-server:latest"
"${GITHUB_PERSONAL_ACCESS_TOKEN}",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_API_TOKEN": "${GITHUB_API_TOKEN}",
"GITHUB_BASE_URL": "${GITHUB_BASE_URL}"
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
},
"description": "Run with Docker"
}
Expand Down Expand Up @@ -893,4 +870,4 @@
],
"is_official": true,
"is_archived": false
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"requests>=2.28.0",
"pydantic>=2.5.1",
"mcp>=1.8.0",
"fastmcp>=2.0.0",
"fastmcp>=2.10.2",
"ruamel-yaml>=0.18.10",
"watchfiles>=1.0.4",
"duckdb>=1.2.2",
Expand Down
8 changes: 4 additions & 4 deletions src/mcpm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@

from mcpm.clients.client_config import ClientConfigManager
from mcpm.commands import (
add,
client,
config,
doctor,
edit,
info,
inspect,
install,
list,
migrate,
profile,
remove,
run,
search,
uninstall,
usage,
)
from mcpm.commands.share import share
Expand Down Expand Up @@ -120,8 +120,8 @@ def main(ctx, version, help_flag):
main.add_command(search.search)
main.add_command(info.info)
main.add_command(list.list, name="ls")
main.add_command(add.add, name="install")
main.add_command(remove.remove, name="uninstall")
main.add_command(install.install)
main.add_command(uninstall.uninstall)
main.add_command(edit.edit)
main.add_command(run.run)
main.add_command(inspect.inspect)
Expand Down
7 changes: 4 additions & 3 deletions src/mcpm/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"""

__all__ = [
"add",
"client",
"config",
"doctor",
"info",
"inspect",
"install",
"list",
"migrate",
"profile",
"remove",
"run",
"search",
"uninstall",
"usage",
]

Expand All @@ -27,11 +27,12 @@
doctor,
info,
inspect,
install,
list,
migrate,
profile,
run,
search,
uninstall,
usage,
)
from .target_operations import add, remove
Loading