About go_mcp_server_github_api
go_mcp_server_github_api is an MCP server for working with repositories through the GitHub API. It provides repository, file, branch, and pull request operations, and supports both SSE and stdio modes.
Key features
- 01Get repository information
- 02List and read files
- 03Create, update, and delete files
- 04Create branches and pull requests
- 05Search and replace, insert, or append text
- 06SSE and stdio modes
Use cases
- 01Inspect GitHub repositories and file contents
- 02Modify repository files through tools
- 03Create a branch and open a pull request
MCP support
The MCP server exposes tools for GitHub repository information, file management, branches, and pull requests. It supports SSE and stdio connection modes.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEgo_mcp_server_github_api
MCP server for working with GitHub repository via API.
Server url: http://localhost:8893/sse
Run
SSE mode:
go run main.go -t sse -h 0.0.0.0 -p 8893
Stdio mode:
go run main.go -t stdio
Available Tools
github_repo_info: Get repository informationgithub_list_files: List files in repositorygithub_get_file: Get file contentgithub_create_file: Create a new filegithub_update_file: Update existing filegithub_delete_file: Delete filegithub_create_branch: Create a new branchgithub_create_pull_request: Create pull requestgithub_search_replace: Replace text in a filegithub_insert_at_line: Insert text at a specific line in a filegithub_append_to_file: Append text to the end of a file
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.