Automatic Setup (Recommended)
Run the wizard from your terminal:Supports 30+ agents including Claude Code, Cursor, Windsurf, VS Code, Copilot, Cline, and more.
Manual Configuration
Remote Server is recommended — no dependencies, no local process. If remote keeps failing (especially in Claude Code), switch to Local Server.
Local Server requires Docker. Run
docker compose up -d in the backant-mcp directory first.https://mcp.backant.io/mcp. The local server runs at http://localhost:8000/mcp.
Your API key is obtained automatically by the wizard via OAuth. To get one manually, log in at backant.io/dashboard.
Client-Specific Configuration
Claude Code
Claude Code
See Claude Code MCP docs for more info.Remote Server (Recommended):Local Server:
| Scope | Description |
|---|---|
--scope local | Current project only — stored in .mcp.json |
--scope user | All projects — stored in ~/.claude/settings.json |
Use
--scope user to have BackAnt available across all your projects without configuring each one.Cursor
Cursor
Go to: Settings → Cursor Settings → MCP → Add new global MCP serverOr manually edit Local Server:
~/.cursor/mcp.json:- macOS:
~/.cursor/mcp.json - Windows:
%APPDATA%\Cursor\mcp.json - Linux:
~/.config/cursor/mcp.json
VS Code
VS Code
Open your VS Code MCP configuration:Local Server:
- Run MCP: Open User Configuration from the Command Palette
- Or manually edit:
- macOS/Linux:
~/.config/Code/User/mcp.json - Windows:
%APPDATA%\Code\User\mcp.json
- macOS/Linux:
Windsurf
Windsurf
Edit your Windsurf MCP configuration:Local Server:
- macOS:
~/.windsurf/mcp.json - Windows:
%APPDATA%\Windsurf\mcp.json - Linux:
~/.config/windsurf/mcp.json
Cline
Cline
- Open Cline
- Click the hamburger menu → MCP Servers
- Choose Remote Servers tab
- Click Edit Configuration
- Add
backanttomcpServers:
Roo Code
Roo Code
Continue.dev
Continue.dev
Edit your Local Server:
~/.continue/config.json:Remote Server (Recommended):Claude Desktop
Claude Desktop
Edit your Claude Desktop configuration:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
backant and the URL https://mcp.backant.io/mcp.Local Server:Copilot (VS Code)
Copilot (VS Code)
Add to your VS Code MCP configuration — Run MCP: Open User Configuration from the Command Palette.Remote Server (Recommended):
Kilo Code
Kilo Code
Create Local Server:
.kilocode/mcp.json in your project:Remote Server (Recommended):JetBrains AI Assistant
JetBrains AI Assistant
- Go to Settings → Tools → AI Assistant → Model Context Protocol (MCP)
- Click + Add
- Select As JSON
- Add configuration:
- Click Apply
Zed
Zed
Add to your Zed
settings.json. See Zed Context Server docs for more info.Warp
Warp
Navigate to Settings → AI → Manage MCP servers → + Add:
Amazon Q Developer CLI
Amazon Q Developer CLI
See Amazon Q Developer CLI docs for more details.
Gemini CLI
Gemini CLI
Open
~/.gemini/settings.json and add:Opencode
Opencode
Augment Code
Augment Code
Via UI: Hamburger menu → Settings → Tools → + Add MCPOr manually in settings:
Qodo Gen
Qodo Gen
- Open the Qodo Gen chat panel
- Click Connect more tools → + Add new MCP
Trae
Trae
Amp
Amp
Factory
Factory
Crush
Crush
Visual Studio 2022
Visual Studio 2022
LM Studio
LM Studio
Go to Program → Install → Edit mcp.json:
BoltAI
BoltAI
Open Settings → Plugins:
Perplexity Desktop
Perplexity Desktop
- Navigate to Settings → Connectors → Add Connector → Advanced
- Server Name:
backant - Add:
OpenAI Codex
OpenAI Codex
Kiro
Kiro
Local Server Setup
Local Server Setup
To run the BackAnt MCP server locally:Verify it is running:Then use
http://localhost:8000/mcp in place of the remote URL in any config above.Available MCP Tools
Once connected, your agent has access to:| Tool | Description |
|---|---|
generate_api | Scaffold a new BackAnt Flask API project |
generate_route | Add a route (+ service, repository, model) to an existing project |
generate_subroute | Add a subroute endpoint to an existing route |
analyze_project | Inspect the structure of an existing BackAnt project |
validate_spec | Validate a JSON spec without generating any files |
get_project_info | Get metadata (routes, models, docker presence) about a project |
check_route_exists | Check whether a specific route has been generated |