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
访问服务器

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"}

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选