demo-github
Provides tools for listing and creating GitHub issues, commenting on issues, listing pull requests, and getting pull request diff summaries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@demo-githubList open issues in the anthropics/claude-code repo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mcpforge/demo-github
Public demo of the MCP Connector Starter Kit: connects the GitHub API (issues and pull requests) as a real MCP server, callable from Claude Desktop, Claude.ai, or any host compatible with Model Context Protocol.
This demo isn't a mock — it talks directly to https://api.github.com using your own token. It's proof that the starter kit works against a real external API, not just sample data.
Note: this repo shows real, tested source for the demo connector. The underlying
@mcpforge/starter-kitengine it's built on (auth, auditing, transport, redaction, validation) is the paid product — this repo won't build standalone without it. Want the full kit or a connector built for your own SaaS? Get in touch.
Exposed tools
Tool | Scope | What it does |
| read | Lists issues (open/closed/all) for a repo |
| write | Creates a new issue |
| write | Comments on an existing issue |
| read | Lists pull requests (open/closed/all) for a repo |
| read | Summarizes a PR: files changed, +/- lines (no full diff) |
Related MCP server: mcp-server-github
1. Generate a GitHub token
Go to GitHub → Settings → Developer settings → Personal access tokens.
Recommended: Fine-grained tokens → "Generate new token":
Repository access: select only the repo(s) you want to test the connector against (don't grant access to all your repos unless you need to).
Permissions → Repository permissions:
Issues: Read and write (needed forgithub_create_issueandgithub_comment_on_issue)Pull requests: Read-only (this demo only reads PRs, never modifies them)
Simpler but broader alternative: a classic token with the repo scope (or public_repo if you'll only use it against public repositories).
Copy the generated token — GitHub only shows it once.
2. Install
cd demo
cp .env.example .env
# edit .env and paste your token into GITHUB_TOKEN
npm installnpm install resolves @mcpforge/starter-kit as a local dependency (file:../product). Make sure product/ is built (cd ../product && npm run build) before installing here.
3. Run locally (stdio)
npm run devThis starts the MCP server over stdio (the same transport Claude Desktop uses for local servers). It needs GITHUB_TOKEN in the environment — npm run dev picks it up from .env if your shell loads it, or export it manually:
export GITHUB_TOKEN=ghp_xxxxxxxxxxxx
npm run devTo run it in HTTP mode (Streamable HTTP, for remote deployment):
npm run dev -- --transport=http --port=80804. Test it with the MCP Inspector
Before wiring up a real LLM, verify the server responds correctly with the official Inspector:
npx @modelcontextprotocol/inspector node dist/index.js(or, to test straight from TypeScript without building: npx @modelcontextprotocol/inspector npx tsx src/index.ts)
The Inspector opens a browser UI where you can list tools, inspect their schemas, and invoke them manually with test parameters (e.g. github_list_issues with owner: "anthropics", repo: "claude-code", state: "open").
5. Connect to Claude Desktop
Build first:
npm run buildThen edit your Claude Desktop config (Settings → Developer → Edit Config) and add:
{
"mcpServers": {
"github": {
"command": "node",
"args": ["/absolute/path/to/mcpforge/demo/dist/index.js"],
"env": {
"GITHUB_TOKEN": "ghp_xxxxxxxxxxxx"
}
}
}
}Restart Claude Desktop. You should see all 5 github_* tools available in the tool picker.
Design notes
Every tool normalizes GitHub's response before returning it — the API's raw JSON or an uninterpreted error never reaches the model (see
src/lib/github-client.ts).github_get_pull_request_diff_summarydeliberately does not return the line-by-line diff — only the file summary + line totals, so a large PR doesn't flood the model's context.github_list_issuesfilters out the pull requests GitHub's API mixes into the/issuesendpoint (native GitHub behavior, not a bug in this tool).Auth headers come from
ctx.authHeaders(built by the starter kit's engine from the connector'sAuthConfig) — this demo doesn't re-deriveAuthorization: Bearerby hand, it uses the kit's own abstraction, same as any connector built with it would.
Verified working
Built and tested end-to-end against the real @mcpforge/starter-kit engine and the real GitHub API: npm install && npm run build passes clean from a fresh install, and a real MCP client (list_tools / call_tool) confirms all 5 tools register with correct schemas and normalized error handling.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.Last updated17MIT
- Alicense-qualityBmaintenanceAn MCP server that enables GitHub API operations such as managing repositories, issues, and pull requests through natural language.Last updated573ISC
- Flicense-qualityBmaintenanceA GitHub MCP server that wraps the gh CLI to expose GitHub operations like issues, pull requests, branches, labels, repositories, CI actions, and Projects V2 as tools for MCP clients.Last updated
- Alicense-qualityDmaintenanceMCP server for the GitHub API, enabling file operations, repository management, search functionality, issues, pull requests, and more.Last updated211MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/attacker-code/mcpforge-demo-github'
If you have feedback or need assistance with the MCP directory API, please join our Discord server