Git Executor MCP Server and client.

by fjmpaez

271 downloads
Not rated
GitHub

About

It is a simple MCP server for interacting with a git repository, built using the Python SDK. It includes two git tools, one prompt, and one resource, and serves as a reference for a tutorial on Adictos al Trabajo.

Details

Author
fjmpaez
Downloads
271
Categories
Developer Tools

- Two git tools, one prompt, one resource
- Built with the MCP Python SDK
- Simple integration with local git repositories
- Designed as a tutorial reference example
- Supports any local git repository path

Clone the repository, install dependencies with poetry install, then run poetry run python src/git-explorer.py ./src/server/server.py absolute_path_to_git_repo with the absolute path to the target git repository.

Git Executor MCP Server and client.

Description

This is a simple example of a MCP server for interacting with a git repository. The server has been created using Python SDK: https://github.com/modelcontextprotocol/python-sdk

The repository is create as reference on https://adictosaltrabajo.com tutorial.

It includes just two git tools, one prompt and one resource.

Installation

   git clone https://github.com/fjmpaez/mcp-first.git
   cd mcp-first
   poetry install

Usage

poetry run python src/git-explorer.py  ./src/server/server.py absolute_path_to_git_repo
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.