mcp-server
2.5
This project is a Model Context Protocol server designed to integrate with the GitHub API. It provides various operations such as searching for repositories, accessing repository contents, and creating or updating files in a repository.
Overview
A Model Context Protocol server implementation with GitHub API integration.
Setup
- Clone this repository.
- Copy
.env.example
to.env
and fill in your GitHub token. - Install dependencies.
- Build the project.
- Start the server.
Development
- For development with auto-reloading, use the provided command.
Available Functions
- searchRepositories: Search for GitHub repositories.
- getRepoContents: Get contents of a repository.
- createOrUpdateFile: Create or update a file in a repository.
Adding New Functions
- To add new GitHub operations, extend the appropriate object in the source file.