MCP server for GitLab and GitHub
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"git": {
"env": {
"GIT_TOKEN": "ghp_xxxxxxxxxxxxxxxxxxxx",
"GIT_PROVIDER": "github"
},
"args": [
"-y",
"@raytien/git-mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A clean, modular Git MCP server supporting both GitHub and GitLab.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
MCP Security Weekly
Get CVE alerts and security updates for MCP server for GitLab and GitHub and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A clean, modular Git MCP server supporting both GitHub and GitLab.
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"git": {
"command": "npx",
"args": ["-y", "@raytien/git-mcp-server"],
"env": {
"GIT_PROVIDER": "github",
"GIT_TOKEN": "ghp_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
{
"mcpServers": {
"git": {
"command": "npx",
"args": ["-y", "@raytien/git-mcp-server"],
"env": {
"GIT_PROVIDER": "github",
"GIT_API_URL": "https://github.your-company.com/api/v3",
"GIT_TOKEN": "ghp_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
{
"mcpServers": {
"git": {
"command": "npx",
"args": ["-y", "@raytien/git-mcp-server"],
"env": {
"GIT_PROVIDER": "gitlab",
"GIT_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
{
"mcpServers": {
"git": {
"command": "npx",
"args": ["-y", "@raytien/git-mcp-server"],
"env": {
"GIT_PROVIDER": "gitlab",
"GIT_API_URL": "https://gitlab.your-company.com/api/v4",
"GIT_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
{
"mcpServers": {
"git": {
"command": "npx",
"args": ["-y", "@raytien/git-mcp-server"],
"env": {
"GIT_PROVIDER": "github",
"GIT_TOKEN": "ghp_xxxxxxxxxxxxxxxxxxxx",
"GIT_READ_ONLY": "true"
}
}
}
}
repo, read:org, workflowghp_)api, read_api, read_repository, write_repositoryglpat-)| Tool | Description |
|---|---|
get_file_contents | Read file content from repository |
get_repository_tree | List directory structure |
push_files | Push file changes in a single commit |
create_branch | Create a new branch |
list_branches | List repository branches |
list_commits | List commit history |
search_code | Search for code in repository |
| Tool | Description |
|---|---|
get_issue | Get a single issue |
list_issues | List issues |
create_issue | Create a new issue |
update_issue | Update an issue |
| Tool | Description |
|---|---|
get_pull_request | Get a merge request |
list_pull_requests | List merge requests |
create_pull_request | Create a merge request |
get_pull_request_diffs | Get merge request changes |
merge_pull_request | Merge a merge request |
| Tool | Description |
|---|---|
get_pipeline | Get pipeline/workflow run status |
list_pipelines | List pipelines/workflow runs |
list_pipeline_jobs | List pipeline jobs/workflow jobs |
get_job_log | Get job log output |
Note: GitHub Actions work