
ID Protocol
io.github.markoblogo由 GitHub 账号 markoblogo 发布v0.4.0更新于 Oct 24, 2026
Portable human-AI context protocol reference tooling.
概览
一个本地 Python 命令行工具,把经过审阅的个人资料文件转换为紧凑、经隐私过滤的上下文,供 AI 工具和代码仓库使用。
- 可以做什么
- ID Protocol 提供 idctl 命令行工具,用于管理以 Markdown 文件保存的个人上下文资料。命令包括 init、validate、refresh-soul、export-compact、diff 和 install-set-hook。它会生成 soul.md、context.compact.json、mcp.context.resource.json 等派生文件,并按逐字段隐私策略过滤,未列出的字段只保留在本地。README 说明该软件包是本地 CLI,本身不提供 MCP 服务器,也不同步厂商账户。
- 适用场景
- 当你希望把工作偏好和操作约束保存在自己控制的文件中,并在 AI 工具与代码仓库之间传递经过审阅和过滤的上下文时适用。适合需要明确的逐字段导出权限、并在共享上下文前先审阅的用户。
- 运行要求
- 需要本地安装 Python 3.11 或更高版本(例如通过 uv tool install id-protocol)。紧凑导出和 MCP 资源导出需要先用 idctl init 创建资料目录,并具备 owner_id 与所请求资料匹配的有效隐私策略。未声明需要账户、API 密钥或网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 ID Protocol,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ID Protocol — portable context for AI tools
[CI] [PyPI] [Python] [MIT] [ID Protocol — Local CLI on MCPRush]
Keep your working preferences in files you control. ID turns a reviewed profile into compact, privacy-filtered context that can move between AI tools and repositories.
Try it in five minutes
Requires Python 3.11 or newer.
Edit profiles/demo/profile.minimal.md, then build and inspect the portable output:
The starter profile is provisional until you review it. Use an alias such as demo or my-work-profile; a legal name is unnecessary. ID does not upload generated files.
Files and ownership
Markdown profiles remain the source of truth. Generated JSON is a transport view and may omit nuance. The package is a local CLI; it does not provide an MCP server or synchronize vendor accounts.
Privacy behavior
Compact and MCP resource exports require a valid policy whose owner_id matches the requested profile. Unlisted fields stay local-only. Missing, malformed, mixed, conflicting, or owner-mismatched policies block export.
Legacy list policies from earlier releases are normalized in memory during validation and export. Their source files remain unchanged and their restrictions remain effective. --allow-unfiltered only permits a missing policy in a reviewed legacy workflow; it cannot bypass an invalid policy.
Review the resulting export before attaching it to another tool. See the privacy model, policy schema, and threat model.
ABVX toolchain
These remain independently installable. ID does not install companions or grant tool permissions.
For a repository that already contains a reviewed ID profile:
The adapter returns owner-local bootstrap pointers to SET and preserves an existing custom hook. See the SET integration guide.
Evidence
Three reproducible demos exercise installed onboarding, policy-filtered omission, legacy-policy compatibility, and the agentsgen/SET handoff with synthetic data. They measure local CLI behavior and runtime, not AI answer quality.
The historical benchmark snapshot is a small checked-in sample with explicit limits. AI-client behavior still depends on each client's configuration and context rules.
Develop
Start with the documentation index, protocol, integration boundaries, and contributing guide. Use synthetic profiles in public issues and pull requests.
ABVX ecosystem
- AGENTS.md_generator — Exports reviewed context for repository guidance. Current release:
v0.5.1. - AGENTS.md_generator — Keeps repository guidance and machine-readable context current. Current release:
v0.5.1. - abvx-agent-skills — Uses shared, reviewable agent capabilities during maintenance. Current release:
v0.16.1.
This block is generated from the reviewed ABVX ecosystem registry.
来源:README.md,提交 80ff7da
工具
0版本历史
1- v0.4.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分