Overview
MCP Server is a FastAPI server that implements the Model Context Protocol for seamless interactions with GitHub, allowing users to manage repositories and issues efficiently.
To use MCP Server, clone the repository, set up a virtual environment, install the required dependencies, and start the server using Uvicorn. Ensure to create a .env file with your GitHub Personal Access Token.
- FastAPI implementation for high performance - API endpoints for retrieving repository details, listing issues, creating issues, and adding comments - Comprehensive error handling for GitHub API interactions
- Automating GitHub repository management tasks
- Integrating GitHub issue tracking into applications
- Building custom tools for GitHub interactions
Add to your AI client
Use these steps to connect GitHub MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-ds231": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ds231"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-ds231": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ds231"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-ds231": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ds231"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-ds231": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ds231"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-ds231": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ds231"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-ds231": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-ds231"
]
}
}
}FAQ
What is the Model Context Protocol?
The Model Context Protocol is a standard for managing context in API interactions, particularly for GitHub.
How do I handle errors in MCP Server?
The server implements comprehensive error handling, logging errors and returning appropriate HTTP status codes.
Is MCP Server suitable for production use?
Yes, with proper configuration and error handling, MCP Server can be used in production environments.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3120,"uuid":"023392e8-c692-4a23-b48f-789dbe854f4b","name":"MCP-server","title":"GitHub MCP Server","description":"everyday series assignment","avatar_url":"https://avatars.githubusercontent.com/u/174699643?v=4","created_at":"2025-03-18T02:57:06.818Z","updated_at":"2025-03-20T01:24:55.904Z","status":"created","author_name":"ds231","author_avatar_url":"https://avatars.githubusercontent.com/u/174699643?v=4","tags":"mcp-server,fastapi,github-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ds231/MCP-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-18 00:46:26\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]