Change Analyzer MCP Server

by manavgup

284 downloads Not rated yet

About

An Agent-to-Agent (A2A) compatible server for Git repository analysis. It provides metrics, statistics, and directory structure insights, and integrates with agents via the A2A protocol.

Explore

- Analyze Git repositories for changes
- Provide metrics and statistics about repositories
- Analyze directory structures
- A2A protocol integration for agent communication

Requires Python 3.9+ and Redis for state management. Install via pip install mcp-change-analyzer or from source. Start the server with mcp-change-analyzer serve --config config/server.yaml. Send A2A requests to the server’s RPC endpoint using an A2A client.

An Agent-to-Agent (A2A) compatible server for Git repository analysis.

Features

- Analyze Git repositories for changes
- Provide metrics and statistics about repositories
- Analyze directory structures
- A2A protocol integration for agent communication

Installation

Prerequisites

- Python 3.9+
- Redis (for state management)

Using pip

pip install mcp-change-analyzer

From source

git clone https://github.com/your-org/mcp-change-analyzer.git
cd mcp-change-analyzer
pip install -e .

Usage

Starting the server

mcp-change-analyzer serve --config config/server.yaml

Using the A2A API

Send A2A requests to the server's RPC endpoint:

from a2a.client import A2AClient

async def analyze_repo():
client = A2AClient("change-analyzer", base_url="http://localhost:8081")
response = await client.request({
"method": "analyze_repository",
"params": {
"repo_path": "/path/to/repo"
}
})
print(response)

Configuration

The server is configured using YAML files. See config/server.yaml for an example.

License

MIT

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.