Documentation
All pages
.md
Built and tested. The public service opens with the platform launch; until then API keys are not issued to customers.

MCP server

MCP (Model Context Protocol) lets an AI assistant call tools. The platform runs a remote MCP server that exposes the same actions as the REST API, with the same API key, the same validation, the same 24-hour rule and the same workspace isolation.

POST https://app.easytawasul.com/api/v1/mcp
Authorization: Bearer <your API key>

Add ?access=read to the URL for read-only access: the write tools are hidden and refused.

https://app.easytawasul.com/api/v1/mcp?access=read

Connect from your account (the easy way)

Sign in and open Developers, AI connection (MCP) in your account (https://app.easytawasul.com/app/developers/mcp). The page makes a key just for the assistant (read-only or able to act), shows the key once, and gives you the exact text to paste for every assistant in the table below, plus a command that checks the connection.

Connect by hand: which assistants, and how

MCP is an open standard, so many assistants can connect. They connect in different ways, so the table lists each one separately. Checked against each vendor's own documentation on 2026-11-04; menu names can change, so follow the vendor's page if one differs.

AssistantHow it connects to a remote serverSign-in
Claude (website and desktop app)Customize, Connectors, Add custom connector, then the address. The same account connector works in both.OAuth, or a fixed header
ChatGPTPlugins, plus button, Add custom MCP server, then the addressOAuth
Claude Codeclaude mcp add --transport http wassel <address> --header "Authorization: Bearer <key>"Key header, or /mcp to sign in
Codex (app, CLI and IDE extension)[mcp_servers.wassel] with url and bearer_token_env_var in ~/.codex/config.tomlKey from an environment variable, or codex mcp login
Cursorurl and headers in .cursor/mcp.jsonKey header, or OAuth
VS Code (GitHub Copilot)Command Palette, MCP: Add Server, HTTP, then the addressKey header
Gemini CLIhttpUrl and headers in settings.jsonKey header, or OAuth
Zedurl and headers under context_serversKey header, or OAuth

The Claude Desktop settings file (claude_desktop_config.json) is for local servers only. A remote server like ours is added as a connector in your Claude account instead.

Any other assistant that supports remote MCP servers with a custom header can use the address with the header Authorization: Bearer <key>. Use a separate key for each assistant so you can revoke it alone. Start with ?access=read. The page Developers, AI connection (MCP) in your account writes the exact text for each assistant in the table.

Claude and ChatGPT: sign in, no key to copy

Claude and ChatGPT connect with a sign-in (OAuth 2.1 with PKCE), so there is nothing to paste but the address:

  1. In Claude (website or desktop app): Customize, Connectors, Add custom connector. In ChatGPT: Plugins, plus button, Add custom MCP server.
  2. Paste https://app.easytawasul.com/api/v1/mcp (without ?access=read).
  3. A window opens in your account. Sign in as the workspace owner, choose look things up only or look things up and act, and press Allow.

The sign-in makes a key by itself, named "AI connector - <assistant>", limited to what you chose. You can cancel it any time under Developers, API keys. Connecting the same assistant again replaces its old key. Only the workspace owner can allow a connection. ChatGPT asks for your confirmation in the chat before any action that writes.

For developers: the address answers 401 with a WWW-Authenticate header that points to /.well-known/oauth-protected-resource; the authorization server metadata is at /.well-known/oauth-authorization-server; clients register themselves at /api/oauth/register (RFC 7591); the code is swapped at /api/oauth/token with PKCE S256 (a code works once and for 60 seconds).

Protocol: JSON-RPC 2.0 over HTTP POST (methods initialize, tools/list, tools/call, ping).

Tools

ToolWhat it doesWrites?
get_accountWorkspace name, country, currencyno
get_wallet_balanceWallet balance (minor units)no
list_templatesTemplates and approval statusno
list_messagesRecent messages, filters to, status, limitno
get_messageOne message by msg_... idno
estimate_priceOfficial price for N messages in a marketno
send_messageSend a template or (inside the window) a text messageyes
create_orderRecord an order for confirmationyes
request_order_confirmationAsk the customer to confirm an order on WhatsAppyes
start_verificationSend a one-time code (never shown to the assistant)yes
check_verificationCheck the digits the person typedyes

Each tool takes the same fields as its REST endpoint (Send a message, Orders API, OTP, Pricing). Errors come back as a tool result with isError: true and the same code as REST.

Safety

  • An assistant with a full key can message real customers. Prefer ?access=read, and ask the assistant to confirm with you before it sends.
  • Rate limit: 120 requests per minute.
  • Revoke the key in Developers > API keys to cut access instantly.