ScopeProfit

io.github.FranprzDev由 GitHub 帳號 FranprzDev 發布v1.0.0更新於 Nov 12, 2026

Turn client requests into a clear scope and a quote with your rates. 20 tools, PDF/Word exports.

發布方自己的服務:Scope (AEC) - Preview

已驗證Streamable HTTP可網頁執行效率與工作流商業與電商

概覽

AI 產生的概覽

把客戶零散的需求整理成有版本的范围文件、工時估算與報價,可從 ChatGPT、Claude、Cursor 等 MCP 用戶端操作。

可以做什麼
  • 建立與管理專案,加入客戶輸入(文字與圖片連結),列出與封存專案
  • 起草和修改範圍章節,回答卡關問題,查看摘要並核准鎖定範圍版本
  • 記錄與列出變更請求,比對簡報版本
  • 提供工時區間估算,儲存、讀取並決定報價與費率卡
  • 將範圍文件與報價匯出為 Markdown、PDF 或可編輯 DOCX,並產生簽章下載連結
適用情境
適合自由工作者與軟體外包團隊,希望由助理把客戶需求整理成正式範圍、風險、待確認問題與含價格的報價,再匯出文件交給客戶。
執行需求
遠端 Streamable HTTP 端點,不需本機安裝。必須驗證:使用安裝方核發的 Authorization Bearer API 金鑰,或 ChatGPT、Claude 連接器使用內建 OAuth 2.1 流程。自架需要 Node.js、PostgreSQL 以及 DATABASE_URL、ENCRYPTION_KEY、PUBLIC_API_URL 等環境設定;選用的伺服器端起草代理需要擁有者自己的 Gemini 金鑰。
安裝前請注意
伺服器會保存客戶專案、簡報與報價資料,送出前請確認內容。核准只會鎖定範圍版本,不會寄信給客戶,匯出連結需自行分享。匯出會產生簽章下載連結,應視為可分享的敏感憑證。報價與費率卡屬於敏感的商业定價資訊。API 金鑰由營運方核發,自架還需資料庫與加密金鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ScopeProfit,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.FranprzDev%2Fscopeprofit/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "scopeprofit": {
      "type": "http",
      "url": "https://scopeprofit-mcp.franutn23.workers.dev/api/mcp"
    }
  }
}

README

Scope-to-Profit

Scope copilot for freelancers and software agencies, exposed as an MCP server. It turns a client's messy idea (loose text, screenshots, "I want something simple but…") into a formal, versioned scope document that any AI agent can drive.

Source of truth: docs/scope-to-profit.md (product scope v1/v2 and the current MCP-first architecture). MCP setup and tool reference: docs/mcp.md.

What it produces

  • requirements (functional / non-functional) with a verbatim source quote
  • blocking questions
  • risks with a traffic light
  • scope (included / excluded / assumptions / acceptance criteria)
  • hour-range estimate (no prices)
  • next steps

All of it in the fixed template 7.1, exported to Markdown, PDF and editable DOCX.

Architecture (MCP-first)

ChatGPT · Claude · Cursor · Grok bots · custom agents                │  MCP (Streamable HTTP / stdio)                ▼        Backend API (NestJS) ── scope tools ── LangGraph agent (optional) ── PostgreSQL + persistent storage
  • MCP server (primary interface) — POST /api/mcp (Streamable HTTP, stateless) and a stdio entrypoint for local hosts. 20 tools: create_project, add_client_input (text + image URLs), get_tldr, get_scope_document, list_pending_questions, answer_question, update_scope_section, approve_scope, export_document, list_projects, archive_project, get_project, get_conversation, get_input_image, log_change_request, list_change_requests, get_quote, save_quote, export_quote, decide_quote.
  • Auth — Authorization: Bearer with a ScopeProfit API key, or OAuth 2.1 (dynamic client registration + PKCE) for ChatGPT-style connectors. See docs/mcp.md.
  • Backend API — the only component with database and file-system access. Keeps the versioned Brief (PostgreSQL), renders template 7.1 and the PDF/DOCX artifacts, and runs the optional server-side scope agent.
  • Landing (apps/landing) — static marketing page that explains the MCP-first product and how to connect each client. There is no web app anymore: the Next.js client chat (apps/app) was removed; the client conversation now happens in whatever agent uses the MCP server.

Quick start (local)

bash
pnpm installcp .env.example .env              # fill DATABASE_URL, ENCRYPTION_KEY, PUBLIC_API_URLpnpm --filter @scopeprofit/contracts run buildpnpm run db:migratepnpm --filter @scopeprofit/api run buildpnpm --filter @scopeprofit/api run mcp:keys create --email <your-email> --label localpnpm run dev:api                  # MCP endpoint at http://localhost:3001/api/mcppnpm run dev:landing              # landing at http://localhost:3000

