Skip to main content
Chatling’s MCP server lets AI apps work with your Chatling project. Once connected, you can ask an app things like “Summarize yesterday’s unresolved conversations” or “Add our new pricing page to the knowledge base”, and it uses Chatling’s tools to do it. The tools run the Chatling API, so they work with the same data and follow the same rules. MCP, the Model Context Protocol, is an open standard for connecting AI apps to tools. The server URL is:

Requirements

  • The project’s plan must include API access.
  • Any member can connect an app, unless the project allows only certain roles. An app can never do more than the member who connected it.

Connect an app

You’ll also find these steps in the dashboard, under Project settings > Connected apps.
1

Open connectors in Claude

In Claude, go to Customize > Connectors. On Team and Enterprise plans, an owner adds the connector first in Organization settings.
2

Add a custom connector

  • Click Add, then choose Add custom connector.
  • Name it Chatling and paste the server URL.
  • If Claude asks how to identify itself, choose Register automatically.
  • Click Add.
3

Connect

You’re redirected to Chatling. Choose what Claude can access and click Allow access.

Choose what an app can access

When you approve a connection, you choose:
  • Project: the project the app can use. To use several projects, connect the app once for each.
  • Agent access: all of the project’s AI agents and chatbots, or only the ones you select. Apps limited to selected agents can’t use project-wide tools, such as project settings or members.
  • Permissions: read and write, read only, or custom access for each permission group.
These work like API key restrictions. The app only sees the tools its access allows. To change an app’s access, disconnect it and connect it again.

Access follows your role

The consent screen offers only what your role allows. For example, an agent can let an app read and reply to conversations, but not manage contacts or AI agents. If you’re limited to certain AI agents, so is the app. If your role changes or you’re limited to fewer agents, your apps lose that access at once. A promotion doesn’t widen an app’s access; connect it again to give it more. Tools that act as a user, such as start_conversation, send_user_message, and rate_message, are only available if your role can test AI agents.
An app can read whatever its access allows, including messages from your users, and those messages can contain instructions aimed at the AI. Give each app only the access it needs, such as Read only for reporting, and review what the app proposes before it sends replies or changes your agents.

Tools

The server has 78 tools, one for each API endpoint, except where one tool covers several endpoints. Three of them, for building workflows, are only available through MCP. Files can’t be uploaded through MCP, so attachments and document sources are only available through the API and the dashboard. Tools that delete data, or that change what your users see, such as send_reply, update_agent, and add_knowledge_base_sources, are marked as destructive. Apps that ask before running such tools ask you to confirm them.

Build workflows

Building workflows through MCP is in beta.
Describe the workflow you want, such as “When a conversation is waiting for a teammate for 30 minutes, alert the support channel in Slack”, and the app builds it for your AI agent. It reads the workflow catalog to see which triggers and actions your plan includes and what settings each action takes, then creates the workflow as an unpublished draft. You can ask for changes, and the app edits the draft. Finish in the builder. For actions that use a connected account, such as Slack, Google Sheets, HubSpot, Zendesk, or Airtable, you choose the account and its resources, such as the channel, spreadsheet, or fields, in the workflow builder. The app can’t choose them, and it gives you a link to the workflow. A draft can’t be published until everything is set, and the app tells you what’s left. Publishing. The app asks you to confirm before it publishes. Once published, the workflow runs on your users’ conversations, as it does when you publish it in the dashboard. Apps can publish only with publish access for workflows, which Read only doesn’t include. Editing in two places. The app changes the draft only if it hasn’t changed since the app last read it. If you change the workflow in the builder at the same time, the app reads it again before continuing. Opening a workflow in the builder doesn’t change it. Secrets. Header, query parameter, and body values in HTTP request steps are stored encrypted and never shown to the app. The app sees a placeholder, which it can send back to keep a value, but it can’t read the value or send it to another host. Workflows that start manually, and workflow templates, are created in the dashboard.

Use an API key instead

Apps that don’t support OAuth can connect with an API key in the Authorization header. The key’s restrictions apply to the app.
The key is stored in the app’s settings, so use it only in apps you trust, and give it an expiry.

Manage connected apps

Connected apps are listed under Project settings > Connected apps, with their access and when they were last used. Members see and disconnect the apps they connected. Owners and admins see every app in the project and who connected it, and can disconnect any of them. Owners and admins can also choose Who can connect AI apps: All members, or Custom to choose which roles can. Owners can always connect apps. Leaving a role out disconnects the apps its members connected. A connection also ends if the member who approved it leaves the project, or if the project no longer lets any of their roles connect apps. To use the app again, connect it again.

Limits

Each connection can make 500 requests a minute, like an API key. Each tool call counts as one request, and its result shows the same errors as the API. See Rate limits.

Troubleshooting