
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 分