1
Create an API key
In Avazal, open Settings → API keys and choose Create an API key. Give it a name, pick when it expires (30 days, 90 days or 1 year) and choose what it can do in each area: messages, tasks, documents, events, people, automations, settings and search. New keys start with read access everywhere.The key starts with
avz_ and is shown once. Copy it somewhere safe. The dialog also shows a ready-made MCP config and a curl command for it.2
Make your first call
me.get works with any key. It says who the key acts for and which scopes it carries.3
Connect an MCP client
If your client supports sign-in, add Claude Code, Codex and Cursor each have their own format:If you use the Avazal desktop app, you don’t need a key for agents on your computer. See Local MCP.
https://api.avazal.com/mcp by URL, sign in to Avazal and approve access. You don’t need a key. See Add the server by URL and sign in.Otherwise, point any MCP client that speaks streamable HTTP at https://api.avazal.com/mcp and send the key as a bearer token:Use the CLI
The Avazal CLI ships with the macOS app. Use it to make the same authenticated calls from your terminal.Next
- Authentication and scopes explains what a key can do and how risky calls behave.
- Concepts covers ids, pages, links and errors.
- The guides walk through each area, starting with Messages and conversations.