{origin}/mcp. Connect Claude, ChatGPT, or your own
agent and call the tools directly — same business logic and auth as the REST API.
| Environment | MCP URL |
|---|---|
| Production | https://api.izap.ai/mcp |
| Staging | https://api-staging.izap.ai/mcp |
Connect
Authentication is OAuth 2.0 (interactive clients bootstrap it automatically) or a Bearer JWT for server-to-server code. Register it as a remote HTTP MCP server:Tool catalog
All tools accept an optionalbusiness_id (UUID); omit it to use your first
business.
| Tool | Purpose |
|---|---|
list_connected_assistants | List the AI assistants on the account |
get_today_message_stats | Chat / message / unique-people counts for a date |
get_today_assistant_ratio | AI-vs-human message ratio for a date |
get_conversation_duration | Avg/min/max conversation duration for a date |
search_today_messages | Keyword search over a date’s messages |
get_assistant_instructions | Read an assistant’s prompt and instructions |
create_ai_assistant | Create a new assistant |
update_ai_assistant_instructions | Update an assistant’s prompt/instructions |
Notes
- Dates are ISO-8601 strings (e.g.
2026-04-15); timezone is an IANA name (e.g.America/Sao_Paulo). search_today_messagesis rate-limited per user per day.- Server errors surface as MCP tool errors (
isError: true) with the messageError <status>: <detail>; a401means refresh the token.
Build with the MCP in your code
Get a token, then use the Python or TypeScript MCP SDK to call these tools from
your own app or agent.