MCP server

Connect your client

Copy-ready configuration to connect Brunel's MCP server to Claude Code, Claude Desktop, Cursor, VS Code, Windsurf or any MCP client.

Create a key first (Platform → API keys, or Platform → AI agents, which creates one and fills the snippets for you). Replace brn_w_… below with your key. Use a read and write key if the agent should analyze and design.

Claude Code

Terminal
claude mcp add --transport http brunel https://api.brunel.cloud/mcp \
  --header "Authorization: Bearer brn_w_…"

Then ask: "Design the infrastructure of this repository with Brunel."

Claude Desktop

Settings → Developer → Edit config, then restart Claude. Needs Node.js.

claude_desktop_config.json
{
  "mcpServers": {
    "brunel": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.brunel.cloud/mcp", "--header", "Authorization:${BRUNEL_AUTH}"],
      "env": { "BRUNEL_AUTH": "Bearer brn_w_…" }
    }
  }
}

Cursor

~/.cursor/mcp.json for all projects, or .cursor/mcp.json for one project.

mcp.json
{
  "mcpServers": {
    "brunel": {
      "url": "https://api.brunel.cloud/mcp",
      "headers": { "Authorization": "Bearer brn_w_…" }
    }
  }
}

VS Code

.vscode/mcp.json. VS Code asks for the key once and stores it securely.

.vscode/mcp.json
{
  "inputs": [{ "type": "promptString", "id": "brunel-key", "description": "Brunel API key", "password": true }],
  "servers": {
    "brunel": {
      "type": "http",
      "url": "https://api.brunel.cloud/mcp",
      "headers": { "Authorization": "Bearer ${input:brunel-key}" }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json, then refresh the MCP servers.

mcp_config.json
{
  "mcpServers": {
    "brunel": {
      "serverUrl": "https://api.brunel.cloud/mcp",
      "headers": { "Authorization": "Bearer brn_w_…" }
    }
  }
}

Any MCP client

Streamable HTTP transport, stateless. Send the key in the Authorization header on every request:

URL:    https://api.brunel.cloud/mcp
Header: Authorization: Bearer brn_w_…
Connect your client · Brunel Docs