Use the same paths on another Aomi environment by replacing the origin. Accounts, OAuth grants, sessions, and App inventory are environment-specific.
Connect Agent MCP
- Codex
- Claude Code
- Cursor
- Other clients
Agent MCP tools
Follow a turn
- Call
aomi_chat. Omitsessionto start a conversation, or use an ID returned byaomi_list_sessions. - Keep the returned
sessionand cursor exactly as returned. - Call
aomi_checkwith the same session and prior cursor while the turn is active or more events remain. - Apply events in order. Treat message, tool, task, error, Action, and turn-state events as one event stream.
- Stop when the turn reaches a terminal state or needs a human Action.
aomi_check again after approval or rejection. A local signature, submitted transaction, or nonterminal event is not a confirmed result.
Connect Pipeline MCP
Use a broad-to-narrow workflow:
- Search or list Apps.
- Select the App.
- Search or list its tools.
- Describe the exact tool to obtain its live schema.
- Use
aomi_call_toolfor one operation oraomi_runfor a dependent multi-step flow.
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:agentplus the Agent read or write scope needed by the selected tool. - Pipeline discovery requires
mcp:pipelineandpipeline:catalog. - Pipeline execution requires
mcp:pipelineandpipeline:execute.
Troubleshooting
See Authentication and the authentication reference for exact resource and scope behavior.