
my-pi
io.github.BoxBoxmari由 GitHub 帳號 BoxBoxmari 發布v0.1.0-alpha.2更新於 Nov 10, 2026
Local-first MCP runtime for coding agents with safe workspace access, AST/LSP navigation, and Git.
概覽
一個本機 MCP 執行環境,讓編碼助理以受限方式存取程式碼庫的檔案系統、AST/LSP 導覽與 Git。
- 可以做什麼
- my-pi 以本機 stdio MCP 伺服器執行,提供四組共 13 個工具:檔案系統操作(fs_read、fs_write、fs_patch、fs_stat)、搜尋與工作區資訊(search、workspace_info)、AST 與語言伺服器導覽(ast_search、lsp_status、lsp_symbols、lsp_navigate、lsp_diagnostics)以及 Git 內容(vcs_status、vcs_diff)。寫入可用內容指紋驗證保護,而非盲目覆寫。AST 搜尋支援 TypeScript、JavaScript、Python、Rust 與 Go;當主機上安裝了相容的語言伺服器時,LSP 功能支援 TypeScript、Python、Rust 與 Go。
- 適用情境
- 當編碼助理需要以受控方式存取真實的本機程式碼庫、而非取得不受限制的 shell 時使用,例如讀取與修補檔案、導覽符號與定義,或檢視 Git 狀態與差異。適合支援 MCP 的本機開發環境,如 Claude Code、Cursor 或 OpenCode。
- 執行需求
- 需要 Node.js 24.0.0 或更新版本;可透過 npm 全域安裝或以 npx 執行。必須以 --workspace 或環境變數 MY_PI_WORKSPACE_ROOT 指定工作區,否則啟動會失敗關閉。僅限桌面端;未宣告身分驗證。語言伺服器功能需要主機上具備相容的語言伺服器執行檔。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 my-pi,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
my-pi
[npm version] [npm downloads] [Listed on mcpservers.org] [my-pi MCP server – quality and maintenance score on Glama] [CI status] [License]
my-pi is a local-first Model Context Protocol (MCP) runtime for coding agents that need controlled access to a real codebase without handing the agent an unrestricted shell.
It combines bounded filesystem operations, content-preconditioned writes, structural AST search, language-server navigation, Git status/diff tooling, and an explicit read-only-by-default security model behind one stdio MCP server.
Why my-pi
- Local-first: source code and detailed workspace state stay on the host.
- Read-only by default: mutation and language-server process startup require explicit elevation.
- Safer writes: updates can be guarded by content fingerprints instead of blind overwrites.
- Code-aware navigation: Tree-Sitter AST search plus LSP symbols, definitions, references, hover, and diagnostics.
- Git-aware context: bounded status and diff capabilities without exposing an unrestricted command runner.
- Host-neutral: designed for MCP-capable coding environments including Claude Code, Cursor, and OpenCode.
Install and run
Requires Node.js >=24.0.0.
Or inspect a generated host configuration without a global install:
The server starts in the read-only security profile. Enable writes and language-server processes only for a trusted workspace:
Starting without --workspace or MY_PI_WORKSPACE_ROOT fails closed. Use --allow-cwd only as an intentional opt-in to the current directory.
Core MCP capabilities
The stable alpha surface exposes 13 tools across four groups:
- Filesystem:
fs_read,fs_write,fs_patch,fs_stat - Search/workspace:
search,workspace_info - AST/LSP:
ast_search,lsp_status,lsp_symbols,lsp_navigate,lsp_diagnostics - Git:
vcs_status,vcs_diff
Structural AST search supports TypeScript, JavaScript, Python, Rust, and Go. LSP integrations support TypeScript, Python, Rust, and Go when compatible language-server executables are available on the host.
Generate host configuration
Security model
my-pi uses explicit workspace authority and pre-read sensitive-path policy. The default profile is intentionally restrictive; trusted mode is an explicit opt-in for mutation and language-server processes.
Review the full security model before enabling trusted mode:
https://github.com/BoxBoxmari/my-pi/blob/main/docs/SECURITY_MODEL.md
Project status
Current release channel: alpha. The package is intended for evaluation and controlled local development while coordination/evaluation features under the repository's "Production Next" work remain experimental.
Repository, architecture, benchmarks, release evidence, and contribution details:
https://github.com/BoxBoxmari/my-pi
The primary executable is my-pi-mcp; ccr-mcp is retained as a compatibility alias.
來源:apps/my-pi-mcp/README.md,提交 59f3291
工具
0版本歷史
1- v0.1.0-alpha.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分