REST API vs MCP for Agents
When to use the Public REST API versus MCP for AI agents.
The Public REST API suits deterministic backend integrations. MCP suits cases where an AI agent needs to call tools dynamically over one managed connection.
Choose REST when
- You write your own integration code
- You need full control over request/response
- You are not using a tool-calling LLM
Choose MCP when
- An LLM agent picks tools dynamically
- You want ready-made tooling (search_chats, send_message, etc.)
- You want the same scopes and audit as REST
Both use the same `nxk_live` key with the same scopes and audit.