
Project Context
io.github.sandovalrr由 GitHub 帳號 sandovalrr 發布v0.4.0更新於 Oct 24, 2026
Safely manage repository-scoped issues across Linear, GitHub Issues, and Jira Cloud.
概覽
本機 MCP 伺服器,讓助理讀取並安全修改 Linear、GitHub Issues 與 Jira Cloud 中依儲存庫劃分的議題。
- 可以做什麼
- 解析目前的 Git 儲存庫與其設定的議題供應商,並查詢議題能力
- 列出、搜尋與讀取議題,包含關聯、子議題與已封存項目
- 列出與搜尋使用者,並搜尋標籤、週期、里程碑等議題選項
- 列出議題留言
- 準備並套用議題變更,每次寫入分為預覽與單次嘗試套用兩個步驟
- 適用情境
- 適合需要讓助理處理某個特定儲存庫在 Linear、GitHub Issues 或 Jira Cloud 中的議題,並希望寫入先預覽確認而非直接執行的情境。
- 執行需求
- 需要 Linux 或 macOS 上的 Node.js 22 或更新版本,以本機 stdio 程序執行。設定目錄中的主機本機 YAML(可用 PROJECT_CONTEXT_CONFIG_DIR 覆寫)定義儲存庫、供應商、目標與預期身分;憑證來自檔案、環境變數、作業系統鑰匙圈或僅以 argv 傳入的指令。選用的 PROJECT_CONTEXT_CWD 與 PROJECT_CONTEXT_STATE_DIR 可覆寫儲存庫備援路徑與狀態目錄。需要連線至供應商固定 HTTPS 來源的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Project Context,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
project-context
project-context is a local, provider-neutral MCP server for repository-scoped
issue handling. It gives agents one guarded interface to Linear, GitHub Issues,
GitHub Projects v2, and Jira Cloud while keeping project mappings and
credentials outside source repositories.
The server resolves the current Git repository, selects its configured issue provider, verifies the authenticated account, and separates every write into a preview and a single-attempt apply step. Pull requests, releases, repository administration, Git authentication, and commit signing are intentionally out of scope.
Quick start
Requirements: Node.js 22 or newer on Linux or macOS.
The first command creates secure, host-local starter files without overwriting anything that already exists:
Copy and adapt the sanitized examples in examples/, validate the result, and
then register the project-context-mcp stdio command in your MCP client. The
complete Codex, Claude, Zed, and VS Code configurations are in
docs/installation.md.
Safety model
- Host-local YAML determines the repository, provider, target, and expected identity. Missing or ambiguous context fails closed for writes.
- Credentials resolve from files, environment variables, OS keychains, or argv-only commands. Literal secrets in YAML are rejected.
- Provider calls are restricted to fixed HTTPS origins, reject redirects, cap response sizes and timeouts, and never automatically retry writes.
- Linear issue operations use a fixed allowlist of Linear's hosted MCP tools; project-context never proxies the upstream server's broader tool catalog.
- Prepared writes expire after ten minutes, are encrypted with AES-256-GCM,
and can be claimed only once. An uncertain apply result becomes
indeterminateand is never replayed automatically. - Mutation audit records contain metadata only, are mode
0600, and rotate locally. The project has no telemetry.
Read docs/threat-model.md for trust boundaries and
residual risks, and docs/routing-and-safety.md
for operational behavior.
Commands and MCP tools
The stdio server exposes eleven tools:
resolve_project_contextlist_issuessearch_issueslist_userssearch_userssearch_issue_optionsget_issue_capabilitiesget_issuelist_issue_commentsprepare_issue_changeapply_issue_change
Every tool has an input and output schema. Starting the server has no setup side effects; when host configuration is absent, tools return an actionable structured error.
Linear additionally supports target-scoped subissues, due dates, estimates, cycles, milestones, blocking/related/duplicate relationships, comment replies and edits, archived listing, and relation-expanded reads. SLA fields, permanent deletion, and non-issue Linear features are not exposed.
GitHub additionally supports repository issue types and milestones, native parent/subissue hierarchies, blocking dependencies, duplicate relationships, comment edits, direct-subissue listing, and relation-expanded reads. GitHub custom-field mappings, generic related-to relationships, threaded comment replies, pull requests, and repository administration are not exposed.
integration manifest prints the provider-neutral command definition by
default. Pass --client codex, claude, zed, or vscode to emit native,
ready-to-paste configuration pinned to the installed package version. Add
--json when automation needs an envelope containing the client, format, and
configuration.
The optional project-issues agent skill is packaged but never installed as an
npm lifecycle side effect:
Use --replace only after reviewing status; replacement creates a timestamped
backup.
Documentation
docs/installation.md: package and MCP client setup.docs/configuration.md: host-local YAML and credential resolvers.docs/architecture.md: components and runtime boundaries.docs/provider-behavior.md: provider-specific behavior.docs/releasing.md: bootstrap, semantic release, npm, and MCP Registry.CONTRIBUTING.md: development and review requirements.SECURITY.md: supported versions and private reporting.
License and attribution
This project is available under the MIT License, copyright 2026 Richard Sandoval. The copyright and permission notice must remain with copies or substantial portions of the software.
If this repository is used as the starting point for another project, a visible acknowledgment is appreciated:
Based on project-context, created by Richard Sandoval.
來源:README.md,提交 0e1f2e4
工具
0版本歷史
1- v0.4.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分