personal-repo-mcp
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 workspaceRelated 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 --buildmcp-config add repo 只更改管理员的允许列表。它不会克隆仓库。代理在需要时通过 MCP 克隆被允许的仓库。
有关持久存储、凭据、HTTPS 和配置的详细信息,请参阅 docs/ 中的部署文档。
许可证
EUPL-1.2
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
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitLab repositories, manage merge requests, review code diffs, post comments, and handle issues directly through natural language.30MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables 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.
- AlicenseBqualityDmaintenanceEnables 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.39ISC
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.
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/jsilvanus/personal-repo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server