gitseed-mcp
OfficialConnects Bitbucket repositories via an access token so agent runs can clone, push branches, and open pull requests with the same secret scanning, blocked-path enforcement, and signed receipts.
Connects repositories through a 1-Click GitHub App or a personal token so sandboxed agents can clone code, push branches named gitseed//seed-, and have the broker open and update pull requests after review, each PR carrying an Ed25519-signed governance receipt.
Connects self-hosted or cloud GitLab repositories via a GitLab token, letting agents work on branches and open merge requests through the same prepare → agent → finalize broker pipeline.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GitSeed
GitSeed is a self-hosted, open-source control plane for AI coding agents. It runs Claude Code, Codex, Gemini CLI, Antigravity, and OpenCode in sandboxed containers that hold no Git credentials. A separate read-only broker scans each diff for secrets and blocked paths, then opens the PR after you approve. Every PR carries an Ed25519-signed receipt.
Apache 2.0 · zero telemetry · Docker, Kubernetes, or fully air-gapped with Ollama/vLLM
Quickstart · Why GitSeed? · How It Works · Models & Personal Mode · Security & Receipts · CLI & TUI · MCP Server · Architecture · Concepts
https://github.com/user-attachments/assets/9d0242be-21e1-4ae0-8b82-43e528eb3c2a
Quickstart
Prerequisites: Docker 24+ with Compose v2, ~4 GB RAM, and ~6 GB free disk space (first build compiles the control plane and runner image with 5 agent CLIs in ~2–3 minutes; no cloud account or external Git host required).
git clone https://github.com/gitseed-dev/gitseed.git && cd gitseed
./scripts/init.sh # or `make init` (Windows PowerShell: .\scripts\init.ps1)
docker compose up -d --build # starts Web UI (:8421), API (:8420), MCP (:8422), LiteLLM & PostgresFirst 60 Seconds in the UI
Sign in at
http://localhost:8421using theadmin@gitseed.localcredentials printed by./scripts/init.sh/make init(or setGITSEED_ADMIN_PASSWORDin.envbeforehand).Connect a Model & Repo (1-Click Wizard):
Pick an API key (Anthropic, OpenAI, Gemini, xAI), local Ollama / vLLM, or single-user Personal Mode CLI OAuth (
Claude Code,Codex,Gemini,Antigravity). This automatically provisions all 5 stage agents (@ideator,@planner,@coder,@reviewer,@merger) plus@coordinator.Connect Git via 1-Click GitHub App, GitLab/Bitbucket token, or point directly at a Local Folder on disk.
Plant Your First Seed: Create a project and submit a prompt (full 5-stage pipeline, ⚡ Fast-Track straight to code, or 2–3 parallel model opinions), or click
+ New ▾to open a live Coding Agent chat, Browser PTY terminal, or embedded VS Code Web session.
Area | Status |
Docker Compose, Web UI, 3-phase broker, receipts | Stable |
5 CLI runtimes ( | Stable (built into local runner image) |
| Adapter only (bring your own binary) |
Helm chart ( | Beta |
Pre-built registry images | Not yet published (builds locally via Compose) |
Pre-built images are not published to GHCR yet. Build and push the two images to your cluster registry first, then install the included Helm chart (see charts/gitseed/README.md):
docker build -t <your-registry>/gitseed:0.1.1 .
docker build --build-arg INCLUDE_PROPRIETARY_CLIS=false -t <your-registry>/gitseed-runner:0.1.1 ./apps/runner
docker push <your-registry>/gitseed:0.1.1 && docker push <your-registry>/gitseed-runner:0.1.1
helm upgrade --install gitseed ./charts/gitseed \
--namespace gitseed \
--create-namespace \
--set image.repository=<your-registry>/gitseed \
--set image.tag=0.1.1 \
--set runnerImage.repository=<your-registry>/gitseed-runner \
--set runnerImage.tag=0.1.1Service | Default URL / Port | Description |
Web UI |
| React 19 control plane dashboard, live run logs, diff viewer, |
VS Code Sandbox Origin |
| Dedicated cookie-less |
Control Plane API |
| FastAPI REST service ( |
MCP Server |
| Loopback-bound Streamable HTTP & SSE MCP endpoint (65 annotated tools; |
LiteLLM Gateway |
| Unified OpenAI-compatible proxy for cloud and local LLM backends with enforced per-run virtual keys |
PostgreSQL 16 |
| Primary relational store for control plane & LiteLLM |
Valkey |
| High-performance in-memory store for rate limits and pub/sub state |
Related MCP server: AI Knowledge Center MCP
Why GitSeed?
Why not just run claude, codex, or opencode on your laptop? Local CLIs are great for interactive work, but they run on your host OS with your SSH keys, cloud credentials, and Git push access, and they leave no verifiable record of what ran or who approved it. GitSeed runs those same CLIs in isolated containers where agents never see your Git credentials:
Untrusted Agent, Trusted Broker (
prepare→agent→finalize): Coding agents run with zero Git credentials behind an SSRF-hardenedegress-proxy; a separate read-onlyfinalizecontainer enforcesblocked_pathsand added-line secret scanning before pushing.Don't trust us, try to break it: The threat model and Known Residual Risks are documented up front in
SECURITY.md, and the adversarial "evil agent" red-team suite runs withuv run python -m pytest apps/core/tests/test_evil_agent_redteam.py.Ed25519-Signed PR Governance Receipts: Every Pull Request receives a cryptographically signed receipt (
gitseed.receipt.v1) attesting to the locked spec, models, spend mode, security scans, and human approvals, verifiable offline viagitseed receipt verify.Parallel 3-Model "Second Opinions": Dispatch up to 3 agents in parallel during
Ideate,Plan, orReviewto compare competing specs, task plans, or code reviews side-by-side before approving.Cloud BYOK, Local GPUs & Single-User "Personal Mode": Enforce hard per-run USD caps via LiteLLM (cloud APIs or local Ollama / vLLM / LM Studio), or sign in with your personal Claude Pro/Max, ChatGPT Plus/Pro, or Gemini subscription inside an isolated container.
Autonomous Pipelines + Live Sandbox Rescue: Drop into any workspace from the persistent
SessionDock(side-by-side browser PTY terminal + code/diff editor, or isolated VS Code Web), leave inline diff comments, or@coder-steer an active run without losing progress.5-Stage SDLC or ⚡ Fast-Track + Self-Healing CI: Lock specs across
Ideate → Plan → Execute → Review → Mergefor complex features, ⚡ Fast-Track (Execute → Review → Merge) for quick fixes, auto-remediate failing PR CI checks, or sync against a zero-remote Local Folder.
How GitSeed Compares
Capability | Agent CLIs on your laptop | Hosted cloud agents | GitSeed |
Trust boundary | Runs on host with your keys | Code leaves your network | 3-phase containers; agent holds zero keys |
Runtimes & models | Local CLI binaries on host | Locked to vendor models | 5 bundled CLIs (+ |
Workflow & review | Ad-hoc prompts & manual diffs | Single-model agent loop | 5-stage gates, ⚡ Fast-Track, 3 parallel opinions |
PR provenance | Local terminal scrollback | Opaque vendor logs | Ed25519-signed receipt on every PR |
Spend limits | Passive token counter | Vendor seat & credit tiers | Hard LiteLLM USD caps or Personal Mode timeouts |
Git & CI | Single local checkout | Cloud repos only | Multi-repo PRs, Local Folder sync, CI auto-fix |
Access | Local terminal only | Web ticket portal | Web UI, split terminal+diff dock, CLI/TUI, MCP |
How It Works: The 5-Stage SDLC
flowchart LR
I["1. Ideate<br/>@ideator"] --> P["2. Plan<br/>@planner"]
P --> E["3. Execute<br/>@coder"]
E --> R["4. Review<br/>@reviewer"]
R --> M["5. Merge<br/>@merger"]Stage | Default Agent | What the Agent & Broker Do | Human Gate & Output Contract |
1. Ideate |
| Analyzes the seed prompt and repository structure to refine scope, edge cases, and testable acceptance criteria. | Validates |
2. Plan |
| Decomposes the locked specification into ordered implementation tasks and identifies target repositories/files. | Validates |
3. Execute |
|
| Validates |
4. Review |
| Audits branch diffs against the locked spec, plan, acceptance criteria, policy rules, and test results. | Validates |
5. Merge |
| Confirms upstream gates and branch readiness, then merges the pull request into the target branch. | Final human sign-off ( |
Need to ship a straightforward bugfix? Toggle ⚡ Fast-Track to jump straight into Execute → Review → Merge while keeping clean-room finalize checks, signed Governance Receipts, and review gates intact. Read docs/concepts.md for a concise tour of Project, Seed, Run, Policy, and Agent.
Frontier Models, Personal Mode & Local Open-Weight LLMs
Every stage agent (@ideator, @planner, @coder, @reviewer, @merger, @coordinator, or custom agents) can be independently bound to a different CLI runtime and model backend, with transparent labeling of enforced vs. estimated spend controls:
Tier | Supported Providers & Engines | Agent Runtimes ( | Spend Control & Governance Mode |
Team & Enterprise Cloud APIs (BYOK / LiteLLM) | Anthropic (Claude), OpenAI, Google Gemini, xAI (Grok), LiteLLM, Custom OpenAI Gateways |
| Enforced ( |
Personal Mode (Single-User Subscription OAuth) | Claude Pro / Max, ChatGPT Plus / Pro, Gemini Code Assist, Google Antigravity, xAI Grok |
| Estimated ( |
Local & Open-Weight LLMs (Air-Gapped / On-Prem) | Ollama ( |
| Enforced ( |
Personal Mode (cli_oauth) is strictly single-user and owner-bound. Consumer subscriptions (Claude Pro/Max, ChatGPT Plus/Pro, personal Google accounts) are licensed to one individual. GitSeed binds each Personal Mode backend to owner_user_id so other users cannot attach, run, or inspect it, and administrators can disable Personal Mode instance-wide with GITSEED_ALLOW_PERSONAL_CLI_OAUTH=false. For shared team projects or scheduled CI pipelines, use API keys via LiteLLM or local open-weight models.
Runtime availability:
opencode,claude-code,codex,antigravity(agy), andgeminiare pre-installed out of the box when buildinggitseed/runnerlocally (docker compose up -d --build, whereINCLUDE_PROPRIETARY_CLIS=trueby default; pass--build-arg INCLUDE_PROPRIETARY_CLIS=falsewhen building strictly FOSS-only or redistributed images).grok-build(grok) ships with a built-in runtime adapter ingitseed_runnerready for custom layered binaries orGROK_CLI_INSTALL_URLimage builds. Seeapps/runner/README.md.
Broker-Enforced Security & Signed Governance Receipts
GitSeed is architected around the principle that coding agents are untrusted (SECURITY.md):
3-Phase Container Split (
prepare→agent→finalize): Theagentcontainer runs withCapDrop: ALL,no-new-privileges, non-root UID1000, no Docker socket, and zero Git credentials. All repository commits,blocked_pathschecks, and secret scans on added lines happen inside the separatefinalizecontainer, which mounts/workspaceread-only (:ro) and commits via a clean.gitdirectory outside the workspace.Socket & Egress Proxies: Control-plane services communicate with Docker through a restricted
docker-socket-proxy(never mounting raw/var/run/docker.sockintoapiorscheduler), and runner containers reach external APIs only through an SSRF-hardenedegress-proxythat blocks RFC1918 private networks, loopback, and cloud metadata (169.254.169.254) after DNS resolution.Ed25519 Governance Receipts (
gitseed.receipt.v1): Verify any Seed's provenance directly from the CLI (online or completely offline against a pinned PEM key):gitseed receipt get my-project#1 -f receipt.json gitseed receipt verify receipt.json --public-key-file pubkey.pem
See SECURITY.md for the complete Threat Model, Enforced vs. Estimated Controls table, Known Residual Risks, and the test_evil_agent_redteam.py adversarial verification suite.
Developer CLI (gitseed)
Install the CLI & interactive split-pane TUI (gitseed tui) via uv or pip (or invoke via docker compose exec api gitseed):
gitseed login http://localhost:8420
gitseed create seed "Fix OAuth callback timeout" -p my-project --fast-track
gitseed logs my-project#1 -f
gitseed receipt verify receipt.json --public-key-file pubkey.pem
gitseed tui# Inspect projects, seeds, runs, and governance policies
gitseed get projects
gitseed get seeds -p my-project
gitseed describe seed my-project#1
# Create or sync seeds from declarative Markdown manifests
gitseed create seed -f seed.md
gitseed apply -f .gitseed/manifests/
# Inspect diffs, steer an active run, fast-track, or approve stages
gitseed diff my-project#1
gitseed steer my-project#1 "Also add rate-limit headers to the response" -a @coder
gitseed advance my-project#1 --fast-track
gitseed approve my-project#1 -m "LGTM, spec and task plan look solid"
# Fetch and cryptographically verify a Seed's Ed25519-signed Governance Receipt (online or offline)
gitseed receipt get my-project#1 -f receipt.json
gitseed receipt verify receipt.json --public-key-file pubkey.pem
# Spin up an interactive sandbox or live coding agent session
gitseed sandbox start -p my-project --seed my-project#1 -c "pytest -q"
gitseed session start -p my-project --agent @coder -m "Investigate flaky auth test"
# Ask @coordinator to triage blocked seeds or summarize spend
gitseed ask "Which seeds are awaiting review and what is our spend this week?"All inspection commands support -o table (default), -o wide, -o json, and -o md (GitHub-Flavored Markdown for CI summaries). See apps/cli/README.md for the complete command reference.
MCP Server (gitseed-mcp)
Connect Claude Code, Cursor, Windsurf, or Antigravity directly to GitSeed so your IDE agent can inspect seeds, read run logs, manage live agent sessions, and approve stage gates:
# stdio transport (local CLI binary)
claude mcp add gitseed \
-e GITSEED_API_URL=http://localhost:8420 \
-e GITSEED_TOKEN=gsp_your_pat_token \
-- gitseed-mcp
# Or connect to the running Docker Compose loopback HTTP endpoint:
# URL: http://127.0.0.1:8422/mcp (Header: Authorization: Bearer gsp_...)Every MCP tool includes explicit ToolAnnotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint), plus optional --toolsets and --read-only scoping so MCP clients can automatically allow read-only queries while prompting before state mutations. See apps/mcp/README.md for all 65 available MCP tools, resources, and prompts.
Webhooks, Self-Healing CI & Local Folder Auto-Sync
Inbound GitHub, GitLab & Bitbucket Webhooks (
services/webhooks.py):Issue-to-Seed Trigger: Labeling or opening an issue with the configured trigger label (default
gitseed) automatically creates and queues a Seed linked back to the source issue.PR Comment Steering: Commenting
@coder,@planner, or@revieweron a GitHub Pull Request or GitLab Merge Request syncs the comment into the Seed timeline and either steers the active container run in place or queues a remediation pass.Self-Healing CI Remediation: When a GitHub Actions workflow or GitLab CI pipeline fails on a Seed branch (
check_run/workflow_run/pipeline), GitSeed automatically creates a remediation task with the failure details and dispatches@coderback toExecuteto fix the build.
Zero-Remote Local Folder Git Sync (
services/local_git.py):Create projects backed by a local directory on disk with no GitHub, GitLab, or Bitbucket account required.
GitSeed manages a refname-hardened bare Git repository exposed over internal Git Smart HTTP (
/api/v1/local-git/<slug>.git) for container runners and installs a sanitizedpost-receivehook that auto-stashes uncommitted local IDE changes, fast-forwards your working tree when a Seed merges, and restores your stash.
Architecture & Monorepo Layout
flowchart TB
subgraph Surfaces["Operator & IDE Surfaces"]
Web["apps/web<br/>React 19 Control Plane UI (:8421)"]
CLI["apps/cli<br/>gitseed Terminal CLI & TUI"]
MCP["apps/mcp<br/>65-Tool MCP Server (:8422)"]
end
subgraph ControlPlane["GitSeed Control Plane (apps/core)"]
API["FastAPI REST, SSE, Receipts & PTY Server (:8420)"]
Sched["Background Scheduler & 3-Phase Reconciler"]
Common["packages/common<br/>Shared Pydantic v2 Schemas & Receipt Contracts"]
end
subgraph Infra["State, Proxies & Model Routing"]
PG[("PostgreSQL 16")]
DF[("Valkey / Redis")]
LLM["LiteLLM Proxy (:4000)"]
SockProxy["docker-socket-proxy"]
EgressProxy["egress-proxy (DNS/IP Guard)"]
end
subgraph Compute["Isolated Compute (apps/runner on gitseed-runners)"]
Prep["1. prepare Container<br/>(Trusted Clone & Hook Strip)"]
Agent["2. agent Container<br/>(Untrusted CLI Sandbox)"]
Fin["3. finalize Container<br/>(:ro Mount · Blocked Paths · Secret Scan · Push)"]
Sandbox["Interactive Sandbox & Live Agent Session"]
end
Web & CLI & MCP --> API
API & Sched --> PG & DF & LLM
Sched -->|Container API via| SockProxy
SockProxy -->|Spawns| Prep --> Agent --> Fin
API -->|Manages PTY / VS Code / Turns via| SockProxy --> Sandbox
Agent & Sandbox -->|Filtered Egress| EgressProxy
Prep & Fin -->|Single-Use Broker Tokens| API
Agent -->|Scoped Agent Token + Model Calls| API & LLMWorkspace Path | Package | Description |
| FastAPI control plane API, 3-phase stage scheduler, Ed25519 governance receipts, Docker/K8s runtime supervisor, live agent sessions, PTY/VS Code proxy, and Alembic migrations. | |
| 3-phase container supervisor ( | |
| React 19 + TypeScript + Vite + Tailwind CSS v4 frontend with Kanban & table views, live stage timelines, diff review, governance receipts, and persistent | |
|
| |
|
| |
| Shared Pydantic v2 schemas, stage output contracts ( | |
Helm Chart | Production Kubernetes Helm chart with dedicated sandbox namespace isolation, RBAC, and NetworkPolicies. |
See docs/architecture.md and docs/concepts.md for deeper architectural documentation.
Single-Image Entrypoint Modes & Local Development
The root Dockerfile packages the entire control plane into gitseed/gitseed, selectable via container command (api | web | scheduler | egress-proxy | mcp | cli | migrate | help):
docker build -t gitseed/gitseed:dev .
docker build -t gitseed/runner:dev ./apps/runner
docker run --rm gitseed/gitseed:dev helpFor local workspace development (Python 3.12+ with uv and Node.js 22+ with pnpm):
# 1. Install all Python & Web workspace dependencies
uv sync --all-packages
pnpm --filter web install
# 2. Run Python tests, linting & typechecking
uv run python -m pytest
uv run ruff check .
uv run mypy packages/common apps/core apps/cli apps/mcp apps/runner
# 3. Run Web UI lint, unit tests & production build
pnpm --filter web lint
pnpm --filter web test
pnpm --filter web buildLicense & Trademarks
License: Copyright 2026 Trent Seed. The GitSeed Control Plane, Runner, Web UI, CLI/TUI, MCP Server, Shared Schemas, and Helm Chart in this repository are 100% open source under the Apache License, Version 2.0 (see
NOTICE), free to self-host, modify, and deploy for personal or commercial use.Trademarks: "GitSeed" and the GitSeed logo are trademarks of Trent Seed. The Apache License, Version 2.0 does not grant permission to use the GitSeed name, brand, or logo for derivative products or hosted services. See
TRADEMARKS.mdfor what's allowed.Privacy: Self-hosted GitSeed sends zero telemetry; your code, prompts, and credentials stay on your infrastructure. See
PRIVACY.md.Contributions: External pull requests require accepting the GitSeed Contributor License Agreement (one PR comment, handled by a bot). See
CONTRIBUTING.mdand the Code of Conduct.Third-party agent CLIs & model providers: GitSeed orchestrates third-party tools (e.g., Claude Code, Codex, Gemini CLI) and model APIs that have their own licenses and terms of service. Claude Code is proprietary (installed locally at image build time unless
INCLUDE_PROPRIETARY_CLIS=false) and is not part of GitSeed's Apache-2.0 source distribution; redistributed container images must omit proprietary vendor CLIs. You are responsible for complying with each provider's terms, including any restrictions on using consumer subscriptions with third-party tools.
Early project. Feedback, bug reports, and stars all help — open a thread in GitHub Discussions or check out good first issues.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for the GitCore API, enabling AI agents to interact with GitCore repositories, issues, pull requests, and more.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceMCP server for AI DevTool workflow, exposing tools and resources for code review, repository chat, and repository operations.1-
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that lets ChatGPT or any MCP client securely delegate coding tasks to a local Claude Code instance, with git checkpointing, approval gates, and structured results. Supports code review, test running, and rollback via simple tool calls.MIT
- FlicenseAqualityCmaintenanceAn MCP server that exposes governance, trust-scoring, compliance, guardrail, cost, drift, and supply-chain scanning tools and resources to any MCP client over stdio, Streamable HTTP, or legacy HTTP+SSE. It lets agents route every tool call through a deterministic five-way decision (allow, redact, require approval, deny, or quarantine) with hash-chained evidence, human approval workflows, and in-agent trust gates for LangChain, LangGraph, and Google ADK.30-