Connect AI apps over MCP
Every Welkai business has an MCP server, so an AI app such as Claude or ChatGPT can read chats, answer customers, keep contacts and run flows for the person who connects it, with that person's permissions and no more. MCP (Model Context Protocol) is the open standard AI apps use to call outside tools. It needs the Business or Enterprise plan.
The address
https://<your address>/mcp
For example https://your-business.welkai.net/mcp, or the business's own domain once it is active. The person connecting needs the API permission in the business.
- Transport: Streamable HTTP,
POSTon that one address. There is no separate SSE address. - Protocol versions: the current MCP version, 2026-07-28 (no session, every request stands alone), and the earlier versions up to 2025-11-25 (an
initializehandshake first) are both served on the same address. The server reads which one each request uses, so older and newer apps both connect. - Browsers: a request that carries an
Originheader must come from the business's own address; any other origin is refused with 403. Apps that call from their own servers send noOriginand are not affected.
Sign in from the app (OAuth)
This is the way for Claude, ChatGPT and most apps. The app finds everything it needs from the address:
- The first request without a token answers 401 with
WWW-Authenticate: Bearer resource_metadata="https://<your address>/.well-known/oauth-protected-resource/mcp". - That document names the business's address as the authorization server; its metadata is at
/.well-known/oauth-authorization-server. - The app identifies itself with a Client ID Metadata Document (preferred), or registers itself at
/oauth/register(Dynamic Client Registration). - The person is sent to the business's Welkai sign-in, then a consent page. It shows the app's name and where it will send the person back, and lets them pick what it can do (the same scopes as an API key, never "everything" unless they tick it) and which numbers and channels it may use. Then Allow or Deny.
- The app gets an access token for 1 hour and a refresh token for 30 days, which changes on every use. The connection keeps working while the app uses it.
The flow is OAuth 2.1 with PKCE (S256), exact redirect addresses, the resource parameter (the business's /mcp address) and iss on every answer. Tokens work only at the business they were made for.
The person gets an email when an app is connected. Every connected app is listed under API and webhooks, API keys, Connected apps, with what it may do and when it was last used; Disconnect stops it at once. Signing out everywhere or changing the password also disconnects that person's apps.
Or send an API key
Apps that let you add a request header can use an API key instead:
Authorization: Bearer <your key>
The key's scopes, numbers and end date apply as on the REST API. Prefer signing in where the app offers it: each person then connects with their own account and can disconnect from the dashboard.
Connect Claude
From Claude's guide Add a connector that isn't in the directory (read 15 November 2026).
Free, Pro, Max or Ultra plan (the Free plan allows one custom connector):
- Open Customize, Connectors. Select Add, then Add custom connector.
- Enter a name ("Welkai") and the address
https://<your address>/mcp, then Continue. - For Authentication, keep Sign in now (or Sign in when needed). For OAuth client, keep Use Claude's published identity; Register automatically also works. Keep any option Claude marks Detected.
- Click Add, then Connect. Sign in to Welkai, pick what Claude may do and which numbers, and press Allow.
Team or Enterprise plan: an Owner adds it once for the organization in Organization settings, Connectors, Add, Custom (type Web), with the same address and options. Each member then opens Customize, Connectors, finds it with the Custom label, clicks Connect and signs in with their own Welkai account.
With an API key instead of sign-in, choose No sign-in and add the header under Request headers: name authorization, value Bearer <your key> (with the word Bearer and a space). Claude says request headers are in beta for a limited set of organizations; if you do not see them, use sign-in.
In a chat, turn the connector on from the + button, Connectors. Under Customize, Connectors you can block single tools you do not want Claude to use.
Connect ChatGPT
From OpenAI's guide Add custom MCP server (read 15 November 2026). It is done in ChatGPT on the web, and the workspace's own permissions apply.
- Open the plugins page (chatgpt.com/plugins), select the plus button, then Add custom MCP server.
- Enter a name ("Welkai") and, under Connection, the Server URL
https://<your address>/mcp. - For authentication choose OAuth. Welkai advertises Client ID Metadata Documents and keeps registration open, so ChatGPT can use either.
- Read the risk warning, select I understand and want to continue, then Create as a plugin.
- Install the plugin; when ChatGPT sends you to sign in, sign in to Welkai, pick what it may do and which numbers, and press Allow. Then type
@in a chat and pick it.
By default ChatGPT asks you to confirm each write action, and treats every tool without the read-only mark as one. api_find and api_read carry that mark; api_write does not.
Other apps
Any MCP client that speaks Streamable HTTP connects to the same address, with OAuth sign-in or an Authorization header. A client that only speaks the older SSE transport cannot connect.
The tools
Ready-made tools for the common jobs, written for AI use:
| Tool | What it does |
|---|---|
whatsapp_send | Send text, media, a location and more from any channel: WhatsApp, Facebook, Instagram, Telegram, or a reply email. |
whatsapp_send_template | Send an approved WhatsApp template from an official API number. |
whatsapp_chat | List chats and contacts, read a chat's messages, archive a chat. |
whatsapp_message | React to, edit, delete, star or mark read a message, or download its media. |
whatsapp_contact | The contact book: list, get, add or update, tag, fields. Takes your CRM's external_id. |
whatsapp_group | Groups: create, join, members, admins, invite links, settings, add people. |
whatsapp_flow | Build, test, publish and run flows, and read their runs. Call its schema action first. |
whatsapp_app | A channel's connection: status, QR or code login, reconnect; the business's AI providers. |
email_send | Send an email from one of the business's mailboxes. |
email_templates | The business's saved email templates, to send with email_send. |
And three tools that reach every operation of the API reference, so nothing the API can do is out of reach:
| Tool | Arguments | What it does |
|---|---|---|
api_find | query (words or an exact operation name), tag (optional area, such as send, contacts, flows) | Finds up to 20 operations and answers each one's operation name, method, path, summary, scope and the arguments it takes. Read-only. |
api_read | operation, args | Runs an operation that reads (GET). Read-only. |
api_write | operation, args | Runs an operation that changes something or sends (POST, PUT, PATCH, DELETE). Marked as able to change data. |
args holds the operation's path and query values by their names, X-Device-Id for the number, and body for the request body, exactly as api_find lists them:
{
"operation": "getCustomerByExternalId",
"args": { "id": "crm-10042" }
}
{
"operation": "sendMessage",
"args": {
"X-Device-Id": "my-number",
"body": { "phone": "+60123456789", "message": "Your order A-1001 is on its way." }
}
}
The arguments are checked against the operation before it runs; a mistake is a tool error naming the field, such as /body/phone. Each call runs through the same rules as the REST API: the plan, the scopes, the numbers, the sending limits and the same error codes. An answer other than 2xx comes back as a tool error, The API answered 403: ..., with the API's own words (a missing scope names the scope). Answers are cut at 64 KB (ask for a smaller page); an operation that answers a file is described, not passed, and file uploads are not taken through MCP.
A tool call counts once against the 600 calls a minute of the key or connected app.