Then connect a client as described in docs/mcp.md (ChatGPT, Claude, Claude Code, Cursor, OpenAI Responses API, MCP Inspector, raw HTTP).

Self-hosting for ChatGPT

Use the opt-in HTTPS overlay and host-led drafting setup in docs/self-host-chatgpt.md. The MCP/OAuth server already exists; creating a custom ChatGPT connection still requires an eligible account/workspace and a verified live endpoint. A hosted public instance (above) and an official MCP Registry listing are available if you do not want to self-host.

Typical flow

  1. create_project → add_client_input with the client's words and image URLs.
  2. Either the host LLM drafts the scope with update_scope_section (every requirement must quote a stored message), or the server agent does it in the background (analyze: true, needs the owner's Gemini key).
  3. get_tldr / list_pending_questions → answer_question until nothing blocks the estimate.
  4. get_scope_document to review template 7.1 → approve_scope (locks the reviewed version; approval never emails the client) → export_document for a signed download link to share.

For developers (the product)

ScopeProfit is used through an MCP client, not a web UI. You talk to it from ChatGPT, Claude, Cursor, Claude Code or your own agent:

Fastest way (hosted, nothing to install): add https://scopeprofit-mcp.franutn23.workers.dev/api/mcp as a connector in ChatGPT or Claude and authorize it — the OAuth consent screen asks for your API key once. It is also listed in the official MCP Registry as io.github.FranprzDev/scopeprofit. To get an API key for the hosted instance, open an issue in this repo. Full connection guide with examples: scopeprofit.vercel.app/docs.

  1. Get an API key from the installation operator: pnpm --filter @scopeprofit/api run mcp:keys create --email [email protected] --label <client>.
  2. Connect your host — per-client recipes (ChatGPT OAuth, Claude connector, Claude Code header, local stdio for Claude Desktop/Cursor) are in docs/mcp.md.
  3. Typical flow: create_project → add_client_input → answer list_pending_questions → draft with update_scope_section → approve_scope → export_document → save_quote → export_quote → decide_quote. Eight-call quickstart and the full error-code table: docs/mcp.md.

There is no client portal and no email delivery: you review the exported PDF/DOCX, share the signed link with your client yourself, and record their answer with decide_quote.

Stack

  • API: NestJS 11 (Node 22, TypeScript), Prisma 6 + PostgreSQL 17
  • MCP: xmcp 1.9 (file-based tools, Streamable HTTP + stdio) with the existing OAuth 2.1 authorization server
  • Agent (optional): LangGraph + LangChain JS with Gemini; clarification gate via Vercel AI Gateway
  • Documents: structured Brief → Markdown, pdfkit → PDF, docx → DOCX
  • Bot: grammY webhook with secret_token
  • Quality: unit, integration, MCP (SDK client over xmcp HTTP) and e2e (HTTP, OAuth, stdio) tests on real PostgreSQL; separate backend and landing CI pipelines
  • Deploy: Docker Compose with PostgreSQL and persistent volumes

Commands

bash
pnpm --filter @scopeprofit/api run lintpnpm --filter @scopeprofit/api run typecheckpnpm --filter @scopeprofit/api run test        # unit + integration + mcp + e2e (needs DATABASE_URL)pnpm --filter @scopeprofit/api run buildpnpm --filter @scopeprofit/api run mcp:stdio   # local stdio server (needs SCOPEPROFIT_API_KEY)pnpm run production:preflight

Version status

  • v1 — delivered: projects, structured versioned Brief, AI agent, template 7.1, PDF/DOCX, approval and delivery.
  • v2 — delivered: Brief diff, change-request log and classification, strict domain types.
  • v3 (pricing, quotes, maintenance) — delivered: quotes and rate cards are MCP tools (save_quote, get_quote, export_quote, decide_quote); maintenance records stay internal.
  • MCP-first — this release: MCP server, API keys, OAuth for ChatGPT/Claude connectors, signed exports; web app removed, landing rewritten.

Docs

  • scopeprofit.vercel.app/docs — live developer docs (connect, 20 tools with examples, flow, limits); /llms.txt on the same site for AI agents
  • docs/scope-to-profit.md — product concept, scope and architecture (source of truth)
  • docs/mcp.md — MCP tools, auth and client setup
  • docs/technical-plan.md — original v1 technical plan (historical; the web client it describes was removed)
  • docs/production-launch-checklist.md — production checklist

來源:README.md,提交 a8cd2b9

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.0最新Nov 12, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Scope 整合