Give an agent the tools you chose, and nothing else.

Every workspace has an MCP server. An agent connects with a service account's key and is offered the scripts and flows that account may start, each with its schema. Every call passes the same permission check as the API and lands in the same audit log.

  • Model Context Protocol
  • scoped by permission
  • stable tool names
  • audited

Three steps to a connected agent.

  1. 1Make an account

    A service account with keys of its own, in the console or as a file in the tenant's repository.

  2. 2Bind the tools

    Choose the scripts and flows it may run. Offer to an agent does it from a script's own page.

  3. 3Connect

    Copy the address and settings into your agent, then try a tool from the console as the agent would.

What it may do decides what it sees.

The tools are worked out from the key on every request. A script the account isn't bound to isn't hidden behind a refusal; it's never offered at all.

  • There's nothing here an API client couldn't do. It's the same API, in the shape agents speak.
  • Each call is in the audit log, marked as made through MCP.
  • Row rules still apply to whatever the script reads for the account.
  • A refusal comes back as the tool's answer, so the agent can tell the person why.

What an agent is offered.

ToolWhat it does
Your scriptsOne tool per script the account may start, with the script's own input schema and its output schema. The call waits up to 25 seconds for the result, then answers with the run's ID.
Your flowsOne tool per flow with a manual trigger. Its input schema is what the agent is shown and what the call is checked against.
get_run, get_flow_runFollow something that took longer than the call: its status, and its output or error once it ends.
list_approvals, decide_approvalOffered only to an account that may decide. Lists what's waiting, and approves or rejects with a comment that says why.

Up to 200 scripts and flows are offered per workspace. An agent isn't helped by more.

Tool names that don't move.

By default a tool is named from its path. Give it a name of your own, and renaming or moving the script never changes what the agent calls.

  • If a tool's name does change, the old name keeps working for a while, and its description tells the agent the new one and the date the old one stops.
  • A change to a name an agent depends on is listed under Breaking, and promoting it to production has to be confirmed.
  • The build refuses two tools with one name.
src/scripts.ts · agent settingsmcp
defineScript({
  path: "requests/submit",
  mcp: { name: "submit_device_request" },
  // …
});

{
  "mcpServers": {
    "platform": {
      "type": "http",
      "url": "https://…/workspaces/<workspace>/mcp",
      "headers": { "Authorization": "Bearer <an API key>" }
    }
  }
}

The Agent access screen gives the exact address and settings for each service account.

Service accounts, for every program.

Agents are one use. A CI pipeline that deploys, or another system calling your scripts, gets the same kind of identity.

Keys of their own
Several per account, stored only as a hash, shown by a prefix, each with an expiry and the time it was last used.
Bound like anyone
Roles at the tenant, a workspace or one script, through the same bindings as people.
Kept in the repository
An account and what it's given can be files, released with the rest of the tenant's access.
On the record
A run says the account that started it, and the audit log says what it changed.
Tried before it's trusted
Agent access shows the tools an account would be offered, and runs any of them from the console as that account.
Plain protocol
The Model Context Protocol over streamable HTTP, with no session to keep. Tested with the protocol's own client library.

Let an agent help, on your terms.

The MCP server comes with every Volvel instance, under Apache 2.0.