
Alto Connector
io.github.lukebmandel-debug由 GitHub 账号 lukebmandel-debug 发布v1.0.0更新于 Oct 24, 2026
Build an interactive timeline from your own materials — never from invented content.
发布方自己的服务:Alto
概览
通过访谈了解你自己的材料,生成可交互、可筛选的时间线,输出为自包含的离线 HTML 文件,也可选择发布到你自己的私有站点。
- 可以做什么
- 进行引导式访谈:命名项目、提交原始材料并记录明确同意
- 设定时间线的轴、幕/时期、实体、节点结构、关系词表与筛选维度
- 依据你提供的材料逐字撰写节点、连接关系并预览布局
- 构建并校验时间线,导出可离线打开的自包含 HTML 文件
- 发布到私有 Firebase 站点、跨对话续接草稿,并管理账号与分享链接
- 适用场景
- 当你手头有一批材料(课程、小说、研究项目)并希望在不虚构内容的前提下整理成可浏览、可分享的时间线时适用。也适合通过自己的 Google 账号在多台电脑间同步多个时间线。
- 运行要求
- 以本地 stdio 方式运行,仅限桌面端;macOS(Apple 芯片或 Intel)和 Windows x64 的 .mcpb 安装包自带 Python。其他 MCP 客户端可通过 uvx 或 pip 从 Git 仓库运行,需要 uv 或 Python。发布需要 Google 账号和免费的 Firebase 项目;可选配置包括 ALTO_FIREBASE_SITE、ALTO_FIREBASE_PROJECT、ALTO_FIREBASE_CONFIG 和 ALTO_FIREBASE_BIN。
安装
在 SourceWeft 中
- 打开 控制台中的 Alto Connector,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Alto Connector
mcp-name: io.github.lukebmandel-debug/alto-connector
A Claude connector that interviews you about your own materials — a course, a novel, a research project — and builds you an interactive, filterable "liquid-glass" Alto timeline: glass cards on colored act bands, entity chips, routed connection lines, detail pages with your own schema, highlights and notes, mobile layout, and a self-contained offline file you can share.
The one rule (§0): Alto is a closed knowledge container. It connects and organizes what you provide — it never invents facts, events, holdings, or descriptions. Sparse notes make a sparse timeline, on purpose. The connector enforces this server-side: authoring tools stay locked until your materials and explicit consent are recorded.
Install
Download the file for your computer from the latest release, then in Claude Desktop go to Settings → Extensions → Advanced settings → Install Extension… and choose it. Restart Claude Desktop and Alto appears under Extensions.
Nothing else to install. Each bundle carries its own Python, which is why it is around 50MB. Claude Desktop ships Node but not Python, and stock macOS still has 3.9 — too old for this server.
Without Claude Desktop
Alto is a plain MCP server, so any MCP client can run it — Claude Code, Cline, Zed, Continue, your own script. No download, no bundle.
Add this to your client's MCP config:
Requires uv
(curl -LsSf https://astral.sh/uv/install.sh | sh). uvx fetches and runs
Alto in a throwaway environment each time, so there is nothing to install or
update.
Prefer a permanent install? Then alto-connector is on your PATH and the
config is simply {"command": "alto-connector"}:
Everything works the same way — the interview, the build, the offline file — because the bundle and this are the same server; the bundle just carries its own Python so Claude Desktop users need not install one.
Timelines land in ~/Documents/Alto. Each is a single self-contained HTML
file you open in any browser — no server, no account, no internet. Shareable
web links are optional (see Publishing below); without them, that file is the
finished product.
Then tell your client: "I want to build a timeline in Alto — interview me."
From a checkout
bash setup.sh — macOS and Claude Desktop only; it registers the
connector by writing claude_desktop_config.json. For any other client, use
one of the two methods above pointed at your checkout.
Using it — what a new user actually does
- Open a chat and say something like "I want to build a timeline in Alto — interview me."
- Claude calls
get_interview_guideand runs a short warm interview:- Flow 1 — name the project container and what it's for.
- Flow 2 §A — the materials gate: you hand over your actual materials (upload files or paste text into the chat), and explicitly agree that Alto builds only from them.
- §B–§I — title, what the axis means, your acts/eras, your entities (characters, doctrines, teams…), node schema (e.g. Facts·Issue·Holding· Rule for law), relationship vocabulary for the lines, extra filter axes, persona, presentation.
- Claude authors nodes verbatim from your materials, wires connections, runs a layout preview, builds (a verifier gates every build), and publishes.
- You get your timeline two ways:
- Offline file (always): one self-contained HTML — double-click to open, send to a friend, works forever with no server.
- Web page (free, set up for you — see Publishing): a page at
https://<your-site>.web.app/pv/<key>/that only your Google account can open, listed on your homepage, with cross-device sync of highlights/notes/reports. To show it to someone, create a share link from your homepage.
- Come back any time — drafts resume across chats via
get_timeline.
Publishing — your own private site, set up for you
Every timeline is private. It goes on your own Alto site — a free Firebase
project (Spark plan, no card) in your Google account, never one of ours — at
https://<your-project>.web.app/pv/<key>/, which opens only for the Google
account that published it. There is no public option.
You set nothing up. The first time you use Alto, Claude calls
set_up_site, which runs in the background while the interview goes on:
- fetches the official Node and Firebase CLI into Alto's own folder (checksum-pinned; nothing system-wide, no admin password);
- opens a Google page — you click Allow — so it can act in your account;
- creates your Firebase project, its web app, Firestore, and Google sign-in;
- deploys your site and the per-user security rules in
firestore.rules, then checks from outside that anonymous reads of your data are refused; - opens your new site — you click Continue with Google — so Alto on this computer is signed in as you, and moves any drafts into your account.
From then on your projects live in your account (Keep projects in:
auto), so every computer you sign in on sees the same ones, and
publish_timeline puts a timeline on your site with nothing to upload.
Sharing is a share link. To show a timeline to someone, use "Create share
link" in its menu on your homepage. It is a snapshot of that one page at
/s/<key>/, readable by anyone with the link without an install or an Alto
account, and you can revoke it from the same place at any time.
Already have a Firebase project? Fill in the extension's Advanced
settings (site, project id, and optionally the web config) — or, from a
checkout, ALTO_FIREBASE_SITE, ALTO_FIREBASE_PROJECT, ALTO_FIREBASE_CONFIG.
If this computer has no Firebase CLI, set_up_site installs Alto's own and
finishes setting up that project (Firestore, sign-in, rules) instead of
making a new one. ALTO_FIREBASE_BIN points at a CLI of your own.
Two things worth knowing before you share a link. A share link is readable by anyone who has it — the key cannot be guessed, but it is not access-controlled, so revoke it when it has done its job. And a reader who signs in to sync their notes gets an account in your Firebase project: the security rules stop you reading their notes through the app, but you own the project and can see them in the Firebase console.
Moving existing work across
set_up_site copies whatever is in the local folder into your account as its
last step. To do it by hand (for example from another folder):
It copies, never deletes, and skips anything already in your account.
More than one site, and chats that start on their own
A person can have an Alto site for each Google account they use. Every
timeline tool takes an optional account (a site name like luke-alto, its
address, or the Google email), and nothing is remembered between calls — one
connector process can serve several chats.
get_interview_guidelists every account this computer is signed in to and what is in each, so a chat opened on its own (not from a timeline's Edit timeline button) finds a timeline the user names.list_projectswithaccount="all"does the same on demand.connect_account(site)adds a site the user already has, from its address alone: Alto reads the site's public web config (/__/firebase/init.json), and the user clicks Continue with Google on the site's own sign-in page. Accounts are kept in~/.config/alto/accounts.json(no tokens; each sign-in is its ownsession-<project>.json, mode 0600).- A timeline can be named by its id, its published page address
(
…/pv/<key>/) or its title. Anot_foundsays where it is: another account (found_in_accounts), or the homepage with no draft behind it (published_without_draft). import_timeline(published_key)restores a draft whose page was published from a folder-backed connector: that publish now keeps a compressed copy of the draft beside the page (users/{uid}/alto_snapshots/{key}).- Publishing into a connected account writes the page straight into it and does not redeploy the site: deploying needs the Firebase CLI logged in as that Google account, which this computer may not be. A sign-in whose site address Alto does not know is never given a guessed one (a project's default site can be somebody else's); the site is learned from the account's own published timelines.
Repo layout
engine/— the three page templates, extracted content-free from the reference build. The extraction fixtures they were derived from are not published: they contain the author's own writing.test_roundtrip.pyskips without them.alto/build/— brief model, height estimator, layout resolver (a port of the engine's own), block generators, verifier, offline bundler.alto/mcp_server.py— the 29 MCP tools + interview prompt.alto/build/sanitize.py— makes user content inert before it reaches a page. Load-bearing: the engine renders detail sections straight intoinnerHTML.alto/publish_static.py— free-tier static publishing via the Firebase CLI.packaging/— the .mcpb bundles, the download page and the registry entry. Seepackaging/README.md.alto/web.py,alto/auth/— a full remote-server variant (streamable HTTP- OAuth 2.1), not used by the local install; kept for a future hosted deployment.
Development
Privacy
See alto/privacy.html. Short version: your source documents stay in your
Claude conversation; the connector stores only what it builds, locally in
~/Documents/Alto (and, if you publish, on your own Firebase site).
来源:README.md,提交 9d9e8a2
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
