GitHub Repo Assistant MCP Server
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., "@GitHub Repo Assistant MCP ServerCreate a repo called my-project and push a basic Express server"
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.
GitHub Repo Assistant (MCP server)
An MCP server with two tools:
create_repo — creates a GitHub repo under a fixed owner if it doesn't already exist
push_files — creates/updates one or more files in a single commit (creates the branch if needed)
Designed to run as a Vercel serverless function so Claude can call it as a remote MCP connector.
1. Push this code to GitHub
cd github-repo-assistant-mcp
git init
git add .
git commit -m "Initial commit: github repo assistant MCP server"
git branch -M main
git remote add origin https://github.com/<your-username>/github-repo-assistant-mcp.git
git push -u origin main2. Deploy to Vercel
Go to https://vercel.com/new and import the GitHub repo you just pushed.
Leave build settings as default (no build step needed — it's a single API route).
Before deploying (or right after, then redeploy), add these Environment Variables in the Vercel project settings:
Name
Value
GITHUB_TOKENA GitHub Personal Access Token with
reposcope (fine-grained: Contents + Administration read/write)GITHUB_OWNERYour GitHub username or org name — the account repos will be created under
Deploy. Your MCP endpoint will be:
https://<your-project-name>.vercel.app/api/mcp
3. Connect it to Claude
Add it as a custom connector using that URL. Once connected, you can ask Claude things like:
"Create a repo called
weekend-projectand push a basic Express server to it."
Claude will call create_repo then push_files against your GitHub account.
Creating a GitHub token
GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens
Repository access: "All repositories" (or select ones, but then new repos can't be created into arbitrary names — "All repositories" is simpler for this use case)
Permissions needed: Contents: Read and write, Administration: Read and write (Administration is required to create new repos)
Notes
This server is stateless — each tool call is an independent request to the GitHub REST/Git Data API, which fits Vercel's serverless model well.
push_filesuses the Git Data API (trees/commits/refs) so multiple files land in a single commit rather than one API call per file.All repos are created under the single
GITHUB_OWNERconfigured via environment variable. If you want Claude to create repos under different owners/orgs per request, add an optionalownerparameter to the tools and pass it through instead of reading fromprocess.env.
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.
Latest Blog Posts
- 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/jtaylor98/claude-github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server