Skip to main content

Streamable HTTP Transport Mode

Run the server in Streamable HTTP transport mode to allow multiple clients to connect to the same server instance via HTTP.

Start the server:

uvx couchbase-mcp-server \
--connection-string='couchbases://your-connection-string' \
--username='your-username' \
--password='your-password' \
--read-only-mode=true \
--transport=http

The server will be available at http://localhost:8000/mcp by default.

MCP client configuration:

{
"mcpServers": {
"couchbase-http": {
"url": "http://localhost:8000/mcp"
}
}
}

Set CB_MCP_PORT or --port to use a different port. Set CB_MCP_HOST=0.0.0.0 or --host=0.0.0.0 to allow external connections.