Skip to main content
Aomi exposes two Streamable HTTP MCP resources. Choose the resource that matches the work: Use the same paths on another Aomi environment by replacing the origin. Accounts, OAuth grants, sessions, and App inventory are environment-specific.
/api/mcp and /api/mcp/direct are removed. They are not aliases for the versioned resources.

Connect Agent MCP

Then ask your MCP client to use Aomi, for example:

Agent MCP tools

Follow a turn

  1. Call aomi_chat. Omit session to start a conversation, or use an ID returned by aomi_list_sessions.
  2. Keep the returned session and cursor exactly as returned.
  3. Call aomi_check with the same session and prior cursor while the turn is active or more events remain.
  4. Apply events in order. Treat message, tool, task, error, Action, and turn-state events as one event stream.
  5. Stop when the turn reaches a terminal state or needs a human Action.
When the response includes a pending Action, send the user to the Aomi portal or an authenticated wallet client. Call aomi_check again after approval or rejection. A local signature, submitted transaction, or nonterminal event is not a confirmed result.

Connect Pipeline MCP

Pipeline MCP currently exposes: Use a broad-to-narrow workflow:
  1. Search or list Apps.
  2. Select the App.
  3. Search or list its tools.
  4. Describe the exact tool to obtain its live schema.
  5. Use aomi_call_tool for one operation or aomi_run for a dependent multi-step flow.
Hosted Apps require their numeric application_id and can also require a platform selector. The authenticated resource’s live tools/list response is the final authority if the inventory changes.

OAuth and wallet authority

Each MCP URL is an exact OAuth resource:
  • Agent MCP requires mcp:agent plus the Agent read or write scope needed by the selected tool.
  • Pipeline discovery requires mcp:pipeline and pipeline:catalog.
  • Pipeline execution requires mcp:pipeline and pipeline:execute.
Your MCP client completes OAuth with PKCE and receives credentials for that exact URL. Agent MCP and Pipeline MCP grants are not interchangeable. REST, guest, and MCP credentials are also distinct audiences. OAuth authorizes the caller. It does not give an MCP client a private key or reusable wallet signature. A pending wallet Action still follows the account’s wallet and approval policy.
Authorize only MCP clients you trust. A client with an Agent or Pipeline grant can use the operations covered by that grant until it expires or you revoke it.

Troubleshooting

See Authentication and the authentication reference for exact resource and scope behavior.
Last modified on August 31, 2026