Back to Home

MCP-Server

Verified Safe

by archis17

Overview

Provides Git and GitHub workflow tools via an HTTP API for AI assistants to interact with local repositories and GitHub.

Installation

Run Command
uvicorn server:app --host 127.0.0.1 --port 3333

Environment Variables

  • GIT_MCP_REPO
  • GITHUB_TOKEN
  • MCP_HOST
  • MCP_PORT

Security Notes

The server uses `subprocess.run` with lists of arguments, which generally prevents shell injection. File paths for Git operations are validated to prevent path traversal outside the repository root. GitHub API interactions require an explicit `GITHUB_TOKEN` from environment variables, avoiding hardcoded secrets. The server itself does not implement authentication, relying on the security of the host environment and the AI assistant's configuration. Binding to `0.0.0.0` (if configured) allows network access, requiring external firewalling for production.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-26

Tags

GitGitHubAI AssistantWorkflowDev Tools