renantrendt_mcp_github

renantrendt_mcp_github

by renantrendt

Prerequisites

Skip to content

You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert

renantrendt / mcp-github Public

A Model Context Protocol (MCP) server for interacting with GitHub

1 star
0 forks
Branches
Tags
Activity

Star

Notifications
You must be signed in to change notification settings

renantrendt/mcp-github

main

1 Branch
0 Tags


Go to file

Code

Folders and files

| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------

renantrendt
renantrendt

Fix Docker build issues for Smithery deployment

Mar 16, 2025

791f87f
 · Mar 16, 2025

History
-------

2 Commits

| | |
| src | | src | Add all project files | Mar 16, 2025 |
| .eslintrc.json | | .eslintrc.json | Add all project files | Mar 16, 2025 |
| .gitignore | | .gitignore | Add all project files | Mar 16, 2025 |
| Dockerfile | | Dockerfile | Fix Docker build issues for Smithery deployment | Mar 16, 2025 |
| README.md | | README.md | Add all project files | Mar 16, 2025 |
| package-lock.json | | package-lock.json | Add all project files | Mar 16, 2025 |
| package.json | | package.json | Fix Docker build issues for Smithery deployment | Mar 16, 2025 |
| smithery.yaml | | smithery.yaml | Add all project files | Mar 16, 2025 |
| tsconfig.json | | tsconfig.json | Add all project files | Mar 16, 2025 |
| View all files | | |

Repository files navigation

GitHub MCP Server

A Model Context Protocol (MCP) server for interacting with GitHub. This tool allows AI assistants to perform various GitHub operations including repository management, file operations, issue tracking, and more.

Features

  • Repository Operations: Create repositories, fork repositories
  • File Operations: Create, update, and read files, push multiple files in a single commit
  • Issue Management: Create, update, list, and comment on issues
  • Pull Requests: Create pull requests
  • Branch Management: Create branches
  • Search Capabilities: Search code, repositories, issues, and users
  • Commit History: List commits

Setup

Prerequisites

  • Node.js 18 or higher
  • A GitHub Personal Access Token with appropriate permissions

Installation

  1. Clone this repository
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    

Configuration

This MCP server requires a GitHub Personal Access Token to authenticate with the GitHub API. The token should be provided as an environment variable:

GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here

When deploying with Smithery, the token is configured through the githubPersonalAccessToken configuration option.

Usage

Running Locally

To run the server locally:

GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here node dist/index.js

Deploying with Smithery

This repository includes the necessary configuration files for deploying with Smithery:

  • Dockerfile: Defines how to build the Docker image for the MCP server
  • smithery.yaml: Configures how Smithery should start the MCP server

Refer to the Smithery documentation
for deployment instructions.

Development

Building

npm run build

Linting

npm run lint

License

MIT

About

A Model Context Protocol (MCP) server for interacting with GitHub

Resources

Readme

Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks

Report repository

Releases


No releases published

Packages 0


No packages published

Languages

You can’t perform that action at this time.

Features & Capabilities

Categories
mcp_server model_context_protocol

Implementation Details

Stats

0 Views
1 GitHub Stars

Repository Info

renantrendt Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300