use-twenty-mcp
它能做什么
这个技能通过 MCP 把智能体连接到正在运行的 Twenty 工作区,以便读取记录和元数据。适合希望无需打开应用、就能从 CRM 获取答案的人。
适用场景
- ✓当你想列出保存在 Twenty 工作区中的公司、联系人或商机的时候。
- ✓当你想通过 MCP 把智能体连接到 Twenty 工作区的时候。
- ✓当你想查看工作区某个对象上有哪些字段的时候。
技能链接
https://github.com/twentyhq/twenty/blob/main/packages/twenty-agent-skills/skills/use-twenty-mcp/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我列出我这周添加到 Twenty 的公司。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能通过 MCP 把智能体连接到你的 Twenty 工作区,然后读取你所询问的记录或结构。它用于读取和检查数据,而不是修改应用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When To Use
Pick this skill when the user wants to read from or inspect a running Twenty workspace — not change app code. Representative triggers:
- "list all my companies / people / opportunities in Twenty"
- "show me the records I created this week"
- "what's in my Twenty workspace"
- "connect my agent to my Twenty workspace"
- "set up Twenty MCP for
myworkspace.twenty.com" - "query the CRM for X"
- "summarize my pipeline from Twenty"
- "show me the fields on the company object"
Do not use this skill to scaffold an app (use create-app), to add or modify app entities (use develop-app), to operate an app (use manage-app), or to prepare marketplace assets (use publish-app).
What It Is
Twenty MCP connects the agent to an existing Twenty workspace so it can inspect workspace data and metadata: records, objects, fields, schema, configuration, and related CRM context.
This is different from a Twenty app. Use $create-app when the user wants to scaffold a new app codebase, and $develop-app when the user wants to add app-defined features such as objects, fields, logic, layouts, or components.
Use $use-twenty-mcp when the user wants to connect the agent to an already running workspace, retrieve or inspect workspace data, inspect metadata, or troubleshoot MCP access.
Do not use MCP as the default way to customize a workspace. For example, prefer creating a new object through a Twenty app rather than directly through MCP. Use MCP for workspace customization only when the user explicitly asks to do it through MCP.
Setup
Use ../../references/use-twenty-mcp/setup.md for workspace URL normalization, MCP server configuration, OAuth guardrails, and setup troubleshooting.
Retrieval
Before retrieving, listing, searching, summarizing, or presenting workspace records, read ../../references/use-twenty-mcp/result-formatting.md.
Apply that reference when selecting the right Twenty MCP workspace, querying records, building record links, formatting dates and values, and presenting readable Markdown instead of raw API output.
Output Contract
Before the final answer for retrieved workspace records:
- If the tool output includes
recordReferences, the first record-name column or record heading MUST link each display name back to Twenty. - Build links as
{workspaceOrigin}/object/{objectNameSingular}/{recordId}using the selected workspace origin and the returnedrecordReferences. - If the workspace origin is not known, resolve it from the selected MCP server URL when possible. If it still cannot be resolved, state that direct record links need the workspace URL instead of inventing a host.
- Never show unlinked record names in a record table when
recordReferencesand the workspace origin are available.
常见问题
它会修改我的 CRM 数据吗?
该技能用于读取和检查数据。创建或编辑应用功能由其他技能负责。
我需要有 Twenty 工作区吗?
需要。该技能连接到现有的 Twenty 工作区,例如 Twenty Cloud 或自托管实例。
它能以易读的形式展示结果吗?
可以。它可以把 CRM 数据呈现为易读的 Markdown,日期格式清晰,表格简洁,而不是原始输出。
详情
作者的原始描述
Use when the user wants the agent to connect to an existing Twenty workspace through MCP, retrieve or inspect workspace records and metadata, or present Twenty CRM data as readable Markdown with formatted dates, values, record links, and compact tables instead of raw API output.
repo: twentyhq/twenty
热度
- GitHub 星标
- 60k
- 排名
- #3172
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …