MCP server
Ask your assistant how a job is done here, and get the version your team actually runs.
Example
Which steps of the cycle count get skipped most this month?
get_workflow_insights
Step 4, the recount of bins that are off by more than two units, is skipped most, mainly on the night shift. Two open flags say the scanner in aisle 12 keeps failing.
What to ask
Answers from your own operation
What are the steps for receiving a pallet, and which ones need a photo?
get_workflowWhich flags are still open for the dock crew?
list_open_flagsHow did yesterday's run for PO-77821 go?
list_runsQueue a receiving check for PO-77821 for the dock crew.
queue_run
Connect
Add OpsBrain to your assistant
https://app.opsbrain.io/mcpClaude
In claude.ai or the desktop app, add a custom connector with the address above. Under request headers, add Authorization with the value Bearer followed by your key.
Claude Code
Run this once in a terminal.
claude mcp add --transport http opsbrain https://app.opsbrain.io/mcp \
--header "Authorization: Bearer obk_..."Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"opsbrain": {
"url": "https://app.opsbrain.io/mcp",
"headers": { "Authorization": "Bearer obk_..." }
}
}
}VS Code
Add this to .vscode/mcp.json. VS Code asks for the key and keeps it out of the file.
{
"inputs": [
{
"type": "promptString",
"id": "opsbrain-key",
"description": "OpsBrain API key",
"password": true
}
],
"servers": {
"opsbrain": {
"type": "http",
"url": "https://app.opsbrain.io/mcp",
"headers": { "Authorization": "Bearer ${input:opsbrain-key}" }
}
}
}ChatGPT needs a sign-in flow (OAuth) that OpsBrain doesn't offer yet. This page will say when it does.
Tools
Twelve tools, filtered by the key's scopes
Look things up
search_workflows- Find workflows by name, status or team.
get_workflow- One workflow with its live steps, decisions and the evidence each step asks for.
list_runs- Recent runs by status, workflow, team, reference or date.
get_run- One run step by step: answers, skips, notes, flags and timing.
list_open_flags- Flags nobody has resolved yet.
get_workflow_insights- Health score and the steps where people skip or raise flags.
list_teams- The organization's teams.
get_team_queue- Runs waiting in a team's queue.
list_suggestions- Suggestions to improve your workflows.
Make changes, after checking with you
queue_run- Put a run in a team's queue, with answers filled in ahead.
resolve_flag- Resolve a flag.
create_draft_workflow- Start a draft from a description, for a manager to review.
Safeguards
Your assistant can't go further than its key
- Read only first
- A read-only key doesn't even see the three tools that make changes.
- It asks before acting
- The server tells the assistant to check with you before it queues a run, resolves a flag or starts a draft.
- No publishing or deleting
- No tool publishes a workflow, deletes anything, or changes members, billing or settings.
- Your team's text stays data
- Step instructions, notes and flags come back marked as data, and the assistant is told never to follow instructions inside them.
- Same limits as the API
- Every tool call counts against the key's limits and shows in its usage.
FAQ
Questions about the MCP server
- What is an MCP server?
- MCP (Model Context Protocol) is an open standard that lets AI assistants use tools from other software. OpsBrain's MCP server is the set of tools an assistant uses to look things up in OpsBrain, and to act when you allow it.
- Does everyone in our Claude organization share one key?
- On Claude Team and Enterprise, an owner adds the connector once and everyone uses the same key. Choose its scopes with that in mind, or give people their own keys in Claude Code, Cursor or VS Code.
- Can I connect my own agent?
- Yes. Any MCP client that supports Streamable HTTP and custom headers can connect, including agents you build with an MCP SDK.
- Which plans include it?
- Every plan, Free included. The MCP server uses your API keys and the same limits as the REST API.