MCP
MCP server
Your Okaymate account in Claude or ChatGPT. Okaymate's MCP server gives an AI assistant your business, its chats, Okaymate's tools and everything the Okaymate app does. claude.ai, Claude Desktop and ChatGPT connect with a sign-in, other clients with your API key.
What it is
The Model Context Protocol is the open standard AI assistants use to call outside tools. Connect Okaymate once and your assistant can see your business and its chats, read recent messages, add Okaymate to a Telegram or WhatsApp chat, create an image, or do what the Okaymate app does, right in its chat.
The server speaks Streamable HTTP, stateless, in JSON-RPC with initialize, tools/list and tools/call. Every request carries a key in an Authorization header. claude.ai, Claude Desktop and ChatGPT get theirs through OAuth, other clients send your API key.
Okaymate's MCP server is listed in the official MCP Registry as ai.okaymate/okaymate, and on Glama.
https://okaymate.ai/mcpAPI key
Claude Code and other clients connect with your API key, the same one the API takes. Create it on your business's API page. Only the business's owner or an admin can create one.
A key is shown once, so copy it right away. Only its hash is kept. Send it in the Authorization header of every request.
Authorization: Bearer ok_live_…A key with Read access gets the reading tools, account, conversation_stats, recent_messages and website_conversations, and the app's tools, which then only read. A key with Read and write access gets every tool.
One key opens one business only. The router decides what a key can reach, never the AI.
Setup
- In claude.ai or Claude Desktop, open Settings, then Connectors, then Add custom connector.
- Name it Okaymate and enter
https://okaymate.ai/mcpas its URL. - Sign in to Okaymate, pick your business if you have several, then click Allow.
No key to create or paste. The connection then shows on your business's API page as a key named Claude. Revoke it there to disconnect it.
Other clients
Any MCP client that speaks Streamable HTTP connects like Claude Code, with the URL and your API key in the Authorization header. The JSON-RPC example shows its requests.
Tools
The server has 36 tools. Each one works on the business of its key, never on another, and shows the access it needs.
Account and chats
- accountRead accessYour business and its chats.
- add_to_chatRead and write accessThe code and the links to add Okaymate to a Telegram or WhatsApp group, a Discord server, a Slack workspace or a private chat, valid 30 minutes.
- unlink_chatRead and write accessUnlinks a chat from Okaymate.
Conversations
- conversation_statsRead accessYour conversations' stats over the last
days, counted intimezone.Parametersdaystimezone - recent_messagesRead accessThe recent messages of a
chatover the lastdays,limitat most.Parameterschatdayslimit
Groups, topics and communities
- telegram_groupRead and write accessA linked Telegram group: renames it, changes its description, makes invite links, sets what members may do, makes admins, mutes, removes or bans people, pins and deletes messages. Only for someone who could do it in Telegram, or an owner or admin of the business.Parameters
actiongrouprequest_msgpersonmessagenametextrightsminuteshours - telegram_topicsRead and write accessThe topics of a linked Telegram group: lists, creates, renames, closes, reopens or deletes them.Parameters
actiongrouptopicnamecolor - whatsapp_communitiesRead and write accessYour WhatsApp communities and groups: lists them, adds a group to a community or takes it out, renames them, changes their description and settings, makes people admins or demotes them, removes people, gives or resets invite links. It never creates a group or a community.Parameters
actiontargetcommunitygroupnametextpeople
Images
- generate_imageRead and write accessCreates images from a
prompt, or edits the ones atimage_urls, in anaspect_ratio,countof them.Parameterspromptimage_urlsaspect_ratiocount
Customer chat
- website_chatRead and write accessThe customer chat on your website, always on. Without arguments, its settings and the snippet to add. With them, changes the sites it answers on, its
name,greetingandcolor, and the linked chat where it asks the team,ask_team_in.Parametersdomainsnamegreetingcolorask_team_in - website_conversationsRead accessThe customer chat's recent conversations over the last
days, newest first, with the questions still waiting for the team;waiting_onlykeeps those,limitat most.Parametersdayswaiting_onlylimit - website_answerRead and write accessSends the team's answer,
text, to avisitorof the customer chat, found withwebsite_conversations: to their latest waiting question, by email if they left one and are gone. What holds for every visitor is kept for the next ones.Parametersvisitortext
The Okaymate app
Everything the app does, on the key's business, as its owner and with the app's own checks. The same tools are the API's actions. Signing its Claude out takes confirm set to DISCONNECT, unlinking a group UNLINK. A new key or token, a payment, plugging a tool key, ticking a member's powers and deleting an account stay in the app.
- app_businessRead access, Read and write access to changeThe business's settings, as the app's Settings page shows them, its
name,website, photo, its AI teammate's name, itslanguageand whether its team space is on. Without arguments, reads them. With them, changes what you give.fill_from_sitereads its website again for its name, photo and color.Parametersnamewebsitephoto_urlteammate_namelanguageteam_spacefill_from_site - app_customer_chatRead access, Read and write access to changeEvery setting of the customer chat, as its page in the app: its
name,greeting,color,theme,language,ai_modefor its visitors, suggestedprompts,lead_magnet,link_cards, animation,logoand the linked chat where it asks the team. Without arguments, reads them. With them, changes what you give.Parametersnamegreetingcolorthemelanguageai_modepromptslead_magnetlink_cardsanimateask_team_inlogo - app_customer_chat_installRead access, Read and write access to changeHow the customer chat goes on the website: the line to paste and the sites it may run on.
sitessets those sites fromdomains.Parametersactiondomains - app_knowledgeRead access, Read and write access to changeThe customer chat's knowledge, the entries the team taught it, each with a
titleand atext: lists, saves or deletes them. The customer chat answers visitors from it and from the Public files.Parametersactionidtitletext - app_leadsRead accessThe customer chat's leads, newest first, as the Leads page lists them, a page at a time.
archivedgives the ones the team archived.Parametersarchivedbefore - app_leadRead access, Read and write access to changeOne
lead: its whole conversation, its AI mode and the draft waiting. Answers the visitor as the team withtext, by email if they left one and are gone, sets its AImodetoauto,draftoroff, archives or unarchives it, dismisses or rewrites its draft.Parametersleadactiontextmode - app_dashboardRead accessThe Dashboard's numbers: its summary, or a
chartover time byscale, fromstarttoendin atimezone, for the team's chats, the customer chat or both,side.Parameterschartsidescalestartendtimezone - app_teamRead access, Read and write access to changeThe business's team, as Settings › Members: lists the owner and the members, with their role, what each may edit and their powers. Invites someone by
emailwith arole, or a custom role and itszones, changes a member's role or a custom role's zones, removes a member. A member's powers are ticked by the owner on their card. The owner and the admins also see each one's WhatsApp number, from their Account page: the one the team's WhatsApp group knows them by.Parametersactionemailrolezonesmember_id - app_team_spaceRead access, Read and write access to changeThe team space, its channels and DMs: lists them, reads a channel's posts or a thread, posts, edits or deletes a post, reacts, pins, saves, marks read or unread, lists the files shared, or only the saved ones with
saved_only.Parametersactionchannel_idmessage_idtextreply_toemojibeforesaved_only - app_team_channelsRead access, Read and write access to changeThe team space's channels: creates, updates, archives or unarchives them, adds or removes members, leaves, mutes, sets notifications, stars, sets when the AI teammate answers there, opens a DM, orders the sidebar's channels and DMs. Their bookmarks too: a link, a folder or a file (
kind), in a folder withparent_id, renamed, ordered or deleted.Parametersactionchannel_idnameaboutprivateadmins_onlymember_idslevelmodeselfurlkindfile_urlparent_idbookmark_idbookmark_idschannel_idslist - app_team_searchRead accessSearches the team space's messages, like its search box, in one channel or all: with a file or a link, the ones that mention you (
mentions_me), the ones in threads (in_threads) or the ones from a member (from).Parametersqchannel_idhas_filehas_linkmentions_mein_threadsfrom - app_todosRead access, Read and write access to changeThe To do page: lists the to dos, saves a new one or changes one, its
text,done,remind_ator who it is for,user_id, and deletes them.Parametersactionidtextdoneremind_atuser_id - app_activityRead access, Read and write access to changeThe Activity page: mentions, replies and reactions, latest first, and marks them read or unread.Parameters
actionidsbefore - app_dataRead access, Read and write access to changeThe Data page, the files the AI teammate keeps on its server, Public for what the customer chat may read, Private for the team only: lists a folder, reads a file, writes a .md, .txt or .csv file, makes a folder, deletes a file or a folder. Saves a file from an https link,
url(20 MB at most), or from its bytes,content_base64(5 MB at most), or gives a link to upload a bigger one, good for 15 minutes.Parametersactionpathtexturlcontent_base64namesize - app_connectionsRead access, Read and write access to changeSettings' Claude Code and chat apps: the server's status, its Claude, its model and the linked groups. Signs in with Claude from a link and the
codeClaude shows, tests it, signs it out, sets itsmodelandeffort, unlinks a group, sets when it answers in a group.Parametersactioncodemodeleffortchatmodeconfirm - app_webhooksRead access, Read and write access to changeThe API page's webhooks: lists, creates, updates, deletes and tests them, and reads their deliveries. Their signing secret stays in the app.Parameters
actionendpoint_iddelivery_idurleventsstatusdescription - app_api_keysRead access, Read and write access to changeThe API page's keys and MCP tokens: lists and revokes them. A new key or token is made on the API page only, where its secret is shown once.Parameters
actionkey_idtoken_id - app_powersRead access, Read and write access to changeThe team's powers in Settings: the tool keys plugged, Stripe, GitHub, Vercel, Render and Back4App, shown by their last 4 characters, and for the owner the journal of what the powers did. Unplugs a key,
provider. A key is plugged by the owner on the Tool keys page only, never in a chat.Parametersactionprovider - open_screenRead and write accessOpens a
screenof the app for the person writing in the app's own chat, down to asectionor anitem: a member's card, a key's form, a file, a post, a to do. Says whether it is on their screen. Only for the business's own Okaymate in that chat. With a key, it opens nothing.Parametersscreenleadchannelfoldersectionitem
Your own account
A person's own profile, plan, businesses, affiliate link and chats. These answer only someone signed in to Okaymate, in the app's chat or on okaymate.ai. With a key or a connection from Claude or ChatGPT, they refuse and change nothing.
- app_profileRead access, Read and write access to changeThe person's own profile, as the Account page: their name, photo, language, time zone, Telegram, WhatsApp and team emails. Reads it, or changes what you give. Their email and sign-in stay in the app.Parameters
first_namelast_namephoto_urllanguagetimezonetelegramwhatsappteam_emails - app_planRead access, Read and write access to changeThe person's plan and AI credits, as the Plans page: reads them, gives a Stripe link to subscribe, top up or manage their billing, applies a trial
code. Nothing is paid or changed here: they do it on Stripe's page.Parametersactionplanperiodpackcode - app_businessesRead access, Read and write access to changeThe person's businesses: lists them, switches to another, creates one, leaves one shared with them, deletes one for good with
confirmset to its exact name.Parametersactionbusiness_idnamewebsiteconfirm - app_affiliateRead access, Read and write access to changeThe person's affiliate program: their link and code, the people who came through it, the commissions, the balance and their charts. Sets their link's
code. Payouts stay on the page.Parametersactioncode - app_chatsRead access, Read and write access to changeThe person's own chats with the AI teammate in the app, its History: lists, renames or deletes them.Parameters
actionconversationtitle
JSON-RPC example
Every call is one POST to https://okaymate.ai/mcp with your key. The server is stateless, so each request stands alone.
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "my-client", "version": "1.0.0" }
}
}tools/list lists the tools your key can use and tools/call runs one with its arguments. With cURL, a call to account is one request.
curl https://okaymate.ai/mcp \
-H "Authorization: Bearer ok_live_…" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"account","arguments":{}}}'Security
- A key, or a connection from Claude or ChatGPT, opens its own business only. It can't see any other business.
- The router decides the rights, never the AI.
- Only the business's owner or an admin can connect Claude or ChatGPT, or create or revoke a key.