Project Progress MCP 标志

Project Progress MCP

社区
xop01

make your ai track the progress of your project without drifting off

发布者xop01
代码仓库project-progress-mcp
语言Zig
复刻数
15
星标数
74
可用工具
0
传输类型stdio
链接
  • 将工具接入 AI 工作流

    Project Progress MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 74 个 Star 和 15 个 Fork。

project-progress-mcp

A Zig MCP server that lets coding agents persist project goals, progress notes, documentation indexes, and session freshness checks without embedding an LLM.

The server is intentionally mechanical. Agents do the analysis, scanning, summarizing, and planning. The MCP validates and stores the structured JSON they provide, writes project_progress.md, and records SQLite metadata so future sessions can detect drift.

Markdown and registered-document writes go through unique sibling temp files before rename to reduce partial documentation writes. Leftover *.tmp artifacts are ignored by snapshots and git.

SQLite connections use WAL mode, synchronous=NORMAL, and a short busy timeout so concurrent agent sessions can wait through transient database locks.

Build

Install Zig and a SQLite development package that provides sqlite3.h and a linkable sqlite3 library.

powershell
zig build

On Windows, make sure sqlite3.lib and sqlite3.dll are available to the compiler/runtime. If SQLite is not globally discoverable, pass explicit paths:

powershell
zig build -Dsqlite_include=C:\sqlite\include -Dsqlite_lib_dir=C:\sqlite\lib

Alternatively, build against the SQLite amalgamation by providing sqlite3.c; the directory containing that file must also contain sqlite3.h:

powershell
zig build -Dsqlite_source=C:\sqlite-amalgamation\sqlite3.c

This repository has been verified on Windows with Zig 0.16.0 using -Dsqlite_source and the official SQLite amalgamation.

Smoke Test

Run static preflight checks that do not require Zig:

powershell
node .\scripts\preflight.mjs

After building, run the stdio MCP smoke test:

powershell
node .\scripts\smoke-test.mjs .\zig-out\bin\project-progress-mcp.exe

On non-Windows hosts, omit the .exe or pass the compiled binary path. The smoke test creates a temporary project, calls the core MCP tools through Content-Length framed JSON-RPC, checks index validation rejects bad payloads, initializes a tiny git repository when git is available, and removes the temporary project afterward.

MCP transport

The server speaks JSON-RPC 2.0 over stdio. Clients may send one JSON object per line or LSP-style Content-Length frames. A single message is limited to 32 MiB; oversized newline-delimited messages are rejected and the process keeps running. The server answers ping.

On Windows, expose the binary via an NTFS junction so Cursor sees a no-space path (Cursor shell-splits spaced command paths, and copying under %USERPROFILE%\.cursor\ triggers ACL/sandbox behavior that blocks stdio):

powershell
zig build
node .\scripts\install-cursor-mcp.mjs           # creates <drive>\pp-mcp junction
# or pick your own no-space path on the same drive:
node .\scripts\install-cursor-mcp.mjs --link=D:\bin\pp-mcp

Then point Cursor at the junctioned executable (use the path the install script prints):

json
{
  "type": "stdio",
  "command": "D:/pp-mcp/project-progress-mcp.exe"
}

The junction requires no admin rights; it lives on the same drive as the repo and stays in sync with every zig build (no copies to keep fresh). See .mcp.example.json for the full entry and a zig build run dev entry. Tool argument examples live under examples/.

Agent contract

The MCP does not scan code semantically and does not generate documentation. Agents must:

  1. Get user permission plus a full goal, MVP, and completion criteria before bootstrapping an empty project.
  2. Scan non-empty projects themselves and submit structured summaries.
  3. Keep project_progress.md current through project_progress.index.
  4. Run project_progress.session_check before work.
  5. If drift is reported, inspect the changed files and update progress records before continuing.
  6. Run project_progress.record_snapshot after progress documentation is updated.

Tools

tools/list exposes nested input schemas for sections, entries, and documents.

project_progress.instructions

Returns the required JSON shapes and workflow.

project_progress.bootstrap

Creates .project-progress/progress.sqlite, stores the user-approved goal, and creates project_progress.md if missing. user_authorized must be true and goal, mvp, and completion_criteria must be supplied and nonblank.

Required arguments:

json
{
  "project_root": "D:/path/to/project",
  "user_authorized": true,
  "goal": "Full project goal",
  "mvp": "MVP description",
  "completion_criteria": ["criterion one", "criterion two"]
}

project_progress.session_check

