Skip to main content
Glama
jtaylor98

GitHub Repo Assistant MCP Server

by jtaylor98

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 main

Related MCP server: GitHub Repository Creator

2. Deploy to Vercel

  1. Go to https://vercel.com/new and import the GitHub repo you just pushed.

  2. Leave build settings as default (no build step needed — it's a single API route).

  3. Before deploying (or right after, then redeploy), add these Environment Variables in the Vercel project settings:

    Name

    Value

    GITHUB_TOKEN

    A GitHub Personal Access Token with repo scope (fine-grained: Contents + Administration read/write)

    GITHUB_OWNER

    Your GitHub username or org name — the account repos will be created under

  4. 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-project and push a basic Express server to it."

Claude will call create_repo then push_files against your GitHub account.

Creating a GitHub token

  1. GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens

  2. 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)

  3. 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_files uses 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_OWNER configured via environment variable. If you want Claude to create repos under different owners/orgs per request, add an optional owner parameter to the tools and pass it through instead of reading from process.env.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.
    452
    1
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI models to create and manage GitHub repositories, branches, and files directly through a personal access token. This Docker-friendly server facilitates repository administration and content updates without requiring a local clone.
    10
    MIT

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

  • Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.

View all MCP Connectors

Latest Blog Posts

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