go_mcp_server_github_api

by hightemp

312 downloads Not rated yet

About

Retrieve repository information List, read, create, update, and delete files Create branches Create pull requests Search and replace text in files Insert text at specific lines and append to files

Explore

- Retrieve repository information
- List, read, create, update, and delete files
- Create branches
- Create pull requests
- Search and replace text in files
- Insert text at specific lines and append to files

Run the server using either SSE mode (go run main.go -t sse -h 0.0.0.0 -p 8893) or stdio mode (go run main.go -t stdio). Once running, clients can connect to the SSE endpoint at http://localhost:8893/sse and invoke the provided tools.

github_repo_info

Get repository information

github_list_files

List files in repository

github_get_file

Get file content

github_create_file

Create a new file

github_update_file

Update existing file

github_delete_file

Delete file

github_create_branch

Create a new branch

github_create_pull_request

Create pull request

github_search_replace

Replace text in a file

github_insert_at_line

Insert text at a specific line in a file

github_append_to_file

Append text to the end of a file

- github_repo_info: Get repository information
- github_list_files: List files in repository
- github_get_file: Get file content
- github_create_file: Create a new file
- github_update_file: Update existing file
- github_delete_file: Delete file
- github_create_branch: Create a new branch
- github_create_pull_request: Create pull request
- github_search_replace: Replace text in a file
- github_insert_at_line: Insert text at a specific line in a file
- github_append_to_file: Append text to the end of a file

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 information
- github_list_files: List files in repository
- github_get_file: Get file content
- github_create_file: Create a new file
- github_update_file: Update existing file
- github_delete_file: Delete file
- github_create_branch: Create a new branch
- github_create_pull_request: Create pull request
- github_search_replace: Replace text in a file
- github_insert_at_line: Insert text at a specific line in a file
- github_append_to_file: Append text to the end of a file

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.