Compares current git state and file modification times against the last stored snapshot. Returns git_drift plus files the agent must inspect if the project moved since the last MCP save, including files deleted after the previous snapshot. It also returns project_empty, file_count, has_snapshot, and snapshot_file_count so the agent can choose bootstrap or scan flow. Each file drift item includes legacy size/mtime_ns fields plus structured current and snapshot file states so agents can distinguish new, modified, and deleted files without an extra database read. Git status is captured with branch information plus explicit upstream, ahead, and behind fields from the local repository. The MCP does not fetch from remotes; agents should fetch first if they need network-fresh remote state. session_check is read-only with respect to MCP initialization; if no database exists, it returns mcp_store_initialized: false. has_snapshot is true once a snapshot session has been recorded, including a snapshot of zero files. snapshot_file_count is the number of file rows. Unreadable files are skipped instead of failing the check. A directory that cannot be entered sets scan_incomplete and suppresses deletion drift so unseen files are not reported as removed. Files larger than 1 MiB store a null content hash and are compared by size and mtime. It also returns a structured action_required value (bootstrap_authorization, scan_project, inspect_drift, repair_consistency, or ready) and can_continue, so an agent does not need to infer the session gate from prose. File drift includes SHA-256 content hashes in addition to size and mtime. This catches same-size edits and makes comparisons useful across filesystems with different timestamp precision. When a database exists, the check is recorded as a check session while git comparisons still use the latest snapshot session as the saved baseline.

project_progress.index

Stores the agent supplied progress index and optionally replaces the root project_progress.md. If full_markdown is omitted, the MCP renders project_progress.md from the supplied sections and entries. The stored section index is replaced on each call so removed sections do not remain in future context. Index replacement is transactional.

Entries may include entry_id. Entries with the same entry_id are updated in place; entries without entry_id are appended as history notes. The response contains a monotonically increasing revision. Pass the revision returned by context as expected_revision when updating an existing project. Once the stored revision is greater than zero, expected_revision is required. A stale or omitted revision receives Conflict instead of overwriting newer progress. If the database transaction rolls back, the previous project_progress.md is restored. The MCP stores a hash of the root Markdown alongside the revision. context and session_check expose markdown_consistency so an interrupted write or database failure can be detected. The MCP enforces stable lowercase section IDs, bounded status labels, and priorities 1 high, 2 normal, 3 later so future agents can sort and update work deterministically. completion_criteria, section anchors, and document tags must be arrays of strings.

project_progress.register_docs

Registers documentation files and summaries. When content is supplied, the MCP writes the documentation file under the project root. Document paths must be safe relative paths without absolute roots, drive prefixes, empty segments, ., or .., and tags must be an array of strings. Documentation database registration is transactional. Content files are written before commit, and a failed call rolls the new rows back and restores files written during that call. Before writing content, the MCP resolves the nearest existing parent and rejects symlink/junction paths that escape the project root. Paths with Windows device names (NUL, CON, COM1, and similar) are rejected.

project_progress.record_snapshot

Stores current git state and file mtimes after the agent has updated progress documentation. The previous file snapshot is replaced so resolved deletions do not keep reappearing as drift. Snapshot replacement is transactional.

project_progress.context

Returns the saved goal, indexed project_progress.md sections, recent entries, documentation records, and freshness metadata for the next agent session. Stored *_json fields, including registered document source_json, are returned as structured JSON values. The response also includes work_queue.active, work_queue.blocked, and work_queue.next, derived from progress entries with active, blocked, and planned statuses ordered by priority. Like session_check, this is read-only with respect to MCP initialization; if no database exists, it returns empty collections with mcp_store_initialized: false. The response promotes latest_check and latest_snapshot for quick resume decisions, and also includes recent latest_sessions history. Session history includes session_kind values such as check and snapshot. Latest sessions include persisted git upstream/ahead/behind metadata. The response includes the current progress revision and markdown_consistency fields. Session drift_json values use a consistent {git_drift,file_drift} shape for both checks and snapshots.

Bug reports

Open investigation notes live under docs/bugs/. See in particular docs/bugs/2026-08-07-large-tree-session-timeout-opaque-errors.md for timeouts / connection closes on large trees and opaque InvalidRequest tool errors.

将 Project Progress MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Project Progress MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Project Progress MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Project Progress MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "project-progress-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Project Progress MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Project Progress MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Project Progress MCP 帮我完成这项任务吗?
Project Progress MCP
当然。我已阅读。
以下是我使用 Project Progress MCP 得到的结果。

常见问题

Project Progress MCP MCP 服务器有什么用途?

Project Progress MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Project Progress MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Project Progress MCP,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Project Progress MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Project Progress MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Project Progress MCP MCP 连接到 TypingMind?

Project Progress MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Project Progress MCP MCP 在 TypingMind 中提供哪些工具?

Project Progress MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Project Progress MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Project Progress MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