Developers
BUILD / API V1

MCP

Connect Codex, Claude Code or Claude desktop to your workspace.

Model Context Protocol: connect your assistant

The official caelario-mcp package runs locally and calls the same API as the dashboard. It uses your workspace balance, operation availability, rate limits and saved results.

1. Choose the correct app

Install Node.js 20 or newer and your chosen app on this computer. Desktop users do not need to install a separate terminal CLI for the supported desktop paths below.

Codex CLI or Windows desktop
npx -y caelario-mcp@latest install codex

On Windows the installer finds the Codex desktop app’s bundled executable even if codex is absent from PATH. On other systems use the Codex CLI or your client’s manual MCP settings.

Claude desktop — Windows or macOS
npx -y caelario-mcp@latest install claude-desktop
Claude Code terminal
npx -y caelario-mcp@latest install claude

This uses Claude Code when its CLI is installed and detects Claude desktop if the CLI is absent. The desktop connection is available to regular chat and local Code tab sessions.

2. Paste the key into the terminal

The installer checks the key against GET /v1/account before saving it. Paste the key only at its hidden prompt, never into an AI conversation or a command argument. An expired or rejected environment key returns interactive users to setup.

3. Reopen the assistant and verify

Start a new local session and send this prompt before running an extraction:

Free connection check
Use Caelario to check my connection and show my available credits.

This reads get_account and get_credit_usage without spending extraction credits. An installer success message confirms saved configuration; a successful tool call confirms the assistant loaded it.

When a client cannot find Caelario

  • Codex not found: install Codex CLI or, on Windows, the Codex desktop app.
  • Claude not found: choose the desktop command for the desktop app, or install Claude Code for terminal use.
  • Installed but no tools: fully quit the app, rerun the matching installer while it is closed, reopen it and start a new local session.
  • Key rejected: confirm the key is active in the intended workspace; paste the full key into the terminal when asked.

A local installation does not automatically configure Claude web, a remote cloud session or another computer. For other MCP-compatible desktop apps, use their local STDIO server settings with npx -y caelario-mcp serve and private CAELARIO_API_KEY/CAELARIO_API_URL environment values.

Package and transport

Your selected client launches the local server over STDIO and owns its lifecycle. It calls https://api.caelario.com, and you do not need to keep a second terminal server running. If you would rather not install anything, add the hosted connector https://mcp.caelario.com/mcp instead; see the Claude connector page. The package needs only a Caelario workspace key, not social-network credentials.

25 available tools

Discoverdiscover_platforms · get_operation_guide · estimate_credits · get_account · get_credit_usage
Run nowextract_now
Durable jobscreate_extraction · wait_for_extraction · get_extraction · get_extraction_result · list_extractions · cancel_extraction
Batchescreate_batch · get_batch · list_batches · cancel_batch
Schedulescreate_schedule · get_schedule · list_schedules · update_schedule · manage_schedule
Research templateslist_templates · plan_template · run_plan · get_plan

discover_platforms reports the live catalog, including available and unavailable_reason. Check status and use estimate_credits before creating work. Unavailable operations are rejected before credit reservation.

Retry without duplicating work

The default request timeout is 120 seconds. If a write returns an uncertain-outcome error, reuse its idempotency_key with identical arguments. Inspect the returned job before starting another collection. Failed or cancelled result pages preserve the error and are not marked ready.