Repository Manager
Provides tools for managing git repositories, including bulk operations, worktree management, and arbitrary git command execution.
Supports exporting telemetry data to OpenTelemetry collectors for observability and tracing of MCP server operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Repository Managerclone my project repository"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Repository Manager
CLI or API | MCP | Agent
Version: 3.0.0
Documentation — Installation, deployment, usage across the CLI, API, MCP, and agent interfaces, and the phased multi-repository release workflows are maintained in the official documentation.
Related MCP server: gitlab-api
Overview
Repository Manager is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Manage your git projects.
Key Features
Consolidated Action-Routed MCP Tools: Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
Enterprise-Grade Security: Comprehensive support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
Integrated Graph Agent: Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).
Native Telemetry & Tracing: Out-of-the-box OpenTelemetry exports and native Langfuse tracing.
CLI or API
This agent wraps the Manage your git projects API. You can interact with it programmatically or via its integrated execution entrypoints.
Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md.
MCP
This server utilizes dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.
Available MCP Tools
This table is auto-generated from the live server — do not edit by hand.
Condensed action-routed tools (default — MCP_TOOL_MODE=condensed)
MCP Tool | Toggle Env Var | Description |
|
| Bulk Git operations and arbitrary command execution. |
|
| Bulk install, build, and validate Python projects. |
|
| Core workspace organization, configuration, and maintenance. |
|
| Manage git worktrees for concurrent multi-session development (CONCEPT:RM-WORKTREE). |
Verbose 1:1 API-mapped tools (MCP_TOOL_MODE=verbose or both)
MCP Tool | Toggle Env Var | Description |
|
| Stage all changes (git add -A) for a single Git project. |
|
| Stage all changes for multiple projects in parallel. |
|
| Bulk builds Python and Node.js projects in the workspace. |
|
| Bumps the version for all projects in the workspace in parallel. |
|
| Bump the version of the project using bump2version. |
|
| Removes test artifacts and temporary files from the specified directory. |
|
| Clone all specified Git projects in parallel using multiple threads. |
|
| Clone a single Git repository to a specific target path. |
|
| Stage ALL changes (git add -A), optionally gate on pre-commit, then commit. |
|
| Concurrently stage + pre-commit + commit feature code across projects. |
|
| Commit staged changes (git commit -m "{message}") for a single Git project. |
|
| Commit staged changes for multiple projects in parallel. |
|
| Create a new project directory and initialize it as a git repository. |
|
| Scan self.path for immediate subdirectories containing a .git folder. |
|
| Generates a beautiful markdown summary of bulk operation results. |
|
| Generates a workspace.yml template at the specified path. |
|
| Returns absolute paths to the 15 specific building and documentation skills. |
|
| Returns the mapping of repository URLs to their local project paths. |
|
| Get the content and path of the README.md file in the specified path. |
|
| Returns a list of project basenames (e.g. 'genius-agent') defined in the workspace. |
|
| Execute a Git command in the specified directory. |
|
| Install a Python project using pip install -e .[extra]. |
|
| Bulk installs Python and Node projects in the workspace. |
|
| Returns a dictionary mapping project basenames to their current active git branch. |
|
| Loads repository URLs from a YAML workspace file using Pydantic models. |
|
| Execute the phased bumpversion workflow: pre-commits + phased bumping. |
|
| Execute the phased bumpversion workflow: pre-commits + phased bumping. |
|
| Execute the phased git push workflow. |
|
| Execute pre-commit commands in the specified path. |
|
| Execute pre-commit commands for all projects in parallel. |
|
| Pull updates for a single Git project and optionally checkout the default branch. |
|
| Pull updates for multiple projects in parallel. |
|
| Push updates and tags for a single Git project, ensuring all staged and unstaged changes are committed first. |
|
| Push updates for multiple projects in parallel. |
|
| Saves the current or provided WorkspaceConfig to a YAML file. |
|
| Set the number of threads for parallel processing. |
|
| Sets up the workspace structure from a YAML file. |
|
| Execute pytests for the specified projects in parallel. |
|
| Update a package's pinned version in a deps file (pyproject OR requirements). |
|
| Validate projects in parallel, optionally triggering a release if successful. |
|
| Validates a single repository by running the scanner logic. |
|
| Audit (and optionally prune) session worktrees as a release-flow step. |
4 action-routed tool(s) (default) · 42 verbose 1:1 tool(s). Each is enabled unless its <DOMAIN>TOOL toggle is set false; MCP_TOOL_MODE selects the surface (condensed default · verbose 1:1 · both). Auto-generated — do not edit.
Detailed tool schemas, parameter shapes, and validation constraints are preserved in docs/usage.md.
Dynamic Tool Selection & Visibility
This MCP server supports dynamic toolset selection and visibility filtering at runtime. This allows you to restrict the set of exposed tools in order to prevent blowing up the LLM's context window.
You can configure tool filtering via multiple input channels:
CLI Arguments: Pass
--toolsor--toolsets(or their disabled counterparts--disabled-toolsand--disabled-toolsets) during startup.Environment Variables: Define standard environment variables:
MCP_ENABLED_TOOLS/MCP_DISABLED_TOOLSMCP_ENABLED_TAGS/MCP_DISABLED_TAGS
HTTP SSE Request Headers: Pass custom headers during transport initialization:
x-mcp-enabled-tools/x-mcp-disabled-toolsx-mcp-enabled-tags/x-mcp-disabled-tags
HTTP SSE Request Query Parameters: Append query parameters directly to your transport connection URL:
?tools=tool1,tool2?tags=tag1
When query strings or parameters are supplied, an LLM-free Knowledge Graph resolution layer (using DynamicToolOrchestrator) matches query intents against known tool tags, names, or descriptions, with safe fallback and automated 24-hour background cache refreshing.
MCP Configuration Examples
Install the connector-focused
[mcp]extra. Examples userepository-manager[mcp]to add FastMCP / FastAPI throughagent-utilities[mcp]; the required Agent Utilities core still carriesepistemic-graph[full]. The[agent-runtime]extra additionally enables model orchestration.
stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
{
"mcpServers": {
"repository-manager-mcp": {
"command": "uvx",
"args": [
"--from",
"repository-manager[mcp]",
"repository-manager-mcp"
],
"env": {
"MCP_TOOL_MODE": "intent",
"GH_TOKEN": "your_github_token_here",
"GITHUB_TOKEN": "your_github_token_here",
"GITLAB_HOST": "https://gitlab.com",
"GITLAB_PRIVATE_TOKEN": "your_gitlab_token_here",
"GITLAB_TOKEN": "your_gitlab_token_here",
"GITLAB_URL": "https://gitlab.com",
"GIT_OPERATIONSTOOL": "True",
"MISCTOOL": "True",
"PROJECT_MANAGEMENTTOOL": "True",
"REPOSITORY_MANAGER_DEFAULT_BRANCH": "main",
"REPOSITORY_MANAGER_THREADS": "12",
"RM_GATE_BEFORE_PUSH": "true",
"RM_JOB_STALE_SECONDS": "1800",
"RM_MAX_WORKERS": "8",
"WORKSPACE_MANAGEMENTTOOL": "True",
"WORKSPACE_YML": "workspace.yml"
}
}
}
}Runtime references require an alias-aware launcher such as GraphOS. Other launchers must omit those entries and inject the resolved values through their own runtime secret boundary.
Streamable-HTTP Transport (networked / production)
{
"mcpServers": {
"repository-manager-mcp": {
"command": "uvx",
"args": [
"--from",
"repository-manager[mcp]",
"repository-manager-mcp",
"--transport",
"streamable-http",
"--port",
"8000"
],
"env": {
"TRANSPORT": "streamable-http",
"HOST": "127.0.0.1",
"PORT": "8000",
"MCP_TOOL_MODE": "intent",
"GH_TOKEN": "your_github_token_here",
"GITHUB_TOKEN": "your_github_token_here",
"GITLAB_HOST": "https://gitlab.com",
"GITLAB_PRIVATE_TOKEN": "your_gitlab_token_here",
"GITLAB_TOKEN": "your_gitlab_token_here",
"GITLAB_URL": "https://gitlab.com",
"GIT_OPERATIONSTOOL": "True",
"MISCTOOL": "True",
"PROJECT_MANAGEMENTTOOL": "True",
"REPOSITORY_MANAGER_DEFAULT_BRANCH": "main",
"REPOSITORY_MANAGER_THREADS": "12",
"RM_GATE_BEFORE_PUSH": "true",
"RM_JOB_STALE_SECONDS": "1800",
"RM_MAX_WORKERS": "8",
"WORKSPACE_MANAGEMENTTOOL": "True",
"WORKSPACE_YML": "workspace.yml"
}
}
}
}Alternatively, connect to a pre-deployed Streamable-HTTP instance by url:
{
"mcpServers": {
"repository-manager-mcp": {
"url": "http://localhost:8000/repository-manager-mcp/mcp"
}
}
}Run a reviewed container image as a least-privilege stdio child (no listener or published port):
docker run -i --rm \
--read-only \
--cap-drop=ALL \
--security-opt=no-new-privileges \
--pids-limit=256 \
--tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
-e TRANSPORT=stdio \
-e MCP_TOOL_MODE=intent \
-e GH_TOKEN=your_github_token_here \
-e GITHUB_TOKEN=your_github_token_here \
-e GITLAB_HOST=https://gitlab.com \
-e GITLAB_PRIVATE_TOKEN=your_gitlab_token_here \
-e GITLAB_TOKEN=your_gitlab_token_here \
-e GITLAB_URL=https://gitlab.com \
-e GIT_OPERATIONSTOOL=True \
-e MISCTOOL=True \
-e PROJECT_MANAGEMENTTOOL=True \
-e REPOSITORY_MANAGER_DEFAULT_BRANCH=main \
-e REPOSITORY_MANAGER_THREADS=12 \
-e RM_GATE_BEFORE_PUSH=true \
-e RM_JOB_STALE_SECONDS=1800 \
-e RM_MAX_WORKERS=8 \
-e WORKSPACE_MANAGEMENTTOOL=True \
-e WORKSPACE_YML=workspace.yml \
registry.example.invalid/repository-manager@sha256:<digest> repository-manager-mcpFor containerized network HTTP, supply an authenticated TLS ingress (or
direct server TLS), exact MCP_ALLOWED_HOSTS, and an exact trusted-proxy
CIDR policy through the operator-owned deployment profile. The generator
does not emit an unauthenticated non-loopback listener.
Auto-generated from the code-read env surface (MCP_TOOL_MODE + package vars) — do not edit.
Additional Deployment Options
repository-manager can run as a local stdio process or container, or behind a remote
network boundary. The
Deployment guide carries
the detailed transport contract.
Local container — launch a reviewed immutable image as a least-privilege stdio child with no listener or published port.
Remote URL — connect through an operator-supplied authenticated HTTPS ingress. Keep its URL, outbound identity references, trust profile, and exact
MCP_ALLOWED_HOSTSinAgentConfig.
Agent
This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the Agent Control Protocol (ACP) and interacts seamlessly with the Agent Web UI (AG-UI) and Terminal interface.
Running the Agent CLI
To start the interactive command-line agent:
# Set workspace + git operation settings
export REPOSITORY_MANAGER_WORKSPACE="your_value"
export WORKSPACE_YML="workspace.yml"
export REPOSITORY_MANAGER_DEFAULT_BRANCH="main"
export REPOSITORY_MANAGER_THREADS="12"
# Optional VCS provider credentials
export GITLAB_TOKEN="your_gitlab_token"
export GITHUB_TOKEN="your_github_token"
# Run the agent server
repository-manager-agent --provider openai --model-id gpt-4oDocker Compose Orchestration
The following docker/agent.compose.yml configures the Agent, Web UI, and Terminal Interface together:
version: '3.8'
services:
repository-manager-mcp:
image: example/repository-manager:mcp
container_name: repository-manager-mcp
hostname: repository-manager-mcp
restart: always
env_file:
- ../.env
environment:
- PYTHONUNBUFFERED=1
- HOST=0.0.0.0
- PORT=8000
- TRANSPORT=streamable-http
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
repository-manager-agent:
image: example/repository-manager@sha256:<digest>
container_name: repository-manager-agent
hostname: repository-manager-agent
restart: always
depends_on:
- repository-manager-mcp
env_file:
- ../.env
command: [ "repository-manager-agent" ]
environment:
- PYTHONUNBUFFERED=1
- HOST=0.0.0.0
- PORT=9047
- MCP_URL=http://repository-manager-mcp:8000/mcp
- PROVIDER=${PROVIDER:-openai}
- MODEL_ID=${MODEL_ID:-gpt-4o}
- ENABLE_WEB_UI=True
- ENABLE_OTEL=True
ports:
- "9047:9047"
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:9047/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
Detailed graph node architecture explanations, custom skill configurations, and agentic trace guides are available in docs/deployment.md.
Environment Variables
Package environment variables
Variable | Example | Description |
|
| |
|
| |
|
| options: stdio, streamable-http, sse |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| options: none, embedded, remote |
|
| |
|
| |
| — | Runtime-injected ecosystem root; never persist a machine path |
| — | Private Git origin used by the portable workspace manifest |
|
| Deployment DNS suffix used by service metadata |
| — | Optional workspace-root override |
| — | Compatibility workspace-root override |
|
| workspace manifest filename (resolved under the workspace root) |
| — | Optional runtime report directory |
| — | Optional runtime worktree root |
|
| default branch name for git operations |
|
| parallel threads for git operations |
|
| explicit worker-count override (skips auto-sizing from CPU count) |
|
| seconds before an in-flight job is treated as stale by the watchdog |
|
| run the pre-commit gate before pushing (set false to bypass) |
|
| GitLab base URL (alias: GITLAB_HOST) |
|
| legacy alias for GITLAB_URL |
|
| GitLab access token (alias: GITLAB_PRIVATE_TOKEN) |
|
| legacy alias for GITLAB_TOKEN |
|
| GitHub access token (alias: GH_TOKEN) |
|
| legacy alias for GITHUB_TOKEN |
|
| MCP tools table (condensed action-routed surface). |
|
| |
|
| |
|
| |
|
| authentication type (e.g. bearer, none) |
|
| |
|
| |
|
|
Inherited agent-utilities variables (apply to every connector)
Variable | Example | Description |
|
| Tool surface: |
| — | Comma-separated tool allow-list |
| — | Comma-separated tool deny-list |
| — | Comma-separated tag allow-list |
| — | Comma-separated tag deny-list |
| — | Outbound MCP auth ( |
| — | OIDC client id (service-account auth) |
| — | OIDC client secret (service-account auth) |
|
| Verbose logging |
|
| Unbuffered stdout (recommended in containers) |
|
| LLM provider for the agent |
|
| Model id for the agent |
|
| Serve the AG-UI web interface |
35 package + 13 inherited variable(s). Auto-generated from .env.example + the shared agent-utilities set — do not edit.
Every variable the server and agent read, sourced from .env.example.
MCP server / transport
Variable | Description | Default |
|
|
|
| Bind host (HTTP transports) |
|
| Bind port (HTTP transports) |
|
| Tool surface: |
|
| Comma-separated tool allow/deny list | — |
| Comma-separated tag allow/deny list | — |
| Unbuffered stdout (recommended in containers) |
|
Workspace & repository management
Variable | Description | Default |
| Root directory of the git workspace to manage | deployment-provided |
| Fallback workspace root when | deployment-provided |
| Workspace manifest filename (resolved under the workspace root) |
|
| Directory where generated reports are written | — |
| Root directory for managed git worktrees | deployment-provided |
| Default branch name for git operations |
|
| Parallel threads for git operations |
|
Operations & gating
Variable | Description | Default |
| Explicit worker-count override (skips auto-sizing from CPU count) | — |
| Seconds before an in-flight job is treated as stale by the watchdog |
|
| Run the pre-commit gate before pushing (set |
|
Version-control provider credentials
Variable | Description | Default |
| GitLab base URL (alias: | — |
| GitLab access token (alias: | — |
| GitHub access token (alias: | — |
Tool toggles
Each action-routed tool can be disabled individually via its toggle env var (set to false).
The full list is in the Available MCP Tools table above.
Variable | Description | Default |
| Enable bulk Git operations ( |
|
| Enable project + worktree management ( |
|
| Enable workspace organization ( |
|
Telemetry & governance
Variable | Description | Default |
| Enable OpenTelemetry export |
|
| OTLP collector endpoint | — |
| OTLP auth keys | — |
| OTLP protocol (e.g. | — |
| Authorization mode: |
|
| Embedded policy file |
|
| Remote Eunomia server URL | — |
Agent CLI (full [agent] runtime only)
Variable | Description | Default |
| URL of the MCP server the agent connects to |
|
| LLM provider (e.g. |
|
| Model id (e.g. |
|
| Serve the AG-UI web interface |
|
Security & Governance
Built directly upon the enterprise-ready agent-utilities core, standard security parameters are fully supported:
Access Control & Policy Enforcement
Eunomia Policies: Fine-grained, policy-driven tool authorization. Supports
none, localembedded(mcp_policies.json), or centralizedremotemodes.OIDC Token Delegation: Compliant with RFC 8693 token exchange for flowing authenticating user credentials from Web UI / ACP → Agent → MCP.
Scoped Credentials: Execution context runs restricted to the specific caller identity.
Runtime Security Grid
Feature | Functionality | Enablement |
Tool Guard | Sensitivity inspection with human-in-the-loop validation | Enabled by default |
Prompt Injection Defense | Input scanning, repetition monitoring, and recursive loop blocks | Enabled by default |
Context Safety Guard | Stuck-loop detectors and contextual overflow preemptive alerts | Enabled by default |
Installation
Pick the extra that matches what you want to run:
Extra | Installs | Use when |
| Connector-focused MCP server ( | You only run the MCP server (smallest install / image) |
| Full agent runtime ( | You run the integrated agent |
| Everything ( | Development / both surfaces |
# Connector-focused MCP server (includes the shared graph engine)
uv pip install "repository-manager[mcp]"
# Agent runtime (adds model orchestration to the shared graph engine)
uv pip install "repository-manager[agent]"
# Everything (development)
uv pip install "repository-manager[all]" # or: python -m pip install "repository-manager[all]"Container images (:mcp vs :agent)
One multi-stage docker/Dockerfile builds two right-sized images, selected by --target:
Image tag | Build target | Contents | Entrypoint |
|
|
|
|
|
|
|
|
docker build --target mcp -t example/repository-manager:mcp docker/ # connector-focused MCP server
docker build --target agent -t example/repository-manager:agent-local docker/ # agent runtimedocker/mcp.compose.yml runs the connector-focused :mcp server; docker/agent.compose.yml runs the
agent (immutable agent digest) with a co-located :mcp sidecar.
Knowledge-graph database (epistemic-graph)
Both [mcp] and [agent] carry the epistemic-graph engine through the required
Agent Utilities core dependency (epistemic-graph[full]). The [mcp] extra keeps
the server connector-focused; [agent] additionally enables model orchestration. Local
deployments can use the bundled engine. For production or shared state, run
epistemic-graph as a dedicated database service and configure the runtime to use it.
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
diagrams are documented in the
epistemic-graph deployment guide.
Repository Owners
Documentation
The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.
Page | Contents |
pip, source, extras, prebuilt Docker image | |
run the MCP and agent servers, Compose, Caddy + Technitium, env config | |
the MCP tools, the | |
ecosystem role, enterprise readiness, architecture | |
dependency-ordered workspace updates | |
parallel, phase-gated multi-repository releases | |
concept registry ( |
AGENTS.md is the canonical contributor/agent guidance.
Contribute
Contributions are welcome! Please ensure code quality by executing local checks before submitting pull requests:
Format code using
ruff format .Lint code using
ruff check .Validate type-safety with
mypy .Execute test suites using
pytest
Deploy with agent-utilities-deployment
Provision this package with the consolidated agent-utilities-deployment
workflow. It selects an installed-package, editable-source, or immutable-container
path; records only runtime secret and TLS-profile references in AgentConfig; and
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
to "deploy repository-manager with agent-utilities-deployment".
Install mode | Command |
Installed package |
|
Editable source |
|
Immutable container | deploy |
The repository embeds no deployment profile, credential value, certificate path, or
environment-specific endpoint. Supply those at runtime through AgentConfig and the
configured secret provider.
Governed capability contract
This package ships a compact canonical skill surface with specialist procedures
kept as referenced workflows. The current MCP tools, skill metadata,
connector_manifest.yml, ontology, mappings, shapes, fixtures, migrations,
tool-schema fingerprints, and certification metadata form one versioned
capability contract. Validate them together; do not rely on stale tool names or
historical per-task skill wrappers.
Runtime endpoints, credentials, certificate trust, tenant identity, retention, and observability policy are deployment inputs and are never packaged values. See Configuration, trust, and privacy before enabling a network transport, connector ingestion, GraphOS delegation, or trace export.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA production-oriented MCP server for coding agents that enables multi-project management through secure file operations, Git integration, and safe command execution. It supports project discovery across multiple root directories and provides robust audit logging with both STDIO and HTTP transport options.Last updated272MIT
- Alicense-qualityBmaintenanceMCP server for interacting with GitLab API, supporting dynamic tool selection and enterprise-grade security.Last updated11MIT
- AlicenseCqualityBmaintenanceA production-ready MCP server for GitHub operations, providing tools for repository management, issues, pull requests, and more via both MCP stdio and REST API.Last updated27MIT
- Alicense-qualityCmaintenanceA secure, git-aware MCP server for working with local repositories, enabling file management, shell commands, and full git operations within allowed directories.Last updated4321GPL 3.0
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
MCP server for Appcircle mobile CI/CD platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Knuckles-Team/repository-manager'
If you have feedback or need assistance with the MCP directory API, please join our Discord server