MCP.so
Sign In

Github MCP Server Demo

@jatinnahar15

About Github MCP Server Demo

Repository created via custom MCP Python server

Basic information

Category

Version Control

Runtime

python

Transports

stdio

Publisher

jatinnahar15

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Github MCP Server Demo?

Github MCP Server Demo is a lightweight MCP server that connects to the GitHub API, allowing you to create repositories by sending JSON commands via HTTP POST requests.

How to use Github MCP Server Demo?

Install Python 3.x, Flask, and requests. Create a GitHub Personal Access Token with repo scope, set it as the environment variable GITHUB_TOKEN, and run python mcp_github_server.py. Then send a POST request to http://localhost:5001/command with a JSON body specifying the action (e.g., create-repo) and inputs.

Key features of Github MCP Server Demo

  • Creates new GitHub repositories via API.
  • Accepts repository name, visibility, and description.
  • Runs as a local HTTP server on port 5001.
  • Uses a simple JSON command interface.
  • Requires only Flask and requests dependencies.

Use cases of Github MCP Server Demo

  • Automating repository creation for CI/CD workflows.
  • Quickly provisioning private or public repositories without manual steps.
  • Integrating with other tools that can send HTTP POST requests.

FAQ from Github MCP Server Demo

How do I install the dependencies?

Run pip install flask requests after installing Python 3.x.

Do I need a GitHub token?

Yes, you must create a GitHub Personal Access Token with repo scope and set it as the GITHUB_TOKEN environment variable.

What transport does the server use?

It listens on localhost:5001 and expects POST requests with JSON payloads to the /command endpoint.

What commands are supported?

The README shows a create-repo command that accepts repo_name, private (boolean), and description fields.

Where does the server store data?

Data is stored directly on GitHub via the API; the server does not persist any local state.

Comments

More Version Control MCP servers