Integration App MCP Server logo

Integration App MCP Server

Organization
membranehq

MCP Server for Membrane

Publishermembranehq
Repositorymcp-server
LanguageTypeScript
Forks
10
Stars
38
Available tools
0
Transport typestreamable-http
Categories
LicenseISC
Links
  • Connect tools to AI workflows

    Integration App MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    38 stars and 10 forks from the linked repository.

Membrane MCP Server

The Membrane MCP Server is a Model Context Protocol (MCP) server, it provides actions for connected integrations on Membrane as tools.

Here's our official AI Agent Example that shows you how to use this MCP server in your application.

📋 Prerequisites

  • Node.js (v18 or higher)
  • A Membrane account

⚙️ Installation

bash
git clone https://github.com/membranehq/mcp-server.git
cd mcp-server
npm install
npm run build

🛠️ Local Development

To run the development server locally, start it with:

bash
npm run dev

The server will be live at http://localhost:3000 ⚡️

🧪 Running tests

bash
# Run the server in test mode
npm run start:test

# then run tests
npm test

🚀 Deployment

Deploy your own instance of this MCP server to any cloud hosting service of your choice.

🐳 Docker

The project includes a Dockerfile for easy containerized deployment.

bash
docker build -t membrane-mcp-server .
docker run -p 3000:3000 membrane-mcp-server

🔗 Connecting to the MCP server

This MCP server support two transports:

TransportEndpointStatus
SSE (Server‑Sent Events)/sse🔴 Deprecated — deprecated as of November 5, 2024 in MCP spec
HTTP (Streamable HTTP)/mcp🟢 Recommended — replaces SSE and supports bidirectional streaming

🔐 Authentication

Provide a Membrane access token via query or Authorization header:

http
?token=ACCESS_TOKEN
Authorization: Bearer ACCESS_TOKEN

SSE (Deprecated)

js
await client.connect(
  new SSEClientTransport(
    new URL(
      `https://<HOSTED_MCP_SERVER_URL>/sse`
    )
    {
      requestInit: {
        headers: {
          Authorization: `Bearer ${ACCESS_TOKEN}`,
        },
      },
    }
  )
);

Streamable HTTP (Recommended)

js

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.

ts
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';

const client = new Client({
  name: 'example-membrane-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:

http
POST /mcp
Authorization: Bearer YOUR_ACCESS_TOKEN
x-chat-id: my-awesome-chat-123

Retrieving your chat sessions:

http
GET /mcp/sessions
Authorization: Bearer YOUR_ACCESS_TOKEN

Response:

json
{
  "my-awesome-chat-123": "session-uuid-1",
  "another-chat-456": "session-uuid-2"
}

This feature lets you use same session for a conversation. Check out our AI Agent Example to see how this works in practice.

Configuring other MCP clients

📝 Cursor

To use this server with Cursor, update the ~/.cursor/mcp.json file:

json
{
  "mcpServers": {
    "membrane": {
      "url": "https://<HOSTED_MCP_SERVER_URL>/sse?token={ACCESS_TOKEN}"
    }
  }
}

Restart Cursor for the changes to take effect.

🤖 Claude Desktop

To use this server with Claude, update the config file (Settings > Developer > Edit Config):

json
{
  "mcpServers": {
    "membrane": {
      "url": "https://<HOSTED_MCP_SERVER_URL>/sse?token={ACCESS_TOKEN}"
    }
  }
}

🔧 Troubleshooting

  • Ensure your access token is valid and you're generating it according to these instructions
  • Check the MCP server logs for any errors or issues during startup or connection attempts.
  • Use the MCP Inspector for testing and debugging

Use Integration App MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Integration App MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Integration App MCP Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter the MCP server URL from the provider in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste the MCP server URL from the provider into the Server URL field.
  2. Enter a connection name for Integration App MCP Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Integration App MCP Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Integration App MCP Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Integration App MCP Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Integration App MCP Server to help me with this task?
Integration App MCP Server
Sure. I read it.
Here is what I found using Integration App MCP Server.

Frequently asked questions

What is the Integration App MCP Server MCP server used for?

Integration App MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Integration App MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Integration App MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Integration App MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Integration App MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Integration App MCP Server MCP to TypingMind?

Integration App MCP Server can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Integration App MCP Server MCP provide in TypingMind?

Integration App MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Integration App MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Integration App MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