Model Context Protocol · Streamable HTTP & Stdio

Ceptory MCP Server: Connect AI Agents to Your Cameras & Video

Connect Claude Code, Claude Desktop, Cursor, VS Code, Codex, Gemini CLI, Windsurf, or any MCP agent framework directly to Ceptory. Paste one URL, approve via OAuth 2.1 in your browser, and manage live camera workflows, triage alerts, trace cross-camera movement, search video in plain English, and invoke AI detection engines.

Streamable HTTP (OAuth 2.1 or Bearer)

https://mcp.ceptory.com/mcp

Stdio Bridge (Adds Local File Uploads)

CEPTORY_TOKEN=<token> npx -y ceptory-mcp

How It Works

How do you connect an AI agent to Ceptory MCP?

Connecting takes under two minutes: add the hosted MCP URL to your client, approve access in your browser over OAuth 2.1 with PKCE, and verify your workspace with get_account.

  1. 1

    Add the MCP URL

    Paste https://mcp.ceptory.com/mcp into Claude Code, Claude Desktop, Cursor, VS Code, Codex, Gemini CLI, or Windsurf. No API key required for OAuth clients.

  2. 2

    Approve in your browser

    Your client discovers OAuth 2.1 automatically via .well-known/oauth-authorization-server and opens ceptory.com so you click Allow. Headless agents can use a Bearer token from /dashboard/mcp.

  3. 3

    Pair with the 11 Agent Skills

    Run npx skills add whyashthakker/video-intelligence so your agent knows every camera workflow schema, alert verification rule, RTSP template, and report format automatically.

Client Configuration

How do you configure Ceptory MCP in each AI client?

Every MCP client below works with Streamable HTTP (MCP 2026-07-28, backwards-compatible with 2025 clients). Use the ceptory-mcp stdio bridge when you also want one-step local upload_video_file and image_path helpers.

Claude Code

Run in your terminal, then type /mcp in Claude Code and choose Authenticate to approve in your browser.

claude mcp add --transport http ceptory https://mcp.ceptory.com/mcp

Claude Desktop & claude.ai

In Connectors UI: Settings → Connectors → Add custom connector with https://mcp.ceptory.com/mcp. Or use stdio for local files:

