mcp-server

mcp-server

1

This project is a Model Context Protocol (MCP) server implemented with FastAPI to facilitate AI interaction with GitHub. Key features include GitHub user and repository management, issue handling, and secure communication using OAuth tokens. Future plans involve supporting pull request management and real-time notifications.

Overview

This project implements a Model Context Protocol (MCP) server using FastAPI to enable AI interactions with GitHub. It provides API endpoints to fetch user details, manage repositories, create issues, and automate GitHub workflows.

Features

  • 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

API Endpoints

  • GET /: Health check for MCP server
  • GET /github/user: Fetch GitHub user details
  • GET /github/repos: Get all repositories of the authenticated user
  • POST /github/create-issue: Create an issue in a repository
  • GET /github/list-issues: List all issues in a repository
  • PUT /github/star-repo: Star a repository
  • POST /github/summarize-issues: AI-powered issue summarization (Optional)