MCP Server

Give AI coding assistants direct access to the Backbone platform — manage projects, run extractions, and more from your IDE.

Overview

The Model Context Protocol (MCP) is an open standard that lets AI assistants interact with external tools and services. The Backbone MCP Server exposes the entire Backbone API as MCP tools, so your AI-powered IDE can:

  • Create and manage projects and schemas
  • Run data extractions and test schemas
  • Convert documents and transcribe audio
  • Query AI models through the LLM Gateway
  • Browse API documentation

No copy-pasting API keys into chat. No switching between your IDE and the dashboard. Just ask your assistant to do it.

Installation

Install the MCP server globally via npm:

npm install -g @manfred-kunze-dev/backbone-mcp-server

Or run it directly with npx (no install needed) — this is what the IDE configurations below use.

Setup

1

Get an API key

Head to the API Keys page in the sidebar and create a new key. Copy it — you'll need it for the configuration below.

2

Configure your IDE

Add the Backbone MCP server to your IDE's MCP configuration. See the IDE-specific sections below.

IDE Configuration

Claude Code

Add to .claude/settings.local.json in your project root:

{
  "mcpServers": {
    "backbone": {
      "command": "npx",
      "args": ["@manfred-kunze-dev/backbone-mcp-server"],
      "env": {
        "BACKBONE_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "backbone": {
      "command": "npx",
      "args": ["@manfred-kunze-dev/backbone-mcp-server"],
      "env": {
        "BACKBONE_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Windsurf

Add to .windsurf/mcp.json in your project root:

{
  "mcpServers": {
    "backbone": {
      "command": "npx",
      "args": ["@manfred-kunze-dev/backbone-mcp-server"],
      "env": {
        "BACKBONE_API_KEY": "sk_your_api_key"
      }
    }
  }
}

OpenAI Codex CLI

Add to ~/.codex/config.json:

{
  "mcpServers": {
    "backbone": {
      "command": "npx",
      "args": ["@manfred-kunze-dev/backbone-mcp-server"],
      "env": {
        "BACKBONE_API_KEY": "sk_your_api_key"
      }
    }
  }
}

Environment Variables

VariableRequiredDefaultDescription
BACKBONE_API_KEYYesAPI key for authenticating with the Backbone backend
BACKBONE_BASE_URLNohttps://backbone.manfred-kunze.dev/apiBase URL of the Backbone backend. Override for self-hosted instances
MCP_TRANSPORTNostdioTransport mode: stdio or http
MCP_HTTP_PORTNo3100Port for the HTTP transport (only used when MCP_TRANSPORT=http)

Available Tools

Projects

Manage projects within your organization.

ToolDescription
backbone_list_projectsList projects with optional search and pagination
backbone_get_projectGet a project by ID
backbone_create_projectCreate a new project
backbone_update_projectUpdate a project
backbone_delete_projectDelete a project and all its data

Schemas

Define extraction schemas within projects.

ToolDescription
backbone_list_schemasList schemas in a project
backbone_get_schemaGet a schema by ID
backbone_create_schemaCreate a new schema
backbone_update_schemaUpdate a schema
backbone_delete_schemaDelete a schema and all its versions

Schema Versions

Manage versioned snapshots of schema definitions.

ToolDescription
backbone_create_schema_versionCreate a new version (becomes active)
backbone_list_schema_versionsList all versions of a schema
backbone_get_schema_versionGet a specific version
backbone_get_latest_schema_versionGet the latest active version
backbone_activate_schema_versionRe-activate a historical version

Schema Testing

Validate schemas and test extractions without persisting data.

ToolDescription
backbone_validate_schemaValidate a JSON Schema definition
backbone_test_schemaTest a schema against sample text with AI extraction

Extractions

Extract structured data from text using schemas and AI models.

ToolDescription
backbone_create_extractionExtract data from text (sync or async)
backbone_get_extractionGet an extraction by ID
backbone_list_extractionsList extractions with filtering
backbone_estimate_tokensEstimate token usage without executing
backbone_rerun_extractionRe-run an existing extraction

Document Conversion

Convert documents (PDF, DOCX, etc.) to Markdown, text, HTML, or JSON.

ToolDescription
backbone_convert_documentConvert documents from URLs, base64, or local files
backbone_get_task_statusCheck status of an async conversion task
backbone_get_task_resultGet the result of a completed conversion

Audio Transcription

Transcribe audio files using AI models.

ToolDescription
backbone_transcribe_audioTranscribe an audio file (supports flac, mp3, mp4, ogg, wav, webm)

AI Gateway

Access multiple AI providers through a unified interface.

ToolDescription
backbone_chatSend a chat completion request
backbone_list_modelsList available AI models and providers

API Documentation

Browse the backend's OpenAPI documentation by section.

ToolDescription
backbone_list_api_doc_sectionsList available doc sections with endpoint counts
backbone_get_api_docsFetch filtered docs for a specific section

Transport Modes

The MCP server supports two transport modes:

Stdio (default)

The standard mode for IDE integrations. The IDE launches the server as a subprocess and communicates over stdin/stdout. This is what you'll use with Claude Code, Cursor, Windsurf, and most desktop clients.

HTTP

For network-accessible deployments or shared team servers. Set MCP_TRANSPORT=http to expose the server over HTTP:

  • POST /mcp — MCP Streamable HTTP endpoint
  • GET /health — Health check

Was this page helpful?