mcpField
G
Git Executor MCP Server and client.

Git Executor MCP Server and client.

Local
github.com/fjmpaezVersion Control0Updated 77w ago

About Git Executor MCP Server and client.

A small example MCP server and client for interacting with a Git repository, built with the Python SDK. It provides two Git tools, one prompt, and one resource, and is presented as a tutorial reference.

Key features

  1. 01Interact with a Git repository
  2. 02Two Git tools
  3. 03One prompt and one resource
  4. 04Built with the Python SDK

Use cases

  1. 01Explore a Git repository through MCP
  2. 02Use as a tutorial reference for a Python MCP server

MCP support

The MCP server exposes two Git tools, one prompt, and one resource. The repository also includes a client.

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

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

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.