Skip to content

MCP

MCP is a translator. It does not recompute the schedule. It forwards to the existing REST catalog.

Transports

  • Stdio: python -m app.mcp_stdio. For a local process. Set BSI_BASE_URL and BSI_API_KEY (or BELLATOR_API_KEY).
  • Streamable HTTP: POST https://api.bellatorsi.com/mcp. One JSON-RPC message per request. The response is JSON. GET and DELETE return 405.

Auth on HTTP is x-api-key or Authorization: Bearer.

Install

Point the client at the shipped server. Do not use a local process for this.

{
  "mcpServers": {
    "bellator-si": {
      "url": "https://api.bellatorsi.com/mcp",
      "headers": {
        "x-api-key": "YOUR_KEY"
      }
    }
  }
}

Mint the key with POST https://api.bellatorsi.com/api/v1/keys/ephemeral/generate/agent. The field is api_key. That key is free: health and analysis only for your own data, and sample calls run on any tool (see Sample schedules).

VS Code uses the same URL and header in .vscode/mcp.json with "type": "http".

Sample schedules

Every schedule tool accepts schedule_fixture in place of the schedule data, for example {"schedule_fixture": "commercial_construction_logic_defects"}. GET https://api.bellatorsi.com/api/v1/sandbox/fixtures lists each sample with the endpoints it is built for. The result is the same as the REST call with the same sample.

Send a sample instead of the data, not with it. A sample sent with tasks or any other schedule data is an error.

With a sandbox key (eph_, from the playground or agent mint), a sample call runs on any tool, including forensics and simulation, and is not metered. With an account key, a sample call is billed and tier-checked like any other call.

Tools

tools/list on POST /mcp returns every tool, the same list as GET /mcp/tools. Tool names are the operationIds on the API reference; each tool's title is the operation's summary.

Family Tools Tier
Analysis analysis_validate, analysis_cpm, analysis_resources Free
Health health_score, health_logic_audit, health_progress_audit, health_dcma_14_point, health_dcma_decm, health_planning_horizon, health_schedule_risk_index Free
Forensics forensics_delay_analysis, forensics_change_tracking, forensics_baseline_compare, forensics_as_planned_vs_as_built Starter
Simulation simulation_monte_carlo, simulation_what_if Professional

Every tool is annotated readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false: it computes over the request and stores nothing.

The local stdio server lists only health_score, health_logic_audit, and analysis_validate unless BSI_MCP_TOOLS names more (comma-separated).

Keys

  • Playground mint issues a demo key. It includes forensics.
  • Agent mint POST /api/v1/keys/ephemeral/generate/agent issues a free key. Health and analysis only for your own data; sample calls run on any tool (see Sample schedules).
  • A paid key is a normal account key. Put it in BSI_API_KEY. No separate agent product.

A tool above the key's tier returns a tool error (isError: true) whose text is a problem document with code TIER_REQUIRED, required_tier, and signup_url. A sample call with an eph_ key is the exception (see Sample schedules).

Call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "health_score",
    "arguments": {
      "tasks": [
        { "id": "T1", "duration_days": 1, "predecessors": [] }
      ]
    }
  }
}

The result content[0].text is the REST response, and structuredContent is the same object. isError is false on a completed check, including a failing score. On an error, isError is true and the text is an RFC 9457 problem document (see Errors). An unknown tool name is a JSON-RPC error -32602.

Was this page helpful?

Your feedback helps us improve docs, reference pages, and Playground flows.

Topic: MCP · Page: /docs/mcp

TermsPrivacyContact

Schedule analysis guidance. Not legal advice. You remain responsible for contract and agency compliance.