Skip to main content
Glama

personal-repo-mcp

一个自托管的、多仓库 MCP 服务器,面向 AI 代理。它为代理在你的 VPS 上提供一个持久的 Git 工作区,并允许对管理员批准的仓库进行受控的读/写访问,以及常规的 Git 操作。

版本 1.0.0 — MVP

核心思想

管理员控制代理可以访问哪些仓库。代理控制它实际克隆哪些被允许的仓库

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 帮助资源

该服务器提供模块化的、MCP 原生的操作文档。从以下内容开始:

mcp://help/index

重点主题可在以下位置获取:

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

帮助资源有意与 tools/list 分开:MCP 工具列表仍然是权威的 API 接口,而帮助资源则为代理提供渐进式披露的工作流指导。

功能

  • 持久的多仓库工作区

  • 管理员控制的仓库允许列表

  • 用于 Git 操作的 GitHub PAT 身份验证

  • 可流式传输的 HTTP 传输

  • 文件读取、行范围读取、写入、行编辑、搜索和补丁

  • Git 状态、差异、历史、分支、fetch/pull/push、merge/rebase 以及冲突处理

  • 用于组合操作的单一仓库 chain_command

  • 用于系统、仓库、Git 和单个文件状态的 MCP 资源

  • 资源订阅和变更通知

  • 从 MCP 输出中清除机密信息

  • Git 子模块保护措施

  • Docker 部署

部署

使用 mcp-config 配置主机,然后启动单个 Docker 部署:

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

mcp-config add repo 只更改管理员的允许列表。它不会克隆仓库。代理在需要时通过 MCP 克隆被允许的仓库。

有关持久存储、凭据、HTTPS 和配置的详细信息,请参阅 docs/ 中的部署文档。

许可证

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