
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 分