mcpBluebricks MCP

Use the Bluebricks MCP server to let AI agents provision, plan, and deploy cloud infrastructure through natural language

The Bluebricks MCP (Model Context Protocol) server lets AI agents discover blueprints, deploy infrastructure, and manage environments through natural language.

How it works

You describe what you need, the agent translates it into Bluebricks operations:

  1. Request: "Create a PostgreSQL database with Redis cache for staging"

  2. Plan: the agent shows resource changes, cost estimates, and security considerations

  3. Deploy: you approve the plan, and the agent applies it

Getting started

chevron-rightVS Codehashtag

Install in VS Codearrow-up-right

Manually install the MCP extension for VS Code:

  1. Open VS Code Extensions (Ctrl+Shift+X or Cmd+Shift+X)

  2. Search for "Model Context Protocol"

  3. Install the MCP extension

  4. Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P)

  5. Run "MCP: Add Server"

  6. Configure server:

    • Name: bricks

    • Command: bricks

    • Args: ["mcp"]

chevron-rightClaude Desktophashtag

Add the Bricks MCP server to your Claude Desktop configuration:

Configuration file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/claude-desktop/claude_desktop_config.json

chevron-rightCursorhashtag

Enable MCP support in Cursor settings:

  1. Open Cursor Settings (Cmd+, or Ctrl+,)

  2. Navigate to Extensions → MCP

  3. Add new server configuration:

    • Name: bricks

    • Command: bricks

    • Args: ["mcp"]

chevron-rightWindsurfhashtag

Configure MCP in your Windsurf workspace:

Add this configuration to your .windsurf/settings.json file.

chevron-rightOther MCP Clientshashtag

For any MCP-compatible client, configure with:

  • Command: bricks

  • Arguments: ["mcp"]

  • Protocol: STDIO

Consult your client's documentation for specific configuration steps.

Authentication

Authenticate using your existing Bricks CLI credentials:

Example prompts

Resource discovery

Infrastructure planning

Environment management

Available tools

Tool
Description

bricks_list_blueprints

List blueprints with fuzzy search and pagination

bricks_list_collections

List and search collections with full context, including latest environments and cloud accounts

bricks-list-environments

List environments with filtering for latest, all activities, or archived

bricks_install

Install a blueprint to a collection, or update an existing environment

bricks_deployment_approve

Approve an environment plan to proceed with infrastructure changes

bricks_deployment_reject

Reject an environment plan to prevent infrastructure changes

Tool annotations

Each tool declares MCP tool annotationsarrow-up-right that describe its behavior. MCP clients can use these hints to decide which tools to auto-approve and which to prompt for confirmation.

Tool
readOnlyHint
destructiveHint
idempotentHint
openWorldHint

bricks_list_blueprints

true

false

true

true

bricks_list_collections

true

false

true

true

bricks-list-environments

true

false

true

true

bricks_install

false

false

false

true

bricks_deployment_approve

false

true

false

true

bricks_deployment_reject

false

true

false

true

What the annotations mean:

  • readOnlyHint: the tool does not modify any state

  • destructiveHint: the tool may perform an action that cannot be easily undone

  • idempotentHint: calling the tool again with the same arguments has no additional effect

  • openWorldHint: the tool interacts with external systems beyond the local environment

circle-info

Annotations are hints, not security guarantees. Do not make access-control decisions based solely on these values.

Last updated

Was this helpful?