/api/v2.
MCP is opt-in. Only a curated set of procedures are tools. The rest of the dashboard API is not exposed.
Overview
MCP (Model Context Protocol) lets a language model call Oration as tools instead of you writing HTTP requests. Each tool maps to a tRPC procedure. Input schemas come from the same Zod schemas as REST. Use MCP when an assistant should search tickets, trigger conversations, or look up agents in your workspace. Use REST when you are integrating from your own backend. The server URL is:Authenticate
Send the same credentials as REST:- An API key (
x-api-key) - A workspace identifier: either
x-workspace-slugorx-workspace-id
Authorization: Bearer <api-key> instead of x-api-key. Workspace headers are still required.
The API key’s workspace role applies. A member who cannot assign tickets over REST cannot assign them over MCP.
Connect
Cursor
Add a server in Cursor MCP settings (~/.cursor/mcp.json or project .cursor/mcp.json):
Claude
Add a custom connector with URLhttps://www.oration.ai/api/mcp and the same headers.
Stdio-only clients
If the client cannot speak Streamable HTTP, wrap the URL with mcp-remote:Tools
Tool names are snake_case. Prefer search tools when you do not have an id; prefer get-by-id when you do.Tickets
Ticket messages and dispositions
Conversations
Customers and jobs
Workspace resources
Skills
Skills are reusable capabilities. Packs group them. Attach a pack to an agent to make those skills available on calls.Tools
A tool is an HTTP integration. Actions are the individual requests on that tool.Assists
An assist is a human-in-the-loop workflow. Actions are the steps on that assist.
Input fields are defined by each tool’s JSON Schema in the MCP client. Do not copy REST path parameters into the tool call unless the schema asks for them.
Limits
- Tools run as the API key’s user in the workspace from the request headers.
- Creating or editing agent graphs, flows, and designer objects is not available over MCP. Skill, tool, tool-action, assist, and assist-action management is.
- OAuth for MCP clients is not supported. Use an API key.
- SSE at
/api/sseexists for older clients. Prefer Streamable HTTP at/api/mcp.
FAQ
Should I use MCP or REST?
Use MCP when a model should operate in the workspace. Use REST from your own servers and automations. They share auth and permissions.Why is a dashboard action missing?
MCP is a curated surface. If the tool is not in the tables above, call REST or do the action in the product.Do I need both x-api-key and Authorization?
No. Send x-api-key, or send Authorization: Bearer <api-key>. Always send a workspace header.