Scale Intelligence■ Docs
Docs / Start here / Connecting an agent

Connecting an agent.

Any MCP client connects to the platform in one of two ways: through the local server on your machine, or through the platform's MCP server over HTTPS with a key. Both serve the same tools and the same cards.

Figure 1Agent connectionsspecified
YOUR AGENTany MCP clienton any machineLOCAL SERVERsocket or loopbackPLATFORM MCP SERVERHTTPS with a keySAME TOOLS AND CARDStasksappselicitationA key carries grants from read, ask, act, work, files and admin. Each tool states the grant that it needs.flows forwardthe result
An agent connects through the local server on your machine or through the platform's MCP server. Both serve the same tools and the same cards.The connection changes nothing about the tools.

You can connect your own agent, on your machine or elsewhere. The agent uses MCP, and the platform serves MCP.

Connection options#

connection use it when requirement
the local server the agent runs on your machine, or it needs your files and the app’s cache the desktop app, with the socket or a listener turned on
the platform’s MCP server the agent runs elsewhere, or several people’s agents share one tenant a key with the grants that the agent needs

The agent gets the same tools and the same cards through either connection. A long step runs as a task that the agent can watch or stop. A host that renders cards draws each card from the address in the manifest. A host that does not render cards reads the card as text.

First calls#

  1. si.session.whoami returns the person or service that the agent acts for.
  2. si.session.my_grants returns what the agent may do in each place.
  3. si.read.catalogue returns the sources and connectors of the tenant.
  4. si.ask.preview previews a definition before anything is spent.

Delegation to the platform’s agent#

An outside agent can hand a whole job to the platform’s own agent with si.harness.delegate. The platform’s agent runs the job under the caller’s grants, reports progress as a task, and returns the cards. The platform’s agent treats everything that it reads from a source as data and never as an instruction. A page, a message or a document therefore cannot steer it.

Claims#

claimstateroute or tool
A connected agent reads its permissions with si.session.my_grants and hands a whole job to the platform's own agent with si.harness.delegate.targetsi.session.my_grants