🚀 GitHub MCP Server - FastAPI Implementation
Overview
The MCP Server is a FastAPI implementation that serves as a Model Context Protocol server, allowing AI assistants to interact with GitHub. It provides various API endpoints for managing GitHub repositories and automating workflows.
To use the MCP Server, clone the repository, set up a virtual environment, install dependencies, configure your GitHub Personal Access Token, and run the FastAPI server.
- Fetch GitHub user details and repositories - Create and manage issues in repositories - List all issues in a repository - Star a repository - AI-powered GitHub Issue Summarization (Optional) - Secure API with GitHub OAuth Token - Asynchronous FastAPI implementation
- Automating GitHub workflows for project management.
- Integrating AI capabilities for summarizing GitHub issues.
- Managing repository issues and user details programmatically.
Add to your AI client
Use these steps to connect 🚀 GitHub MCP Server - FastAPI Implementation 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-snehaapratap": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-snehaapratap"
]
}
}
}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-snehaapratap": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-snehaapratap"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-snehaapratap": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-snehaapratap"
]
}
}
}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-snehaapratap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-snehaapratap"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-snehaapratap": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-snehaapratap"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-snehaapratap": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-snehaapratap"
]
}
}
}FAQ
Can I use this server without a GitHub account?
No, you need a GitHub account and a Personal Access Token to use the API.
Is the server free to use?
Yes, the server is free to use, but you must comply with GitHub's API usage policies.
What programming language is used?
The server is implemented in Python using the FastAPI framework.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2858,"uuid":"89504a41-1c49-4203-926f-fa914d0ab7a3","name":"mcp-server","title":"🚀 GitHub MCP Server - FastAPI Implementation","description":"","avatar_url":"https://avatars.githubusercontent.com/u/170080122?v=4","created_at":"2025-03-15T10:21:48.865Z","updated_at":"2025-03-15T11:09:22.678Z","status":"created","author_name":"snehaapratap","author_avatar_url":"https://avatars.githubusercontent.com/u/170080122?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/snehaapratap/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-15 15:04:56\"}","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"}]]}]