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.

Server URL
https://okaymate.ai/mcp

API 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.

Header
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

  1. In claude.ai or Claude Desktop, open Settings, then Connectors, then Add custom connector.
  2. Name it Okaymate and enter https://okaymate.ai/mcp as its URL.
  3. 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 access
    Your business and its chats.
  • add_to_chatRead and write access
    The 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.

Conversations

  • conversation_statsRead access
    Your conversations' stats over the last days, counted in timezone.
    Parametersdaystimezone
  • recent_messagesRead access
    The recent messages of a chat over the last days, limit at most.
    Parameterschatdayslimit

Groups, topics and communities

  • telegram_groupRead and write access
    A 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.
    Parametersactiongrouprequest_msgpersonmessagenametextrightsminuteshours
  • telegram_topicsRead and write access
    The topics of a linked Telegram group: lists, creates, renames, closes, reopens or deletes them.
    Parametersactiongrouptopicnamecolor
  • whatsapp_communitiesRead and write access
    Your 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.
    Parametersactiontargetcommunitygroupnametextpeople

Images

  • generate_imageRead and write access
    Creates images from a prompt, or edits the ones at image_urls, in an aspect_ratio, count of them.
    Parameterspromptimage_urlsaspect_ratiocount

Customer chat

  • website_chatRead and write access
    The 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, greeting and color, and the linked chat where it asks the team, ask_team_in.
    Parametersdomainsnamegreetingcolorask_team_in
  • website_conversationsRead access
    The customer chat's recent conversations over the last days, newest first, with the questions still waiting for the team; waiting_only keeps those, limit at most.
    Parametersdayswaiting_onlylimit
  • website_answerRead and write access
    Sends the team's answer, text, to a visitor of the customer chat, found with website_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 change
    The business's settings, as the app's Settings page shows them, its name, website, photo, its AI teammate's name, its language and whether its team space is on. Without arguments, reads them. With them, changes what you give. fill_from_site reads its website again for its name, photo and color.
    Parametersnamewebsitephoto_urlteammate_namelanguageteam_spacefill_from_site
  • app_customer_chatRead access, Read and write access to change
    Every setting of the customer chat, as its page in the app: its name, greeting, color, theme, language, ai_mode for its visitors, suggested prompts, lead_magnet, link_cards, animation, logo and 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 change
    How the customer chat goes on the website: the line to paste and the sites it may run on. sites sets those sites from domains.
    Parametersactiondomains
  • app_knowledgeRead access, Read and write access to change
    The customer chat's knowledge, the entries the team taught it, each with a title and a text: lists, saves or deletes them. The customer chat answers visitors from it and from the Public files.
    Parametersactionidtitletext
  • app_leadsRead access
    The customer chat's leads, newest first, as the Leads page lists them, a page at a time. archived gives the ones the team archived.
    Parametersarchivedbefore
  • app_leadRead access, Read and write access to change
    One lead: its whole conversation, its AI mode and the draft waiting. Answers the visitor as the team with text, by email if they left one and are gone, sets its AI mode to auto, draft or off, archives or unarchives it, dismisses or rewrites its draft.
    Parametersleadactiontextmode
  • app_dashboardRead access
    The Dashboard's numbers: its summary, or a chart over time by scale, from start to end in a timezone, for the team's chats, the customer chat or both, side.
    Parameterschartsidescalestartendtimezone
  • app_teamRead access, Read and write access to change
    The 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 email with a role, or a custom role and its zones, 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 change
    The 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 change
    The 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 with parent_id, renamed, ordered or deleted.
    Parametersactionchannel_idnameaboutprivateadmins_onlymember_idslevelmodeselfurlkindfile_urlparent_idbookmark_idbookmark_idschannel_idslist
  • app_todosRead access, Read and write access to change
    The To do page: lists the to dos, saves a new one or changes one, its text, done, remind_at or who it is for, user_id, and deletes them.
    Parametersactionidtextdoneremind_atuser_id
  • app_activityRead access, Read and write access to change
    The Activity page: mentions, replies and reactions, latest first, and marks them read or unread.
    Parametersactionidsbefore
  • app_dataRead access, Read and write access to change
    The 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 change
    Settings' 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 code Claude shows, tests it, signs it out, sets its model and effort, unlinks a group, sets when it answers in a group.
    Parametersactioncodemodeleffortchatmodeconfirm
  • app_webhooksRead access, Read and write access to change
    The API page's webhooks: lists, creates, updates, deletes and tests them, and reads their deliveries. Their signing secret stays in the app.
    Parametersactionendpoint_iddelivery_idurleventsstatusdescription
  • app_api_keysRead access, Read and write access to change
    The 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.
    Parametersactionkey_idtoken_id
  • app_powersRead access, Read and write access to change
    The 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 access
    Opens a screen of the app for the person writing in the app's own chat, down to a section or an item: 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 change
    The 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.
    Parametersfirst_namelast_namephoto_urllanguagetimezonetelegramwhatsappteam_emails
  • app_planRead access, Read and write access to change
    The 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 change
    The person's businesses: lists them, switches to another, creates one, leaves one shared with them, deletes one for good with confirm set to its exact name.
    Parametersactionbusiness_idnamewebsiteconfirm
  • app_affiliateRead access, Read and write access to change
    The 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 change
    The person's own chats with the AI teammate in the app, its History: lists, renames or deletes them.
    Parametersactionconversationtitle

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.

Terminal
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.