
Milestone
io.github.LAHutchins91v1.0.1更新于 Oct 5, 2026
Approved freelance milestone definitions and what done means, shared with AI assistants over MCP.
概览
Milestone 保存自由职业者已批准的里程碑定义与验收标准,让助手在回答前先读取这些记录。
- 功能
- Milestone 保存已批准的里程碑定义、说明“完成”含义的验收标准、已保存的交付物与工作项,以及助手可以对客户使用的措辞。工具包括 list_milestone_sets、open_milestone_set、read_milestone_set、define_milestone、save_acceptance_criterion、save_deliverable、save_work_item、record_criterion_met、declare_milestone_complete、declare_next_payment_released、mark_work_done、write_client_wording、approve_milestones、suggest_milestone_change 和 accept_milestone_change。除非该里程碑上每条已保存的验收标准都已满足,服务器会拒绝宣布里程碑完成或下一笔款项已释放;也会拒绝额外交付物或未保存的工作,除非明确批准了建议的变更。
- 适用场景
- 当自由职业者希望助手依据已保存、已批准的记录来回答客户关于里程碑状态、交付物和款项释放的问题,而不是自行编造进度时,适合使用。也适用于完成声明必须与已存验收标准绑定的工作流程。
- 运行要求
- 需要一个支持 Streamable HTTP 的远程端点,并通过 OAuth 登录 Milestone 账户;动态客户端注册意味着客户端 id 和密钥留空。工具需要 Pro 订阅或有效试用。自托管需要 Node.js,执行 npm install/test/typecheck/build/start,并在服务器端设置 APP_BASE_URL、SUPABASE_URL、SUPABASE_ANON_KEY、STRIPE_SECRET_KEY、STRIPE_WEBHOOK_SECRET、STRIPE_PRICE_MONTHLY 和 STRIPE_PRICE_YEARLY。记录保存在 JSON 文件中,默认路径为 ~/.milestone/milestone.json,可用 MILESTONE_DATA_PATH 更改。
安装
在 SourceWeft 中
- 打开 控制台中的 Milestone,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"milestone": {
"type": "http",
"url": "https://milestone-continuity2.vercel.app/mcp"
}
}
}README
Milestone
Milestone keeps a freelancer's approved milestone definitions and what done means, then lets an assistant read that record before it answers. An assistant cannot say a milestone is complete, or that the next payment is released, unless the saved acceptance criteria were met. It cannot invent an extra deliverable or mark work done that was not saved.
It works with ChatGPT, Claude, Gemini, Grok, and Cursor, plus any other MCP client that can do Streamable HTTP and OAuth. It is not a ChatGPT-only plugin.
Sign in with your Milestone account when the assistant opens OAuth. Do not paste an API key or password into a header. Milestone supports dynamic client registration: leave the client id and secret empty. The protected-resource metadata at /.well-known/oauth-protected-resource/mcp points clients at the OAuth issuer, which registers them.
Milestone tools need Pro or an active trial. A new subscription includes a 14-day trial. This page does not list a price. Checkout shows the billing interval and payment terms.
There is no hosted production domain in this repository. Run the server yourself and use the base URL you configure. The default MCP address is http://127.0.0.1:3000/mcp.
What the assistant can do
After you approve the connection, the server exposes these tools:
- list_milestone_sets
- open_milestone_set
- read_milestone_set
- define_milestone
- save_acceptance_criterion
- save_deliverable
- save_work_item
- record_criterion_met
- declare_milestone_complete
- declare_next_payment_released
- mark_work_done
- write_client_wording
- approve_milestones
- suggest_milestone_change
- accept_milestone_change
read_milestone_set is the read the assistant should do before it answers. It includes the milestone definitions, the acceptance criteria that say what done means, the saved deliverables and work, and what the assistant may tell the client. Draft definitions are not an approved commitment. A suggested milestone change does not change the record. After the milestones are approved, declare_milestone_complete refuses to call a milestone complete and declare_next_payment_released refuses to say the next payment is released unless every saved acceptance criterion on that milestone was met. save_deliverable refuses an extra deliverable, and mark_work_done refuses work that was not saved. Those additions go through suggest_milestone_change and then accept_milestone_change, and only when you explicitly approve that change.
The assistant only calls these tools when you and the host allow it.
Connect
Cursor, in ~/.cursor/mcp.json or a project .cursor/mcp.json:
Do not add a headers block. Cursor registers a client and opens sign-in.
Claude Code:
Do not pass an Authorization header. Other clients use the same address, choose OAuth, and leave client id and secret empty. Steps for ChatGPT, Claude, Gemini, Grok, and Cursor are on the connect page at /connect.
Registry metadata for this server is in server.json (io.github.LAHutchins91/milestone). The public remote MCP URL there is https://milestone-continuity2.vercel.app/mcp.
Run
When stdin is a terminal, Milestone serves Streamable HTTP on port 3000. When stdin is not a terminal, it speaks MCP over stdio and still opens the HTTP port. Logs during stdio mode go to stderr so they do not mix with the protocol.
Records are stored durably in a JSON file. The default path is ~/.milestone/milestone.json. Set MILESTONE_DATA_PATH to move it. One server process owns that file. Do not point it at another product's data file.
OAuth uses the same idea as a Supabase authorization server with dynamic client registration. Set these on the server process, not in an MCP header:
APP_BASE_URL(defaulthttp://localhost:3000)SUPABASE_URLSUPABASE_ANON_KEYSTRIPE_SECRET_KEYSTRIPE_WEBHOOK_SECRETSTRIPE_PRICE_MONTHLYandSTRIPE_PRICE_YEARLY(Stripe catalog ids, not a product price)
Tool calls other than discovery require a signed-in account whose subscription status is active or trialing.
来源:README.md,提交 4c52f75
工具
0版本历史
1- v1.0.1最新Oct 5, 2026
