Rdstation Crm Mcp

io.github.fernandoludvig由 GitHub 账号 fernandoludvig 发布v0.2.0更新于 Oct 24, 2026

Manage RD Station CRM contacts, deals, tasks and notes, with pipeline health reports

已验证STDIO仅桌面效率与工作流商业与电商

概览

AI 生成的概览

面向 RD Station CRM 的 MCP 服务器,让助手搜索联系人、管理商机、任务和备注,并生成销售管道健康报告。

可以做什么
  • 搜索并查看联系人,包括关联的商机
  • 按邮箱新建或更新联系人
  • 列出、创建、更新和关闭商机,阶段与流失原因可用名称指定
  • 列出并创建商机上的任务,为商机时间线添加备注
  • 生成管道健康报告,含各阶段合计、赢单率和停滞商机
适用场景
当销售数据存放在 RD Station CRM,且希望助手用自然语言回答管道问题、筛选线索、推进商机阶段或安排跟进时适用。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js。需要 RD Station CRM 的实例令牌(在个人资料、产品与集成、实例令牌处获取),通过环境变量 RDSTATION_CRM_TOKEN 提供。需要访问 RD Station CRM API 的网络。
安装前请注意
实例令牌可访问你的 CRM 账户,请勿写入共享配置或日志。该服务器可新建和更新联系人、创建和推进商机、将商机标记为赢单或输单、添加任务和备注,会改动真实销售记录。另有 HTTP 版本可绑定 0.0.0.0 并按会话接受 Bearer 令牌,对外暴露时应限制主机并置于反向代理之后。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Rdstation Crm Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

rdstation-crm-mcp

[CI] [npm version] [License: MIT]

An open-source MCP server for RD Station CRM — the leading CRM in Brazil and Latin America. Manage contacts, deals, tasks and notes, and get pipeline health reports, straight from Claude or any MCP-compatible client.

"How's my sales pipeline this month?" → stage-by-stage totals, win rate, and the deals going stale.

[Demo: connecting to the server and running rdcrm_pipeline_overview against a real RD Station CRM account]

Why

RD Station CRM is huge in the LatAm market, but had no open-source MCP server. This project connects it to the MCP ecosystem so AI agents can work your pipeline: qualifying leads, moving deals, scheduling follow-ups, and answering questions about your sales data in natural language.

Quick start

  1. Get your instance token in RD Station CRM: Profile → Products and integrations → Instance token.
  2. Add the server to your MCP client.

Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "rdstation-crm": {      "command": "npx",      "args": ["-y", "rdstation-crm-mcp"],      "env": {        "RDSTATION_CRM_TOKEN": "your-instance-token"      }    }  }}

Claude Code:

bash
claude mcp add rdstation-crm -e RDSTATION_CRM_TOKEN=your-instance-token -- npx -y rdstation-crm-mcp

That's it. Ask Claude something like "list my open deals" or "give me a pipeline overview".

Tools

ToolDescription
rdcrm_search_contactsSearch contacts by name, email or phone
rdcrm_get_contactContact details, including linked deals
rdcrm_upsert_contactCreate a contact, or update it if the email already exists
rdcrm_list_dealsList deals filtered by status, pipeline, stage, owner, dates
rdcrm_get_dealDeal details: stage, value, owner, contacts, products
rdcrm_create_dealCreate a deal — accepts stage by name, resolved automatically
rdcrm_update_dealMove stage, change owner, rating, close date, pause/resume
rdcrm_close_dealMark won or lost (lost reasons resolved by name)
rdcrm_list_tasksList tasks by deal, assignee, status, type, due date
rdcrm_create_taskCreate a task (call, email, meeting, whatsapp...) on a deal
rdcrm_add_noteAdd a note to a deal's timeline
rdcrm_pipeline_overviewPipeline health report: totals per stage, win rate, stalled deals

Design notes

These tools are designed for LLMs, not as a 1:1 API wrapper:

  • Names instead of IDs. Stages, pipelines, users and lost reasons can be passed by name; the server resolves them against the account and lists the valid options when something doesn't match.
  • Compact responses. List tools return one line per record with the fields that matter, plus explicit pagination hints. Large responses are truncated with guidance instead of flooding the context window.
  • Actionable errors. A 401 tells you which env var to check; an unknown stage lists every stage in every pipeline.
  • Aggregation where it counts. rdcrm_pipeline_overview answers the questions humans actually ask ("where are deals stuck?") with a single tool call.

Remote deployments (Streamable HTTP)

The default (rdstation-crm-mcp) runs over stdio for a single local user, with the token read once from RDSTATION_CRM_TOKEN. For a team-hosted or registry-listed deployment (e.g. Smithery), run the Streamable HTTP variant instead:

bash
npx -y rdstation-crm-mcp-http

This starts an HTTP server (http://127.0.0.1:8080/mcp by default) implementing the MCP Streamable HTTP transport, with proper session lifecycle (initialize → Mcp-Session-Id → DELETE to close).

Because a hosted server can serve more than one user, there's no single implicit token: each session sends its own Authorization: Bearer <token> header on initialize. A RDSTATION_CRM_TOKEN env var still works as a fallback default for a single-tenant self-hosted setup where every caller shares one CRM account.

Env vars:

VarDefaultPurpose
PORT8080Port to listen on
HOST127.0.0.1Bind address — use 0.0.0.0 for containers/cloud
ALLOWED_HOSTS(unset)Comma-separated Host header allow-list (DNS-rebinding guard); recommended when binding to 0.0.0.0 without a reverse proxy in front
RDSTATION_CRM_TOKEN(unset)Default token used when a session sends no Authorization header
bash
curl http://127.0.0.1:8080/health# {"status":"ok","server":"rdstation-crm-mcp","sessions":0}

Development

bash
git clone https://github.com/fernandoludvig/rdstation-crm-mcp.gitcd rdstation-crm-mcpnpm installnpm test              # unit tests (API mocked with msw)npm run typechecknpm run buildRDSTATION_CRM_TOKEN=xxx npx @modelcontextprotocol/inspector node dist/index.js

The HTTP layer (src/client/) is isolated from the tools, with retry and exponential backoff for 429/5xx built in.

Roadmap

  • Organizations and products tools
  • RD Station CRM API v2 support (OAuth) behind the same tool surface
  • Streamable HTTP transport for remote deployments
  • Publish to MCP registries (Glama, PulseMCP, Smithery)

Contributions welcome — open an issue first for anything non-trivial.

License

MIT © Fernando Ludvig

Not affiliated with or endorsed by RD Station. Uses the public RD Station CRM API v1.

来源:README.md,提交 220a112

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分