Studio as an MCP Server
Studio can be an MCP (Model Context Protocol) server. People then use their Enterprise Agents, knowledge bases, workflows and API Builder operations from the AI tools they already work in, such as Claude, VS Code, Cursor and other tools that support MCP.
Each AI tool signs in with the person's Studio API key and acts as that person: it reaches what they may use in Studio, nothing more. Everything stays in your Studio: the agents answer with your models, and nothing is sent anywhere else.
This is the other way round from MCP Servers, where Studio uses tools from other MCP servers.
Turning it on (admins)
- Open Admin › Settings › Integrations and find MCP server.
- Turn the switch on. It is off by default.
- Under What connected tools can reach, tick the groups to offer:
- Enterprise Agents: list the agents a person may use, and ask them questions;
- Enterprise Knowledge: list and search the knowledge bases a person may read;
- Workflows: list and run the published workflows a person may run;
- API Builder operations: the operations exposed to agents that a person may call.
The card shows the server's address to share with your users.
People sign in with an API key, so API keys must be allowed for them: turned on for the instance, and the API Keys permission given to their groups. If you limit which addresses API keys may call, add /mcp to the allowed list.
Connecting an AI tool
- In Studio, open Settings › Account.
- Under API keys, create a key if you don't have one, and copy it.
- Under Connect AI tools (MCP), choose your tool: Claude Code, VS Code, Cursor or Claude Desktop.
- Copy the setup shown, put your API key in place of
YOUR_API_KEY, and add it to your tool where the card says.
Claude Desktop connects through a small helper that needs Node.js on your computer.
Anyone with your API key can act as you. Keep it private, and create a new key if it leaks: the old one stops working.
What the tools do
| Tool | What it does |
|---|---|
| list_agents | The Enterprise Agents you can use, with what each does |
| ask_agent | Asks an agent a question. It answers with its own instructions, knowledge and tools, as in a chat, and names the documents it used. Earlier turns of a conversation can be passed along. |
| list_knowledge_bases | The knowledge bases you can read |
| search_knowledge | Finds passages in your knowledge bases, with the document each comes from |
| list_workflows | The published workflows you can run |
| run_workflow | Runs a workflow with an input and returns its result. A step that needs a person's approval pauses the run: its reviewer finds it in Dashboard › Inbox. |
| API operations | One tool per API Builder operation exposed to agents that you may call. Calls go through the API's gateway, with its limits and checks. |
Your AI tool chooses when to use them. Ask it, for example, "Ask the HR agent how many leave days I have left" or "Search our policies for the travel allowance".
What applies
- Permissions: the same as in Studio. A tool sees only the agents, knowledge bases, workflows and operations its person may use.
- Guardrails, usage limits and the fallback provider apply to answers as they do in a chat.
- Audit: every tool call is recorded in Admin › Trust › Audit log, with the person and the tool.
- No chat history: questions asked through MCP don't appear in your chats. They count in the AI usage reports.
Limits
- An agent has up to 4 minutes to answer; a workflow run is followed for up to 4 minutes, then the tool says where to find its result.
- A question or a workflow's input can be up to 20,000 characters. A search returns up to 20 passages.
- Answers come back whole, not streamed.
- A reverse proxy in front of Studio must allow requests to
/mcpto stay open for a few minutes.