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
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
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 | | |
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.
Install dependencies:
npm install
Build the project:
npm run build
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.
To run the server locally:
GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here node dist/index.js
This repository includes the necessary configuration files for deploying with Smithery:
Dockerfile
: Defines how to build the Docker image for the MCP serversmithery.yaml
: Configures how Smithery should start the MCP serverRefer to the Smithery documentation
for deployment instructions.
npm run build
npm run lint
MIT
A Model Context Protocol (MCP) server for interacting with GitHub
No releases published
No packages published
You can’t perform that action at this time.