Content
# Brixies MCP Server
MCP server for fetching and exporting Bricks Builder layouts and components from [brixies.co](https://brixies.co).
## Setup
1. **Copy `.env.example` to `.env`** and fill in your brixies.co credentials:
```
BRIXIES_EMAIL=your@email.com
BRIXIES_PASSWORD=yourpassword
```
2. **Build** (already done — `dist/` is ready):
```bash
npm run build
```
## Register in Claude Code
Add to your `claude_desktop_config.json` (or Claude Code MCP settings):
```json
{
"mcpServers": {
"brixies": {
"command": "node",
"args": ["D:/Projects/Internal/MCP/Brixies/dist/index.js"],
"env": {
"BRIXIES_EMAIL": "your@email.com",
"BRIXIES_PASSWORD": "yourpassword"
}
}
}
}
```
Or with a `.env` file:
```json
{
"mcpServers": {
"brixies": {
"command": "node",
"args": ["D:/Projects/Internal/MCP/Brixies/dist/index.js"]
}
}
}
```
## Tools
| Tool | Description |
|------|-------------|
| `brixies_list` | List layouts, components, or elements with optional category filter |
| `brixies_search` | Search by keyword across all content types |
| `brixies_get_layout` | Fetch a layout's raw Bricks JSON by slug |
| `brixies_get_component` | Fetch a component's raw Bricks JSON by slug |
| `brixies_rename_layout` | Fetch a layout with all CSS class names renamed to a custom prefix |
| `brixies_rename_component` | Fetch a component with all CSS class names renamed to a custom prefix |
## Usage Examples
```
# List all hero layouts
brixies_list type="layout" category="hero"
# Search for card components
brixies_search query="card"
# Get a layout as-is
brixies_get_layout slug="feature-section-106"
# Get a layout with renamed classes (avoids collision)
brixies_rename_layout slug="feature-section-106" rename_prefix="home-features"
# Get a component
brixies_get_component slug="card-346"
# Get a component with renamed classes
brixies_rename_component slug="card-346" rename_prefix="services-card"
```
## Notes
- `brixies_get_*` and `brixies_rename_*` require a valid paid brixies.co account
- Sitemap data (for list/search) is cached in memory for the process lifetime
- Components don't have a dedicated sitemap — use `brixies_search query="card"` or browse brixies.co to find component slugs