Development MCP Server

When using agents to develop with Membrane, you should use Membrane MCP.

MCP is provided by the membrane mcp command from our CLI package.

It uses the same configuration as the rest of the local membrane setup:

  • membrane.config.yml file
  • MEMBRANE_* environment variables.

Development MCP server provides access to the whole of Membrane API.


Example configuration (the exact structure of configuration will depend on your AI agent):

{
  "mcp": {
    "membrane": {
      "type": "local",
      "command": [
        "npx",
        "@membranehq/cli",
        "mcp"
      ],
      "environment": {
        "MEMBRANE_WORKSPACE_KEY": "<your workspace key>",
        "MEMBRANE_WORKSPACE_SECRET": "<your workspace secret>",
        "MEMBRANE_API_URI": "https://api.integration.app",
        "MEMBRANE_TEST_CUSTOMER_ID": "<internal customer id for testing integrations>"
      }
    }
  },
}