MCP Server
Membrane provides an MCP server that exposes its API as tools for AI agents.
Hosted MCP Server
Add Membrane's hosted MCP server to your agent's configuration:
{
"mcp": {
"membrane": {
"type": "url",
"url": "https://api.getmembrane.com/mcp/integrate-anything"
}
}
}The hosted server handles authentication via OAuth — your agent will prompt you to log in when it first connects.
This works with any MCP-compatible agent: Claude Desktop, ChatGPT, and others.
Local MCP Server
Run the MCP server locally via the CLI:
membrane mcpThe local server reads credentials from environment variables or membrane.config.yml:
# Option 1: Access token
export MEMBRANE_ACCESS_TOKEN="your-token-here"
# Option 2: Workspace credentials
export MEMBRANE_WORKSPACE_KEY="your-key"
export MEMBRANE_WORKSPACE_SECRET="your-secret"The server converts Membrane's OpenAPI endpoints into MCP tools automatically. Your agent gets access to all Membrane operations — managing connections, running actions, querying data, and more.
IDE Integration
To use the local MCP server with coding agents in your IDE, add it to your MCP configuration:
{
"mcpServers": {
"membrane": {
"command": "membrane",
"args": ["mcp"]
}
}
}Make sure the CLI is installed (npm install -g @membranehq/cli) and credentials are configured.
Updated about 12 hours ago