Coupler 标志

Coupler

组织
railsware

Coupler.io MCP server for querying marketing, sales, finance, ecommerce, and product data from 400+ sources with AI assistants.

发布者railsware
代码仓库coupler-io-mcp-server
语言TypeScript
复刻数
1
星标数
5
可用工具
0
传输类型streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Coupler 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 5 个 Star 和 1 个 Fork。

Lint & Test

Coupler.io MCP server

Chat with your business data inside the AI assistant you already use. The Coupler.io Model Context Protocol (MCP) server connects your Coupler.io data flows — built from 400+ sources like Google Ads, Facebook, HubSpot, Salesforce, Stripe, Shopify, GA4 and more — to your AI tool, so you can ask questions about your marketing, sales, finance and product data in plain language.

Every answer is backed by Coupler.io's Analytical Engine: the AI never queries your source systems directly — it asks Coupler.io, which executes the query, verifies the calculations, and returns only validated results.

Looking to just use it? You don't need this repository. Most users connect through the hosted remote MCP in a few clicks — see Connect your AI tool below. This repo is the local (self-hosted) MCP server, for users who prefer to run it on their own machine.

Use cases

Get data from your Coupler.io data flows and ask your AI tool questions about it, like you would ask a fellow data analyst:

Marketing

  1. What's our overall customer acquisition cost across all paid channels this quarter compared to last quarter? I need this for the board meeting.
  2. Show me the ROI breakdown by marketing channel for the past 6 months. I need to reallocate our annual budget.
  3. Which campaigns are contributing most to our pipeline revenue? I want to double down on what's working.

Sales

  1. Can you pull the sales pipeline report for this month? I need to see how many deals are in each stage and the total value at each stage.
  2. What are our conversion rates from lead to opportunity and from opportunity to closed-won for the last quarter? How do they compare to our targets?
  3. How many deals are expected to close this month based on their probability scores? What's our forecasted revenue vs our monthly target?

Finance

  1. Check the profit for this quarter, compare it to last quarter, and provide a breakdown by department.
  2. Could you provide a cash flow report for the last 30 days, including all incoming and outgoing transactions?
  3. Share the current accounts receivable status and tell me how many overdue invoices we have and which customers owe the most.

Supported AI tools

Coupler.io AI integrations work with all the major assistants. Set up a data flow with an AI destination once, then query it from any of these:

AI toolHow it connects
Claude — Claude.ai, Claude Desktop, Claude Code, CoworkWeb/org connector, or local Desktop Extension (this repo)
ChatGPT — incl. CodexConnector (remote MCP)
CursorMCP / Desktop Extension
PerplexityNative connector
Gemini CLIRemote MCP over HTTP (gemini mcp add …)
Gemini EnterpriseRemote MCP over HTTP
Microsoft Copilot StudioConnector (remote MCP)
OpenClawRemote MCP via the mcporter skill
Custom MCPAny MCP-capable client, using your remote MCP URL

See the AI Integrations overview and the docs for the latest list and per-tool setup guides.

Connect your AI tool

There are two ways to connect Coupler.io to your AI assistant.

Remote MCP (hosted — recommended)

Each tool connects differently. In every flow you first create and run a data flow in Coupler.io with the matching tool set as the destination (only data flows with that destination are exposed to it). Your account-specific connection URL, https://mcp.coupler.io/mcp/<your-account-id>, is shown on the MCP page at app.coupler.io/app/mcp.

Claude — Chat & Cowork (web connector)

For Claude.ai chat and Claude Cowork:

  1. Create and run a data flow with Claude as the destination.
  2. In Claude, open Settings → Connectors, add the Coupler.io connector and click Connect. On Team/Enterprise plans an admin must add it first.
  3. Click Connect once more and log in to Coupler.io to authorize.
  4. Open a new chat and start asking about your data.

Claude Code (CLI)

  1. Create and run a data flow with Claude as the destination.
  2. Start a new session in Claude Code and run:
    shell
    claude mcp add coupler-io --transport http https://mcp.coupler.io/mcp
  3. Restart the session.
  4. Run /mcp, select Coupler.io, and complete authentication in the browser when prompted.

ChatGPT (incl. Codex)

  1. Create and run a data flow with ChatGPT as the destination.
  2. In ChatGPT, add the Coupler.io app, click Connect, and authorize in the browser.
  3. Click Start chat. For later sessions, make sure the Coupler.io app is active via + → More (a checkmark should appear next to it).

Gemini CLI (remote MCP over HTTP)

  1. Create and run a data flow with Gemini as the destination, and make sure Gemini CLI is installed.
  2. Add the Coupler.io MCP server:
    shell
    gemini mcp add coupler --transport=http --scope=user https://mcp.coupler.io/mcp/<your-account-id>
  3. Start Gemini CLI and authenticate: /mcp auth coupler.
  4. A browser window opens — sign in and authorize access to your Coupler.io account.

Gemini Enterprise (GCP custom MCP server)

  1. In Coupler.io, create OAuth credentials for Gemini Enterprise (account admin/owner only) — Coupler.io issues a Client ID and Client Secret (the secret is shown once).
  2. In GCP, open Gemini Enterprise → Data stores → Create data store and choose Custom MCP server (see Google's guide).
  3. Paste the values Coupler.io shows: MCP Server URL (https://mcp.coupler.io/mcp/<your-account-id>), Authorization URL, Token URL, Scopes (mcp), and the Client ID / Client Secret.
  4. Create and run a data flow with Gemini Enterprise as the destination.

Microsoft Copilot Studio

  1. Open Microsoft Copilot Studio, pick the agent to extend, and make sure generative orchestration is on (the default for new agents).
  2. Go to Tools → Add a tool → New tool → Model Context Protocol and paste the MCP URL (https://mcp.coupler.io/mcp/<your-account-id>).
  3. Set Authentication to OAuth 2.0 with Dynamic discovery — no client ID or secret needed; Copilot Studio registers itself automatically. Click Create; users consent and sign in to Coupler.io once.
  4. Create and run a data flow with Microsoft Copilot Studio as the destination.

OpenClaw (via the mcporter skill)

  1. Create and run a data flow with OpenClaw as the destination.
  2. Collect the Coupler.io skill from ClawHub.
  3. Ask OpenClaw to connect the Coupler.io MCP using that skill, and complete the auth flow in the browser.

Cursor and Perplexity connect through a local install rather than the hosted endpoint — see Local MCP below.

Step-by-step guides with screen recordings for every tool live in the Coupler.io docs.

Remote MCP tools

The hosted remote MCP exposes a much broader, continuously growing tool set. Some operations are gated behind account feature flags.

Data & analysis (available to all clients):

  • get-data — Query a Coupler.io data flow's data (the data table) with read-only SQL.
  • get-schema — Get the typed column schema and AI context for a data flow / dataset.
  • list-datasets — Discover available datasets, optionally filtered by data flow.
  • search-datasets — Search across datasets to find relevant data.
  • list-dataflows — List the user's data flows.
  • get-dataflow — Get a data flow's current state, sources, and destinations.
  • list-templates — Discover prebuilt templates by source, metric, or category.
  • run-dataflow — Trigger a data flow run to refresh its data.
  • update-dataset — Persist an AI-context (markdown) description for a dataset.
  • update-dataset-schema — Update a dataset's schema definition.

Skills:

  • list-skills — List specialized, end-to-end workflows.
  • get-skill — Fetch a skill's full procedure by name.

Guided data flow setup (feature-flagged):

  • list-credentials — List the user's source/destination credentials.
  • list-integrations — List available source or destination integrations.
  • get-integration — Get an integration's parameters, auth requirements, and options.
  • get-integration-field-options — Resolve dynamic option values for an integration field.
  • create-dataflow — Create a new, empty data flow.
  • create-dataflow-from-template — Create a data flow from a template.
  • create-dataflow-source / update-dataflow-source — Add or modify a data flow's source.
  • create-dataflow-destination / update-dataflow-destination — Add or modify a data flow's destination.

Local MCP (self-hosted — this repository)

Run the MCP server on your own machine so analysis stays local. Two options:

A. Claude Desktop Extension (.mcpb) — the simplest local option:

  1. Download the Coupler.io extension (.mcpb) — see build instructions, or grab it from the Coupler.io MCP page.
  2. In Claude Desktop: Settings → Extensions → Install Extension, select the file.
  3. Paste your Coupler.io Personal Access Token when prompted.

B. Docker — run the published image directly:

Prerequisites: Docker installed and running, and a Coupler.io Personal Access Token.

json
{
  "mcpServers": {
    "coupler": {
      "command": "docker",
      "args": [
        "run",
        "--pull=always",
        "-e",
        "COUPLER_ACCESS_TOKEN",
        "--rm",
        "-i",
        "ghcr.io/railsware/coupler-io-mcp-server"
      ],
      "env": {
        "COUPLER_ACCESS_TOKEN": "<your_token>"
      }
    }
  }
}

--pull=always keeps the image up to date by pulling the latest on each run. Remove it if you're offline or want to pin a previously pulled image.

Local server tools

The self-hosted server (this repository) exposes a focused, read-only set of data-flow tools:

  • get-data — Gets the result of a data flow run as a SQLite file and runs a read-only query on it. The data flow must have an AI destination.
    • dataflowId (string, required), executionId (string, required), query (string, required)
  • get-schema — Gets the data flow schema file (data flows built from a dashboard or dataset template).
    • dataflowId (string, required), executionId (string, required)
  • list-dataflows — Lists data flows that have an AI destination.
  • get-dataflow — Gets data flow metadata: sources, connections, last successful execution, and error details.
    • dataflowId (string, required)

Security

  • AI tools never connect to your source systems — all access flows through Coupler.io's secure layer.
  • Connections use scoped, read-only, short-lived tokens; the AI can list, query and inspect schemas, but cannot modify, delete, or reach raw source credentials.
  • Coupler.io is SOC 2 Type II certified and GDPR / HIPAA / DORA compliant. See the Trust Center.

Development

Install Node.js and dependencies:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install
npm install
lefthook install
cp .env.example .env.local

Run the server (use --silent so npm logs don't break the stdio transport):

shell
npm run --silent dev

Debug with the MCP inspector (keep a single inspector tab open):

shell
npm run inspect:node

Logs go to a file (stdio transport):

shell
tail -f log/development.log | npx pino-pretty

Claude Desktop Extension (MCPB)

Build and self-sign the .mcpb extension:

shell
bin/build_mcpb        # => mcpb_output/coupler-mcp.mcpb
npm run mcpb:selfsign

Install the .mcpb file, or load the unpacked mcpb_output/ dir from Claude Desktop's Developer menu.

License

Licensed under the terms of the MIT open source license.

安装

TypingMind
{
  "mcpServers": {
    "Coupler": {
      "url": "https://mcp.coupler.io/mcp/"
    }
  }
}

将 Coupler MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Coupler 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过远程托管的 MCP 服务器 URL 在 TypingMind 中连接。

添加 MCP 服务器 URL

如果 Coupler 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 https://mcp.coupler.io/mcp/。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 https://mcp.coupler.io/mcp/ 粘贴到“服务器 URL”字段中。
  2. 为 Coupler 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 Coupler 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 Coupler 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 Coupler 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Coupler 帮我完成这项任务吗?
Coupler
当然。我已阅读。
以下是我使用 Coupler 得到的结果。

常见问题

Coupler MCP 服务器有什么用途?

Coupler 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Coupler MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Coupler,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Coupler MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Coupler 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Coupler MCP 连接到 TypingMind?

在 TypingMind 中添加 Coupler 托管的 MCP 服务器 URL,即可连接。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

Coupler MCP 在 TypingMind 中提供哪些工具?

Coupler 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Coupler MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Coupler 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