Skip to main content
Glama

personal-repo-mcp

A self-hosted, multi-repository MCP server for AI agents. It gives an agent a persistent Git workspace on your own VPS, with controlled read/write access to administrator-approved repositories and normal Git operations.

Version 1.0.0 — MVP

Core idea

The administrator controls what repositories the agent may access. The agent controls which allowed repositories it actually clones.

Administrator
    |
    | mcp-config add repo jsilvanus/*
    v
repositories.json (allow-list)
    |
    v
MCP server
    |
    +-- clone_repository("jsilvanus/project")
    |
    v
persistent workspace

Related MCP server: GitLab MR MCP

MCP help resources

The server provides modular, MCP-native operational documentation. Start with:

mcp://help/index

Focused topics are available at:

mcp://help/repositories
mcp://help/files
mcp://help/git
mcp://help/chain-command
mcp://help/resources

The help resources are intentionally separate from tools/list: the MCP tool list remains the authoritative API surface, while the help resources provide progressive-disclosure workflow guidance for agents.

Features

  • Persistent multi-repository workspaces

  • Administrator-controlled repository allow-list

  • GitHub PAT authentication for Git operations

  • Streamable HTTP transport

  • File reads, line-range reads, writes, line edits, search, and patches

  • Git status, diff, history, branches, fetch/pull/push, merge/rebase, and conflict handling

  • Single-repository chain_command for composing operations

  • MCP resources for system, repository, Git, and individual file state

  • Resource subscriptions and change notifications

  • Secret scrubbing from MCP output

  • Git submodule safeguards

  • Docker deployment

Deployment

Configure the host with mcp-config, then start the single Docker deployment:

mcp-config pat
mcp-config add repo jsilvanus/*
docker compose up -d --build

mcp-config add repo changes only the administrator allow-list. It does not clone repositories. The agent clones an allowed repository through the MCP when needed.

See the deployment documentation in docs/ for persistent storage, credentials, HTTPS, and configuration details.

License

EUPL-1.2

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to fetch, search, and retrieve markdown content from remote Git repositories. Supports both public and private repositories with authentication, allowing AI assistants to access documentation and notes stored in Git.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with GitLab repositories, manage merge requests, review code diffs, post comments, and handle issues directly through natural language.
    30
    MIT
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI assistants to interact with local Git repositories for operations like status, commits, branching, and diffs, plus GitHub API integration for managing pull requests when authenticated.
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to perform code reviews by providing access to staged files, git diffs, and repository file content. It allows users to evaluate changes and context within any local git repository before committing or pushing.
    3
    9
    ISC

View all related MCP servers

Related MCP Connectors

  • Git-backed platform for skills, tools, and context for AI agents

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

View all MCP Connectors

Latest Blog Posts

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/jsilvanus/personal-repo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server