
siGit CLI
si.sigit由 sigit.si 发布v1.3.0更新于 Oct 30, 2026
Run sigit.si locally: browse repos, search code, manage PRs, issues, and Cloud Sessions.
发布方自己的服务:siGit
概览
本地 siGit CLI 服务器,通过 stdio 让 AI 助手操作 sigit.si 的仓库、拉取请求、议题、代码搜索和 Cloud Sessions。
- 可以做什么
- 浏览和创建仓库,使用已登录凭据克隆,并把分支发布为站点
- 列出、查看和创建拉取请求,默认使用当前检出目录的仓库和分支
- 列出和创建议题,并在指定 ref 上搜索或查看代码
- 设置和查看提交状态检查
- 启动、列出和查看 Cloud Sessions 及其记录
- 查看账户、模型和账单信息,或直接调用原始 API 端点
- 适用场景
- 适合在 sigit.si 仓库中工作时使用,让助手在终端里处理拉取请求、议题、代码搜索和状态检查;在仓库检出目录内运行时,仓库会被自动推断。
- 运行要求
- 以本地进程运行,通过 cargo 安装 sigit-si-cli 包,并以 si mcp 通过 stdio 启动。需要已通过 si auth login 登录的 sigit.si 账户,或提供 SIGIT_TOKEN 会话令牌(会覆盖已存储的令牌)。可用 SIGIT_TOOLSETS 或 --toolsets 限制暴露的工具;SIGIT_HOST 或 --environment 可切换到非默认服务器。
安装
在 SourceWeft 中
- 打开 控制台中的 siGit CLI,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
sigit-si-cli
si is the command line interface for sigit.si — sign in,
manage repositories, review pull requests, triage issues, search code, and
drive Cloud Sessions, all from the terminal.
Install
This installs a binary named si.
Usage
Pass --json to any read command for machine-readable output.
As an MCP server
si mcp serves these same commands to an AI agent as
MCP tools over stdio:
There is nothing to authenticate — the server reuses the token si auth login
stored. Point your editor at the directory of a checkout and repository tools
default to the repo you're standing in, so the agent can say "list the open
pull requests" without naming one; create_pull_request likewise defaults its
head to the checked-out branch.
Trim the tool list when an agent doesn't need all of it:
Toolsets are account, repo, issue, pr, code, hook, session, and
billing. sigit.si also hosts a remote MCP server at /api/v1/mcp for clients
that would rather connect over HTTP than spawn a binary.
Environments
Credentials are stored per-environment in ~/.sigit/token (or
~/.sigit-dev/token). SIGIT_TOKEN overrides the stored token, which is how
CI authenticates without an interactive login.
Workspace layout
crates/sigit-si-api— a standalone, typed Rust client for the sigit.si JSON API. No CLI dependencies (clap, dialoguer, …); usable from any Rust project that wants to talk to sigit.si.crates/cli— thesibinary: command parsing, terminal rendering, git remote resolution, and credential storage, built on top ofsigit-si-api.
Issues, pull requests, and code search have no REST surface on sigit.si yet —
they're served over the same MCP (Model Context Protocol) JSON-RPC endpoint
the AI agent uses. sigit-si-api speaks that transport internally; it's not
visible at the call site.
MCP Registry listings
This repo publishes two entries to the official MCP Registry, one per way of reaching the same tools, so registry-aware clients can add either in one click:
The CLI holds server.json because it's what this repo ships, and that's the
filename mcp-publisher defaults to. Sibling listings are named after their
own leaf, so the file says which entry it publishes.
Both go out through the release-mcp-registry.yml workflow, and both prove
namespace ownership with a DNS TXT record on sigit.si rather than GitHub
OIDC, so one credential covers the pair. A package listing has a second hurdle:
the registry fetches the crate from crates.io and looks for the
mcp-name: si.sigit/cli marker in its README, which is why that marker sits in
this file. Crate versions are immutable, so a release that ships without the
marker can never be listed, and fixing it costs a new version. The internal
setup and release runbook live with the server (private sigit-si repo).
To cut a release, bump [workspace.package].version and the sigit-si-api
dependency in the root Cargo.toml, merge development into main, and push a
vX.Y.Z tag. release-crates.yml checks the crate versions against the tag,
publishes whichever of sigit-si-api and sigit-si-cli isn't on crates.io yet
(through Trusted Publishing, so no token is stored), then dispatches
release-mcp-registry.yml.
Development
Disclaimer
All em dashes are written by Seto Elkahfi.
License
Apache-2.0
来源:README.md,提交 a3ab1b3
工具
0版本历史
2- v1.3.0最新Oct 30, 2026
- v1.1.0Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。