hibase MCP Server

hibase exposes a standalone Model Context Protocol (MCP) server speaking Streamable HTTP so external AI coding and analytics agents can safely inspect pipelines, debug runs, dry-run SQL, and build ETL workflows.

  • Production endpoint: https://<your-workspace>.hibase.co/mcp
  • Authentication: Authorization: Bearer hib_live_<your_company_mcp_api_key>

1. Create an MCP API Key

  1. Open Settings → MCP API Keys in your hibase workspace (admins only).
  2. Click Create Key, give it a descriptive name (for example, Claude Code Read-Only or Cursor Pipeline Builder), and select its permission scopes.
  3. Copy the generated hib_live_... token immediately — for security, the plaintext token is only shown once.
  4. You can revoke keys at any time without affecting existing workflows.

Scope Visibility Modes

By default, tools/list returns only tools enabled by the key's scopes, keeping agent context clean while documenting disabled scopes in initialize.instructions, get_hibase_capabilities, and hibase://capabilities.

If you want your client to see stub entries for disabled tools (flagged with [DISABLED — requires scope: ...]), either:

  • Toggle Expose disabled tool stubs when creating the key, or
  • Connect with ?show_disabled=true in the URL or send header X-Hibase-Show-Disabled: true.

Invoking a disabled stub short-circuits cleanly with tool_disabled without executing the underlying action.

2. Connect Your MCP Client

Claude Code

Add the remote HTTP MCP server via CLI:

claude mcp add --transport http hibase https://<your-workspace>.hibase.co/mcp \
  --header "Authorization: Bearer hib_live_<your_key>"

Or add it to your project .mcp.json:

{
  "mcpServers": {
    "hibase": {
      "type": "http",
      "url": "https://<your-workspace>.hibase.co/mcp",
      "headers": {
        "Authorization": "Bearer hib_live_<your_key>"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json or .cursor/mcp.json in your repository:

{
  "mcpServers": {
    "hibase": {
      "url": "https://<your-workspace>.hibase.co/mcp",
      "headers": {
        "Authorization": "Bearer hib_live_<your_key>"
      }
    }
  }
}

Claude Desktop / Generic mcp-remote Clients

If your desktop client does not natively support HTTP headers on remote servers yet, bridge it with mcp-remote:

{
  "mcpServers": {
    "hibase": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://<your-workspace>.hibase.co/mcp",
        "--header",
        "Authorization:Bearer hib_live_<your_key>"
      ]
    }
  }
}

3. Smoke-Test with curl

Verify connectivity, tenant routing, and key authentication:

curl -sS -X POST "https://<your-workspace>.hibase.co/mcp" \
  -H "Authorization: Bearer hib_live_<your_key>" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2025-03-26",
      "capabilities": {},
      "clientInfo": { "name": "curl-check", "version": "1.0" }
    }
  }'

4. Built-in MCP Resources, Skills & Prompts

In addition to tools, the hibase MCP server exposes portable hibase domain knowledge directly over MCP:

MCP Resources

  • hibase://capabilities — JSON payload listing the workspace subdomain, enabled/disabled scopes, and enabled/disabled tools for the current key.
  • Built-in Skills (hibase://skills/...):
    • hibase://skills/hibase-pipeline-explorer — Topology, step types, DAG exploration, and table lineage
    • hibase://skills/hibase-workflow-troubleshooting — Scheduling diagnostics, overdue runs, stale retries, and log analysis
    • hibase://skills/hibase-templating-and-sql — Liquid + GoJS ($...$) interpolation syntax, raw_value(), SQL-aware NULL handling, and scope gates
    • hibase://skills/hibase-connector-architecture — Connectors, endpoints, response selectors, dynamic limits, and subscription safety
    • hibase://skills/hibase-workflow-use-cases — End-to-end recipes (plus reference docs for incremental-loading, connector-etl, database-sync, assertions-and-conditional-flow, dynamic-sql-and-notifications)

MCP Prompts

  • troubleshoot-workflow (workflow_id_or_name optional) — Structured troubleshooting flow across DAG, logs, and dry-run compilation
  • explain-pipeline (workflow_id_or_name optional) — Structural & lineage explanation for a workflow or workspace
  • audit-workspace-health — Workspace-wide audit of overdue runs, failures, and dependency bottlenecks
  • design-incremental-load (source_type required, target_description optional) — Guided watermark & connector incremental load design
  • draft-workflow-step (goal required) — Draft a workflow step, Liquid/GoJS expression, or parameterized SQL query