An MCP server that allows Claude and other MCP-compatible LLMs to interact with the GitHub API, supporting features like creating issues, getting repository information, listing issues, and searching repositories.
Hi! This is my first GitHub MCP server that allows MCP compatible LLMs like Claude to interact with my MCP server and hence with GitHub API.
npm install
.env
file looking at the sample provided in .env.example
filenpx tsc
node build/index.js
You can test your MCP server in 2 ways:
npx @modelcontextprotocol/inspector node build/index.js
in the terminal{ "mcpServers": { "gh": { "command": "node", "args": ["absolute\\path\\to\\your\\index.js\\file"], "env": { "GITHUB_TOKEN": "your-github-personal-access-token" } } } }
The MCP supports mainly two features:
create-issue
: create a new issue in a GitHub repositoryget-repo-info
: get information about a specific GitHub repositorylist-issues
: list issues in a GitHub repositorysearch-repos
: Search for GitHub repositoriescreate-issue-description
: generate a description for a GitHub issuecreate-pull-request-description
: generate a description for a GitHub pull requestsearch-repos-prompt
: generate a query for searching GitHub repositoriescreate-issue-prompt
: generate parameters for creating a GitHub issueenhance-github-response
: format and enhance raw GitHub API response dataYou can write your own prompts or select a suitable prompt from the dropdown in the "Choose an integration" option for MCP in Claude desktop
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!