
Cantrip
io.github.ozten由 GitHub 帳號 ozten 發布v1.0.5更新於 Oct 24, 2026
MCP server for Cantrip — AI-powered GTM engine for solo founders
概覽
Cantrip 是本地 MCP 伺服器,為助理提供結構化的 GTM 工作流程,協助產品找到第一批客戶。
- 可以做什麼
- Cantrip 提供 17 個工具,涵蓋設定、核心命令、審核與通用實體 CRUD。助理可以初始化或連接專案、取得專案快照、列出落差分析機會、產生脈絡豐富的提示、啟動背景代理並查詢稽核紀錄。它也能列出、接受、拒絕、解決或忽略推斷出的實體與升級項目,並建立或編輯 ICP、痛點、價值主張、實驗、通路、競爭對手與聯絡人等實體。
- 適用情境
- 適合獨立或技術型創辦人在需要助理協助定義理想客戶輪廓、研究競爭對手,並把落差分析轉化為具體下一步行動與短期 GTM 計畫時使用。也適合已在使用相容 MCP 代理、並希望把相關工作記錄在 Cantrip 專案中的使用者。
- 執行需求
- 透過 npm 套件 mcp-server-cantrip 以 stdio 在本機執行,需要 Node.js 與 npx。必須在 CANTRIP_API_KEY 環境變數中提供 Cantrip API 金鑰,可從 Cantrip 設定頁面取得。伺服器需要連線至 Cantrip API 的網路存取。僅支援桌面端,沒有網頁版。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Cantrip,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-server-cantrip
Cantrip helps technical founders find their first customers with structured GTM workflows.
- Nail your ICP — define ideal customer profiles, buyer pains, and value props
- Research competitors — map the landscape and find where you can win
- Get next actions — gap analysis tells you exactly what to work on, then does it for you
Works with Claude Code / Claude Desktop / Cursor — any MCP-compatible agent.
Quick start
- Get your API key at cantrip.ai (settings)
- Add the server:
- Try this prompt:
"Initialize a Cantrip project for my product: [describe yours in one sentence]"
Configuration
The Quick start command above covers Claude Code. Verify it worked with claude mcp list or the /mcp command inside a session.
Claude Desktop / Cursor / manual JSON
All MCP clients use the same JSON block. Add it to the appropriate config file:
Note: The
-yflag is required — without it,npxprompts for confirmation which hangs over stdio.
Windows (not WSL): Use
"command": "cmd"with"args": ["/c", "npx", "-y", "mcp-server-cantrip"].
Project-scoped with teams: Use
"${CANTRIP_API_KEY}"in the env value so each developer sets the key in their shell profile.
Project Context (.cantrip.json)
Each project directory contains a .cantrip.json file that tells Cantrip which project to target:
This file is created automatically by cantrip_init (new project) or cantrip_connect (existing project). The agent manages it — you don't need to create it manually.
Multiple projects on the same machine? Each project directory gets its own .cantrip.json. The agent switches context by working in the right directory.
Examples of How to use Cantrip
After connecting Cantrip, try these prompts in order:
- "Initialize a Cantrip project for my product: [one sentence about what you're building]"
- "Find my likely ICP and top 3 buyer pains."
- "Research 5 competitors and tell me where I can win."
- "Give me a one-week GTM plan."
Troubleshooting
Server not found / no tools appear:
- Run
claude mcp list(Claude Code) or/mcpinside a session to check connection status. - Make sure the config is in the right file — Claude Code uses
~/.claude.jsonor.mcp.json, not~/.claude/mcp.json.
Server hangs on startup:
- Ensure you have
-yin the npx args. Without it, npx waits for interactive confirmation that can never arrive over stdio.
"Cannot reach Cantrip API" errors:
- Verify
CANTRIP_API_KEYis set in theenvblock of your MCP config. - Check that
https://api.cantrip.aiis reachable from your network.
Windows "Connection closed" errors:
- Use
"command": "cmd"with"args": ["/c", "npx", "-y", "mcp-server-cantrip"].
Architecture
The MCP server is a thin translation layer. It converts MCP tool calls into {command, args, flags} JSON envelopes and POSTs them to the Cantrip API. Zero business logic — identical contract to the CLI and React UI.
Tools (17)
Setup
Core Commands
Review
Entity CRUD (generic)
Supported entity types: icp, pain_point, value_prop, experiment, channel, competitor, contact
License
MIT
來源:README.md,提交 b25ddc6
工具
0版本歷史
1- v1.0.5最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分