Basic information
About Github MCP Server
1. you can run with `mvn spring-boot:run` 2. if you want to test it ,you can `npx @modelcontextprotocol/inspector` 3. then open http://localhost:5173/ connect with http://localhost:8080/sse then list tools 4. send message  5. query message 
Github is a MCP server in the Version Control category listed in the AddMCP.net directory, published by leizhiyuan. Supported transport: stdio. Source code is hosted on github.com. Related topics: github, repository, version-control.
Setup
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
{
"servers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Github MCP Server — by leizhiyuan config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"mcp/github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Github MCP Server — by leizhiyuan tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Github?
This server is a Spring Boot MCP (Model Context Protocol) server that exposes tools for sending and querying messages via Server-Sent Events (SSE). It is intended for developers who want to test or integrate MCP tools in a Java environment.
How to use Github?
Run the server with mvn spring-boot:run. For testing, use npx @modelcontextprotocol/inspector, then open http://localhost:5173/ and connect to http://localhost:8080/sse to list and interact with the available tools.
Key features of Github
- Spring Boot based MCP server
- SSE transport on port 8080
- Tool for sending messages
- Tool for querying messages
- Testable with the MCP Inspector
Use cases of Github
- Testing MCP tool implementations locally
- Debugging message flow in a Spring Boot MCP server
- Demonstrating basic MCP client‑server communication
Frequently asked questions
1 How do I run the server?
Run mvn spring-boot:run from the project root.
2 How can I test the tools?
Use npx @modelcontextprotocol/inspector, open http://localhost:5173/, connect to http://localhost:8080/sse, and then list the tools.
3 What transport does the server use?
It uses Server-Sent Events (SSE) at the path /sse.
4 What tools are available?
The server provides tools for sending messages and querying messages.
5 Does the server require any external dependencies?
The README only mentions Maven and the MCP Inspector as execution dependencies.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In