{
  "mcpServers": {
    "ceptory": {
      "command": "npx",
      "args": ["-y", "ceptory-mcp"],
      "env": { "CEPTORY_TOKEN": "<token>" }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json or project .cursor/mcp.json. Cursor prompts browser OAuth sign-in automatically.

{
  "mcpServers": {
    "ceptory": { "url": "https://mcp.ceptory.com/mcp" }
  }
}

VS Code (GitHub Copilot)

Add to .vscode/mcp.json or run MCP: Add Server from the Command Palette.

{
  "servers": {
    "ceptory": { "type": "http", "url": "https://mcp.ceptory.com/mcp" }
  }
}

OpenAI Codex CLI

Run the add + login commands for browser OAuth, or configure npx -y ceptory-mcp in ~/.codex/config.toml.

codex mcp add ceptory --url https://mcp.ceptory.com/mcp
codex mcp login ceptory

Gemini CLI

Add to ~/.gemini/settings.json, then run /mcp auth ceptory inside Gemini CLI.

{
  "mcpServers": {
    "ceptory": { "httpUrl": "https://mcp.ceptory.com/mcp" }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json. Windsurf initiates browser OAuth automatically.

{
  "mcpServers": {
    "ceptory": { "serverUrl": "https://mcp.ceptory.com/mcp" }
  }
}

OpenAI Agents SDK, LangChain, Mastra & n8n

Point any Streamable HTTP MCP client at the endpoint with Authorization: Bearer <token>, or spawn stdio via npx -y ceptory-mcp.

URL:       https://mcp.ceptory.com/mcp
Transport: Streamable HTTP (MCP 2026-07-28)
Auth:      OAuth 2.1 PKCE or Authorization: Bearer <token>

Tool Reference

What MCP tools does the Ceptory server expose?

Ceptory MCP exposes 30+ live tools spanning recorded video search, 10 camera monitoring workflows, face and license plate lists, alert triage, cross-camera Re-ID tracking, and direct AI detection engines.

Domain MCP Tools Capabilities Access
Account get_account Signed-in user, workspace, plan, RBAC role, prepaid balance, and usage. Read
Video chats & ingest list_chats, create_chat, add_video_from_url, create_upload_url, complete_upload, get_chat_videos, retry_video Organize video chats, ingest HTTPS links or local uploads up to 2 GB, poll PROCESSING → READY (upload_video_file in stdio bridge). Read / Write
Video search & vision get_video_storyboard, get_video_frames, get_video_info, search_videos, ask_video, analyze_video, get_video, list_videos Watch videos directly with storyboards and exact frames (free, no indexing wait); natural-language search across visuals, speech, and OCR; grounded video Q&A; structured reports; indexed segment timelines. Free / Metered
Cameras & 10 workflows list_camera_workflows, list_cameras, get_camera, create_camera, update_camera, send_camera_frame, get_camera_snapshot Configure PPE, person down, fire & hazards, intrusion, face access, loitering, unattended bags, crowd limit, illegal parking, and rider helmet rules with IANA schedules and ROI zones. Read / Write
People & ANPR plates add_camera_person, remove_camera_person, read_plates, update_plate_list Enrol up to 5 photos/person on staff, watchlist, or custom allow: / alert: lists; read plates from photos; manage Authorized and instant-alert Banned plate lists. Read / Write
Sites, Re-ID & maps list_camera_groups, create_camera_group, update_camera_group, geocode_address, get_movement, get_sighting_image Group cameras by site, trace cross-camera person and vehicle journeys with thumbnails, and place camera coordinates/heading/FOV for multi-camera GPS triangulation. Read / Write
Alert triage list_alerts, get_alert_image, update_alert, test_discord_webhook Paginate open/acknowledged/resolved alerts, inspect annotated alert evidence photos before resolving false alarms, and test Discord webhooks. Read / Write
AI vision engines list_engines, run_engine Run individual computer-vision detectors (PPE, fire/smoke, plates, faces, crowd, vehicles) on still images or stateful multi-frame loops with optional annotated JPEGs. Metered
Destructive ops delete_chat, delete_video, delete_camera, remove_camera_person, delete_camera_group Annotated destructive so MCP clients prompt the user for confirmation before permanent deletion. Confirm first

Example Prompts

What can you ask your agent once Ceptory MCP is connected?

Every workflow can be driven in plain English. Pair Ceptory MCP with the 11 Video Intelligence Agent Skills for reliable, schema-accurate execution.

  • “Set up a camera called Loading dock that alerts our Discord when anyone isn't wearing a helmet and a hi-vis vest.”
  • “Watch the back fence for people or vehicles between 10pm and 6am India time. Only the left half of the frame matters.”
  • “Which cameras are offline right now? Show me today's open alerts with their photos, then resolve confirmed false alarms.”
  • “Put the gate, lobby, and car park cameras in a group called North site and show me where people went in the last hour.”
  • “Upload ./checkout-bug.mp4, read the timeline, and list every click and visible error message with timestamps.”
  • “Run the fire and smoke engine on this warehouse photo with boxes drawn and tell me what it found.”

Security, Governance & Pricing

How does Ceptory MCP enforce permissions and billing?

MCP calls execute in-process against the exact same API handlers as the Ceptory web dashboard and desktop app—so RBAC, rate limits, and prepaid usage match identically.

Browser OAuth 2.1 + instant revocation: Agents never see your password, only a hashed session token is stored, and revoking an agent at /dashboard/mcp cuts access immediately.
Workspace RBAC enforced server-side: VIEWER members remain strictly read-only (403 on writes); only editors/admins can create cameras or modify rules.
Destructive tool annotations: Every delete tool declares destructiveHint: true so compliant clients confirm with a human before deleting cameras, videos, or people.
Transparent pay-as-you-go usage: Connecting MCP is free. Workspaces start with free indexing minutes, then metered indexing ($0.042/min + $0.0015/min infra) and search ($4/1,000 queries) at ceptory.com/pricing.

FAQ

Ceptory MCP Server questions, answered

What is the Ceptory MCP server URL and protocol version?

The hosted Streamable HTTP endpoint is https://mcp.ceptory.com/mcp, supporting MCP 2026-07-28 with backwards compatibility for 2025-era clients. For stdio-only clients or one-step local file uploads, run CEPTORY_TOKEN=<token> npx -y ceptory-mcp.

How does authentication work on Ceptory MCP?

Interactive MCP clients discover OAuth 2.1 with PKCE and dynamic client registration directly from https://mcp.ceptory.com/mcp and open ceptory.com in your browser to approve. Headless agents, CI pipelines, and the stdio bridge can authenticate with a Bearer token created at https://www.ceptory.com/dashboard/mcp.

What can an AI agent do through Ceptory MCP?

An approved agent can ingest and search recorded video in natural language, ask grounded questions about clips, configure all 10 live camera workflows (PPE, person down, fire and hazards, intrusion, face access, loitering, unattended bags, crowd limit, illegal parking, rider helmets), manage people and license plate lists, inspect and resolve alerts with annotated photos, trace cross-camera journeys, and run individual AI detection engines.

Which MCP clients and agent frameworks are supported?

Ceptory MCP works with any standard MCP client, including Claude Code, Claude Desktop, claude.ai, Cursor, VS Code (GitHub Copilot), OpenAI Codex CLI, Gemini CLI, Windsurf, Antigravity, OpenAI Agents SDK, LangChain, Mastra, and n8n.

How are workspace permissions, destructive tools, and billing enforced?

Every MCP tool invokes the same server route handler as the Ceptory dashboard using the approving user's workspace and role. Viewer accounts remain read-only, delete tools are annotated destructive so agents confirm before running them, and paid actions draw from the workspace's free indexing allowance and prepaid balance.

How do I revoke an MCP agent's access?

Open https://www.ceptory.com/dashboard/mcp and revoke the connected agent or token. Access stops immediately. Browser OAuth sessions also expire automatically after 30 days.

Ready in two minutes

Connect your AI agent to Ceptory MCP today

Paste https://mcp.ceptory.com/mcp into your MCP client, approve in your browser, and install the 11 open-source video intelligence skills so your agent handles every camera and video task reliably.