My MCP Server

by rizzabh

277 downloads
Not rated
GitHub

About

A Model Context Protocol server with GitHub API integration

Details

Author
rizzabh
Downloads
277
Categories
Other

- GitHub API integration via MCP
- Search for GitHub repositories
- Get contents of a repository
- Create or update files in a repository
- Extensible – add new functions by editing src/index.ts

Clone the repository, copy .env.example to .env and fill in your GitHub token, then install dependencies with npm install, build with npm run build, and start the server with npm start. For development, use npm run dev for auto-reloading.

My MCP Server

A Model Context Protocol server implementation with GitHub API integration.

Setup

1. Clone this repository
2. Copy .env.example to .env and fill in your GitHub token
3. Install dependencies: npm install
4. Build the project: npm run build
5. Start the server: npm start

Development

For development with auto-reloading:

npm run dev

Available Functions

This MCP server exposes the following GitHub operations:

- 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 githubFunctions object in src/index.ts.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.