
Repiscope
io.github.3xpr1ment由 GitHub 账号 3xpr1ment 发布v0.2.2更新于 Nov 10, 2026
Read-only MCP server: your agent sees all your sibling repos but structurally cannot touch them
概览
只读 MCP 服务器,让编码助手列出、概览、搜索并读取同级仓库,但无法修改它们。
- 可以做什么
- 列出同级仓库及一句话描述
- 获取单个仓库的用途、技术栈、结构与近期提交概览
- 按文本搜索文件与代码行,可限定某个仓库
- 读取完整文件内容,有大小上限
- 保存助手撰写的摘要,缓存后在后续概览中复用
- 适用场景
- 适合在一个项目中工作的助手需要了解另一个项目的代码或 API 时,也适合个人助理在沙箱保持收紧的前提下掌握多个仓库的状态。它用于只读了解,不用于编辑。
- 运行要求
- 本地 Python 3.11 及以上环境;包从 PyPI 安装,可用 uvx 或 pip 运行。启动时需指定包含各仓库的根目录,可选地排除某些仓库。未声明任何 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Repiscope,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Repiscope
A periscope for your repos — see everything, touch nothing.
Repiscope is a read-only MCP server that gives your coding agent (Claude Code, Cursor, or any MCP client) awareness of the sibling repositories next to the one it's working in — without ever letting it modify them.
Why
I built a personal assistant to help me decide where my time goes: for that it needs to know the real state of every project — what changed, what stalled, what the next step is. So it has to see all my repos. But telling an agent "don't touch anything" is a request, not a guarantee. Repiscope makes it a guarantee: the server exposes zero write tools, so the agent structurally cannot modify your repos. And the same periscope helps any coding agent working in project A that needs to know how a part of project B works.
Sandboxes make this worse, not better: mine (rightly) stops the agent from even reading outside the repo it started in without asking. Widening the sandbox would grant write access too. Repiscope is the third way — the agent gets structured, read-only sight of every sibling repo through one MCP server, and the sandbox stays tight.
See it in action
You're working in project-a and need to pull data from another project's
API. Instead of you digging through that codebase, the agent asks Repiscope
directly:
The agent explored a repo it has no ability to write to. No copy-paste, no "please don't edit anything," no risk.
Tools
How it stays fresh
Overviews are cached as markdown and refreshed lazily: on each call Repiscope compares the repo's current git commit hash against the one recorded when the overview was built. Same hash → serve the cache. Different → rebuild just that repo's overview. No cron, no daemons.
Borrowed intelligence
Repiscope has no LLM of its own — no API key, no model calls, zero cost. But
it talks to LLMs all day, so it borrows them: when an overview has no fresh
agent-written summary, it ends with a note asking the calling agent to
write one and hand it back via store_summary. The summary then opens every
future overview of that project — written by one agent, read by all the
next — until the repo's next commit marks it outdated and the cycle repeats.
Security by architecture
Repiscope is built so that the safe behaviour is not a promise — it's the only behaviour possible:
- Zero repo-write tools. The server exposes no tool that can create,
edit or delete anything inside your repositories. The one tool that
accepts data,
store_summary, can only write to Repiscope's own cache in~/.cache/repiscope. An agent cannot misuse a capability that doesn't exist. - Secrets are invisible. A single filter (
privacy.py) is enforced by every tool: private keys, certificates (.pem,.pfx,.p12, …),.env*files, keystores, and anything named like a credential never appear in overviews, trees, search results or file reads. Honest limit: the filter hides sensitive files — it does not scrub mentions of e.g. a password pasted inside an ordinary text file. - Symlinks can't smuggle. A cloned repo is untrusted content — it may
contain a symlink like
notes.txt → ~/.ssh/id_rsa. Anything whose real location falls outside the project is invisible to every tool, the secret filter also checks a link's real target, and path traversal (../) is refused. - You define the perimeter. Repiscope only sees the folder you
explicitly pass (
--root), and--excludemakes chosen repos fully invisible — they can't even be resolved by name. - It leaves no trace. Overview caches live in
~/.cache/repiscope, never inside your repositories.
Every claim above is enforced by the test suite in tests/ — clone the
repo and run pytest to check them yourself.
Quick start
That's it — point --root at the folder containing your repos (not a repo
itself). Optionally hide repos with --exclude repo-a --exclude repo-b.
Works with any MCP client; for Claude Desktop there's also a one-click
.mcpb bundle (build it with mcpb/build.sh).
From source instead:
Limitations
Honesty section — what Repiscope deliberately does not do:
- The secret filter works at file level. Sensitive files are
invisible, but a password pasted inside an ordinary
notes.mdwill not be scrubbed. The perimeter is yours: only point--rootat folders you are comfortable showing to your agent — whatever the tools can see, your LLM provider will see too. - Search is deliberately dumb. Case-insensitive substring match, capped results, no index, no regex. The calling LLM supplies the intelligence at both ends; for heavy code search, use a real code-search tool.
- Overviews are mechanical. Without an agent-written summary they are README excerpts, language stats and git logs — useful, not insightful. The insight arrives once your agents start leaving summaries behind.
- Read-only cuts both ways. There is no refresh tool to call: caches refresh lazily on the next commit, and stale summaries are served marked as stale until an agent writes a new one.
- Python ≥ 3.11, developed and tested on macOS; Linux should behave identically, Windows symlink semantics are untested.
Status
v0.2.2 — working and dogfooded daily. Four read-only tools plus borrowed-LLM
summaries, lazy cache refresh, sensitive-file filtering, and a test suite
proving the security claims (path traversal, symlink escapes, secret
filtering — see tests/). API may still change.
How this was built
To be completely clear about authorship: I am not an engineer. Every architecture decision in Repiscope is mine — what it does, what it refuses to do, where the security gates live — but the coding itself is done by Claude (Anthropic's Fable model). My rule for the collaboration: nothing goes in that I don't understand. The commit history carries the co-authorship openly, commit by commit.
License
mcp-name: io.github.3xpr1ment/repiscope
来源:README.md,提交 19c72d5
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
