Backant Backant ← Backant documentation

Backant MCP Server

Any coding agent. Any frontend. One backend standard. Connect Claude Code, Cursor, Antigravity, Codex, or any MCP-compatible client directly to Backant via the built-in stdio MCP server in backant-cli.

Quick Setup (Zero Extra Packages)

The MCP server ships directly inside backant-cli and reuses your local OAuth 2.1 + macOS Keychain / credential store session (from backant login) — no API keys in config files.

Claude Code (CLI)

claude mcp add backant -- npx -y backant-cli mcp

Cursor / Antigravity / Windsurf / Claude Desktop (JSON)

{
  "mcpServers": {
    "backant": {
      "command": "npx",
      "args": ["-y", "backant-cli", "mcp"]
    }
  }
}

Pair with Global Agent Skills (Recommended)

npm install -g backant-cli
backant login
backant skill sync --global

Available MCP Tools

Tool Name Purpose Safety / Scope
backant_overview Returns CLI version, authenticated accounts, registered local projects, and remote servers. Read-only
backant_validate Validates a local Backant project (Contract v2 handlers, strict acyclic Flow DAGs, models, routes, jobs, services, assets). Local read-only
backant_snapshot Compiles a deterministic JSON definition snapshot of a local project without deploying. Local read-only
backant_skill_read Reads bundled SKILL.md or reference guides (project-definitions, auth-and-email, storage). Local read-only
backant_inspect_models Lists live MongoDB models on a target Backant server and environment (dev, staging, prod). Remote read-only
backant_data_query Queries live model records with optional JSON filter, sort, and pagination. Sensitive fields are redacted automatically. Remote read-only (redacted)

Registry & Machine-Readable Manifests