metacore Start a pilot

Developers · Interfaces

The public API, as tools for AI agents.

MCP is one more interface to a domain. Each tool is one operation of the public API, with its request and its response in JSON, and with the same permissions, rate limits and audit entries. The MCP server adds no rule of its own.

An AI agent, through MCPOutcome
Reads records, runs and jobsAllowed, within its grants
Submits a change setHeld for approval, always
Calls a procedure, or starts a workflowAllowed, and the runs it starts are held for approval
Approves a held run, or rolls backRefused: only a person decides
Writes an overlay, sets a secret or binds a webhookRefused: nothing would hold the change for a person

What an agent can do

An AI agent signs in as any connected app does: for a person through OAuth, or for itself with a key. A refusal returns as the result of the tool, with its code and its reason, so the agent can act on it.

Connection

An agent connects as any app does.

No agent runs inside the platform. An AI agent is a connected app, outside, and an owner says that it is an agent when adding it.

PartHow it works
ProtocolThe Model Context Protocol, over HTTP.
AddressThe entry /mcp, at the address of a domain.
Sign-inFor a person through OAuth, or for itself with a key.
SessionsNone. Each request carries its token and stands alone.
PermissionsThe same grants, rate limits and audit entries as any caller.
No way aroundWhat MCP leaves out is refused over the public API too.

How an agent connects

Only an agent uses MCP. An app that is no agent is refused there, and so is a person with no app.

metacore

Let Settings assistant act for you?

korvan.eu1.example.com

The agent Settings assistant asks to act for analyst@korvan.example in this org.

  • It does only what both of you may do: what you hold, and what an admin granted to the app itself.
  • It is an agent: whatever it changes waits for a person to approve it.
  • It asks you once. You take your consent back at any time, in your account.

A person’s consent

An agent that acts for a person sends them here once. The person signs in to the org first, as for any app.

Tools

Each tool is one operation, under its name.

The tools are the same for every domain and every caller. What a caller may do is checked by the call, as on any interface.

ToolWhat it does
GetRecordOne record, as it resolves at the call’s scope values.
SearchRecordsAn entity’s records that match words and conditions.
BatchGetRecordsThe records that a page refers to, in one call.
SubmitChangeSetStarts a run, which is held for approval.
GetRunWhere a run stands, and what holds it.
CallProcedureStarts a job. The runs that it starts are held too.

Some of the tools

A tool’s description, and that of each of its fields, comes from the contract.

Not a toolSuch as
Only a personApprove a held run, roll back or decide a stage: DecideRun GoBack DecideStage
Takes a secretBind a connection or a webhook: BindConnection BindWebhook
No AI agentWrite an overlay or change a module: nothing would hold that change for a person. WriteOverlay CreateModule
Out of reachThe event stream, uploads and the org’s setup. An agent calls them over the public API, as any app does.

What MCP leaves out

An agent that calls one of the first three over the public API is refused there too.

Approval

Whatever an AI agent changes waits for a person.

Its run is held on every layer that it changes, also where no rule holds it. Whoever may decide those layers decides it.

From a tool call to live data

A dashed line is outside the platform. A held run that nobody decides in time is canceled, never published.

A tool callWhat comes back
An answerThe operation’s answer, in JSON.
A refusalA result marked as an error, with its code and its reason, so the agent acts on it.
Wrong argumentsA refusal that names the field, so the agent corrects its call.
A read after a changeIt names the run, and sees at least what that run published.

What an agent reads

The MCP server gives tools alone: no resource, no prompt and no question back to the agent.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing