Milestone

io.github.LAHutchins91v1.0.1更新於 Oct 5, 2026

Approved freelance milestone definitions and what done means, shared with AI assistants over MCP.

已驗證Streamable HTTP可網頁執行Business & CommerceProductivity & Workflow

概覽

AI 產生的概覽

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 更改。
安裝前請注意
伺服器行程需要 SUPABASE_ANON_KEY、STRIPE_SECRET_KEY 與 STRIPE_WEBHOOK_SECRET 等密鑰,應設定在伺服器端而不是 MCP 標頭中;README 說明不要把 API 密鑰或密碼貼到標頭。工具會寫入與變更里程碑紀錄,包括 approve_milestones、declare_milestone_complete、declare_next_payment_released 與 accept_milestone_change,款項釋出措辭與 Stripe 訂閱相關。同一資料檔案只能由一個行程占用,README 提醒不要把 MILESTONE_DATA_PATH 指向其他產品的資料檔案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Milestone,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

json
{  "mcpServers": {    "milestone": {      "url": "http://127.0.0.1:3000/mcp"    }  }}

Do not add a headers block. Cursor registers a client and opens sign-in.

Claude Code:

bash
claude mcp add --transport http milestone http://127.0.0.1:3000/mcp

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

bash
npm installnpm testnpm run typechecknpm run buildnpm start

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 (default http://localhost:3000)
  • SUPABASE_URL
  • SUPABASE_ANON_KEY
  • STRIPE_SECRET_KEY
  • STRIPE_WEBHOOK_SECRET
  • STRIPE_PRICE_MONTHLY and STRIPE_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
  1. v1.0.1最新Oct 5, 2026