Developers / AAES Operate / MCP

Operate MCP.

Give MCP clients the operate/v1 operations at /operate/mcp, with the same permissions as the Operate API.

This documentation describes AAES Operate. Operational controls and private-work permissions are independent of AAES Govern policy and evidence. About AAES Operate

Interface scope

The Operate front serves an MCP endpoint at /operate/mcp on your Operate address. Each tool is one operate/v1 operation, the same set the Operate CLI runs. A tool call goes through /operate/v1 on that front with the caller's own credential, so the API applies the caller's role, workspace and project membership. No service credential is substituted.

The aaesmcp reference describes the separate Govern MCP server and its tools.

Connect a client

Point an MCP client that accepts JSON HTTP responses at https://<your Operate address>/operate/mcp and keep its credential in the client's secret configuration. Every request needs a bearer credential, including initialize and ping. Two kinds are accepted:

  • An Operate API key, a person's or an agent's. The key must map to exactly one workspace; a key without one is refused. There is no workspace or company argument.
  • Where your operator has enabled OAuth on the front, a person's OAuth grant. The client follows the endpoint's 401 challenge and the published resource metadata, the person signs in through your identity provider, and the grant carries operate:read, operate:write or both. Each client and its redirect addresses must be registered in the front's configuration first; dynamic client registration is not offered. Access tokens last at most five minutes. Refresh rotates on use and stops after at most 24 hours idle or seven days in total; your operator can set shorter limits.

With OAuth, tools/list shows only what the grant allows: write tools need operate:write and a role above viewer. A grant never adds to the person's role.

Tools

Read tools carry the MCP readOnlyHint. tools/list gives each tool's input fields, which use the contract's names; record identifiers use the path parameter names.

Operate MCP tools by area
AreaRead toolsTools that change something
Projectsoperate_project_list, operate_project_read, operate_project_membersoperate_project_create, operate_project_update
Tasks and commentsoperate_task_list, operate_task_read, operate_task_costs, operate_task_comments_list, operate_task_outcome_checkoperate_task_create, operate_task_update, operate_task_comments_create
Agentsoperate_agent_list, operate_agent_readoperate_agent_create, operate_agent_update, operate_agent_pause, operate_agent_resume
Runsoperate_run_list, operate_run_read, operate_run_eventsoperate_run_request, operate_run_cancel
Approvalsoperate_approval_list, operate_approval_readoperate_approval_decide
Costs and budgetsoperate_cost_summary, operate_cost_by_agent, operate_cost_by_project, operate_budget_policies, operate_budget_incidentsNone
Activity, search and inboxoperate_activity_list, operate_search, operate_inboxNone
Identity and deploymentoperate_identity, operate_capabilities, operate_events_streamNone
AAES Operate + Governoperate_govern_actors, operate_govern_spend, operate_govern_decision_readNone
Valueoperate_value_baseline_read, operate_value_reportoperate_value_baseline_set
Acceptancenoneoperate_acceptance_verify
Organizationoperate_organization_people, operate_organization_health, operate_organization_costs, operate_organization_history, operate_organization_namesoperate_organization_attribution
Staff records and staff linksoperate_organization_staff_list, operate_organization_staff_read, operate_organization_staff_binding_list, operate_organization_staff_binding_readoperate_organization_staff_create, operate_organization_staff_update, operate_organization_staff_binding_update
Divisionsoperate_organization_division_list, operate_organization_division_readoperate_organization_division_create, operate_organization_division_update
Teamsoperate_organization_team_list, operate_organization_team_readoperate_organization_team_create, operate_organization_team_update, operate_organization_team_member_add, operate_organization_team_member_remove
Directory connectionoperate_directory_connection_read, operate_directory_connection_syncsoperate_directory_connection_portal, operate_directory_connection_preview, operate_directory_connection_apply, operate_directory_connection_reconcile, operate_directory_connection_sync
Readiness and workflow checksoperate_readiness, operate_workflow_checkNone

Staff records are descriptive and carry no login or permissions. The division, team, directory-connection, readiness and workflow-check tools, and operate_organization_health, operate_organization_history and operate_organization_names, need an authorized person's credential; operate_organization_costs needs financial reporting authority. operate_workflow_check inspects an existing workflow for one agent_id and task_id without running it. A change to a staff record, staff link, division or team carries a reason, and an update, an archive or a membership change also carries the record's current revision.

operate_events_stream returns the WebSocket address of the live event stream; your client opens it. operate_govern_spend reads with a signed-in person's session, so an API key is refused. Optional operations answer 404 where a deployment does not serve them; operate_capabilities lists the ones yours serves.

Protocol and limits

The endpoint speaks MCP protocol version 2025-06-18 over HTTP POST, one JSON-RPC 2.0 message per request, with JSON responses. A request that names another protocol version is refused. Notifications receive HTTP 202 and never run a tool. There is no stdio transport, server-sent event stream, session, resumability or batching; GET answers 405. Request bodies are limited to 16 MiB. A browser Origin must match the front, and a request with a query string is refused.

An API refusal comes back as a tool result with isError: true and a message that says what to check. Unknown tools and unknown fields are refused.

What the tools do not do

operate_approval_decide uses approved to approve and rejected to deny. It needs a person's credential with that authority; an agent cannot decide an approval. A Govern approval is decided in Govern by an authorized person. There is no raw API tool, so a client reaches only the operations in the table.

Evaluate Operate

Use Operate to manage private projects and tasks, sign in through your corporate identity provider with OIDC or SAML, and run agent work. Deployment and agent-connection guides ship with the evaluation package. Your role and membership in each project or task determine access independently of Govern.

Read the Operate integration guide and prepare a scoped evaluation.

Using Operate and Govern together

Adding Govern does not replace Operate permissions. Each product remains responsible for its own identity, authorization and records. The shared workspace shows the modules you are authorized to use. Agree the versions, deployment and acceptance criteria for your evaluation.

Read the combined integration boundary or compare the Govern MCP contract.