git-activity-analyzer

git-activity-analyzer

MCP server that analyzes git activity from a repository mounted at /repo, exposing an SSE interface and health check endpoint.

Category
Visit Server

README

In this task, you'll package an MCP server into a Docker image, run it in a container, and verify that it works over SSE.

Workflow at a glance

👩‍💻

  1. Set up your environment
  2. Complete the Dockerfile
  3. Build the Docker image
  4. Run the container with SSE
  5. Verify the health endpoint
  6. Submit your task

1. Set up your environment

Once you log in to your GitHub account, the repository for this task will be added automatically.

  1. Confirm that mcp-docker-practice appears in your account.
  2. Clone the repo locally and open it in your editor.
  3. Make sure Docker is installed and running.

2. Complete the Dockerfile

Open Dockerfile in the repo root and fill in the TODOs.

Your image should:

  • Use python:3.11-slim as the base image
  • Install git (required by GitPython)
  • Copy pyproject.toml and the source code into the image
  • Install the package
  • Declare a volume at /repo
  • Set the default command to start the server

3. Build the Docker image

Build the image from the project root:

docker build -t git-activity-analyzer .

4. Run the container with SSE

  1. Run the container in SSE mode and expose port 8000 (use the README command).
  2. Mount any local Git repo into the container at /repo.

Verify the server is running

Open:

http://localhost:8000/health

Confirm that the server responds with:

{"status":"ok"}

The /health endpoint is exempt from authentication so monitoring tools (and you) can check whether the server is alive without needing an API key.

6. Submit your task

Before submitting, review the submission checklist below.

✅ Submission checklist

  • [ ] Dockerfile is complete with all TODOs filled in
  • [ ] docker build -t git-activity-analyzer . succeeds
  • [ ] The container starts and exposes port 8000
  • [ ] http://localhost:8000/health returns {"status":"ok"}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured