> For the complete documentation index, see [llms.txt](https://docs.coupler.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coupler.io/destinations/categories/ai/custom_mcp.md).

# Custom MCP

Custom MCP (Model Context Protocol) lets you expose your Coupler.io data flows via an MCP endpoint that any MCP-compatible client can connect to. Instead of sending data to a traditional database or spreadsheet, you make your data available to AI tools and applications that speak the MCP protocol — enabling custom integrations, conversational analysis, and direct consumption by any MCP client.

## Why use Custom MCP as a Coupler.io destination?

* **Protocol-based flexibility** — Let any MCP-compatible client access your data without building custom APIs
* **AI-native architecture** — Designed for AI tools and applications that need structured data in machine-readable format
* **Direct tool integration** — Connect Zapier, n8n, Make, or any custom-made tool that supports MCP protocol
* **Custom workflows** — Any MCP client can consume your data for specialized business logic

## Prerequisites

* An MCP-compatible client (e.g., Claude, Cursor, Zapier, n8n, Make, or a custom application)
* Basic understanding of how to configure your MCP client to connect to an external server

## Quick start

{% hint style="success" %}
Custom MCP is ideal if you're building AI-powered workflows, want to give Zapier or Make access to your data, or have any MCP client that should consume your Coupler.io data.
{% endhint %}

## How to connect

{% stepper %}
{% step %}
**Start a new data flow.** In Coupler.io, click "Create a new data flow" and choose your data source (Google Ads, Shopify, a database — any Coupler.io source works).
{% endstep %}

{% step %}
**Select Custom MCP as your destination.** From the destination list, search for and select "Custom MCP."
{% endstep %}

{% step %}
**Generate your token and copy connection details.** Click "Generate token" and copy it along with the MCP server URL that Coupler.io provides.
{% endstep %}

{% step %}
**Configure your MCP client.** Fill in the JSON config of your MCP client with the token and MCP URL from the previous step. Consult with the example config provided.
{% endstep %}

{% step %}
**Run the data flow.** Click "Run" to send your data. Once successful, any MCP client configured with your token and URL can access the data.
{% endstep %}
{% endstepper %}

## Supported features

| Feature              | Supported |
| -------------------- | --------- |
| Replace mode         | Yes       |
| Append mode          | No        |
| Automatic scheduling | Yes       |
| Type enforcement     | No        |
| Templates            | No        |

{% hint style="danger" %}
Do not share your personal access token with anyone and threat it as sensitive information
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coupler.io/destinations/categories/ai/custom_mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
