What is Integration App MCP Server provides actions for connected integrations on Integration.app.?
The Integration App MCP Server is a Model Context Protocol (MCP) server that provides actions for connected integrations on Integration.app membrane as tools. It supports both static and dynamic modes for tool retrieval and offers a persistent chat session management feature. The server can be deployed using Docker and supports authentication via Integration.app access tokens.
Documentation
Integration App MCP Server
The Integration App MCP Server is a Model Context Protocol (MCP) server, it provides actions for connected integrations on Integration.app membrane as tools.
Here's our official AI Agent Example that shows you how to use this MCP server in your application.
await client.connect(
new StreamableHTTPClientTransport(
new URL(`https://<HOSTED_MCP_SERVER_URL>/mcp`)
{
requestInit: {
headers: {
Authorization: `Bearer ${ACCESS_TOKEN}`,
},
},
}
)
);
β‘ Static vs Dynamic Mode
By default, the MCP server runs in static mode, which means it returns all available tools (actions) for all connected integrations.
With dynamic mode (?mode=dynamic), the server will only return one tool: enable-tools. You can use this tool to selectively enable the tools you actually need for that session.
In dynamic mode, your implementation should figure out which tools are most relevant to the user's query. Once you've identified them, prompt the LLM to call the enable-tools tool with the appropriate list.
Want to see how this works in practice? Check out our AI Agent Example.
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
const client = new Client({
name: 'example-integration-app-mcp-client',
version: '1.0.0',
});
const transport = new StreamableHTTPClientTransport(
new URL(`https://<HOSTED_MCP_SERVER_URL>/mcp?mode=dynamic`),
{
requestInit: {
headers: {
Authorization: `Bearer ${ACCESS_TOKEN}`,
},
},
}
);
await client.connect(transport);
await client.callTool({
name: 'enable-tools',
arguments: {
tools: ['gmail-send-email', 'gmail-read-email'],
},
});
π§ Getting tools for a specific integrations
In static mode, the MCP server fetches tools from all active connections associated with the provided token.
You can choose to only fetch tools for a specific integration by passing the apps query parameter: /mcp?apps=google-calendar,google-docs
π¬ Chat Session Management (Experimental)
The MCP server (streamable-http transport only) supports persistent chat sessions. Include an x-chat-id header in your requests to automatically track sessions for that specific chat. This is an experimental feature that we provide in addition to standard MCP sessions.
Starting a new chat session:
POST /mcp
Authorization: Bearer YOUR_ACCESS_TOKEN
x-chat-id: my-awesome-chat-123
Retrieving your chat sessions:
GET /mcp/sessions
Authorization: Bearer YOUR_ACCESS_TOKEN