mcpField
G
Github MCP Server Demo

Github MCP Server Demo

Local
github.com/jatinnahar15Version Control0Updated 79w ago

About Github MCP Server Demo

A Python MCP server demo that creates GitHub repositories through a local HTTP endpoint. It is intended for users who want to trigger repository creation with a POST request.

Key features

  1. 01Create a GitHub repository
  2. 02Set repository privacy
  3. 03Add a repository description
  4. 04Accept POST requests at /command

Use cases

  1. 01Create a repository from a local script
  2. 02Create a private repository with a description

MCP support

The server accepts commands through a local HTTP endpoint; the README does not describe MCP client transport or exposed MCP tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README
  1. Install Python 3.x

  2. Install Flask and requests: pip install flask requests

  3. Create a GitHub Personal Access Token with repo scope

  4. Create mcp server file. [mcp_github_server.py]

  5. Set your GitHub token securely (in terminal): set GITHUB_TOKEN=ghp_YourTokenHere # on Windows

  6. Run it: python mcp_github_server.py

    image

  7. How to Send Post Request to Mcp Server,

    Send a POST request to http://localhost:5001/command with JSON like:

    BODY: { "name": "create-repo", "input": { "repo_name": "mcp-python-test", "private": true, "description": "Repository created via custom MCP Python server" } }

    image

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.