Qorami SDK is the official development kit for Qorami, including JavaScript/Python clients, tool schemas, and an MCP server. The mcp directory in this repository specifically provides the MCP server, exposing Qorami as native Model Context Protocol tools so that any MCP client (such as Claude Desktop, IDEs, agent frameworks) can perform a check before sending email.
Main capabilities:
- qorami_health: Verifies whether the server is configured correctly (API reachable, key valid, remaining credits). It does not consume credits and is recommended to run first.
- verify_email: Obtains the decision result (send / request_human_confirmation / do_not_send) and recommendations.
- check_action_status: Polls a pending action until it is manually approved or blocked.
Usage:
- Fastest way: No cloning or installation required; it is published on npm, use the npx qorami-mcp command.
- It can also be run from a local checkout, or run using Docker.
- The server can start without a key so that clients can list the tools; actually invoking the tools requires a key.
- In Claude Desktop, add the configuration to claude_desktop_config.json (Settings → Developer → Edit Config), and after restarting you will see the Qorami tools. Other MCP-compatible clients (Cursor, Windsurf, custom agents) register in the same way, all using the npx qorami-mcp command via stdio.
- First test: Have the client run qorami_health to confirm the API is reachable and the key is valid; it does not consume credits and returns the remaining balance. Then instruct the agent to call verify_email before sending any email.
Agent behavior requirements: The agent must obey the nextAction.type returned by verify_email. For send / do_not_send, the agent can act fully autonomously; the only path requiring waiting for a human is request_human_confirmation, and human intervention for high-risk emails is exactly the design purpose. Using a verify-scoped key (recommended for agents) cannot approve held emails on its own, so it cannot bypass its own review step.
Billing and limits: Each verification consumes 1 credit (blocked emails consume 0 credits); verify_email returns creditsRemaining. When credits are zero, the call fails, and a cautious agent will treat the email as "cannot send" rather than sending blindly. If you want the agent to keep running without manual top-ups, you can enable auto-recharge in the dashboard (save a bank card and set a threshold). Billing is the responsibility of the workspace owner; the agent's key is only used for spending.
Technical details: Tested against @modelcontextprotocol/sdk 1.29.x (Node 18+). The API key can be obtained in the dashboard. For complete API documentation (rate limits, idempotency, errors), see https://qorami.fr/docs,MCP For the complete guide, see https://qorami.fr/mcp。