What is MCP? The Model Context Protocol (MCP) is an open standard that lets AI assistants connect to other apps. A coding agent is an AI assistant that works in your terminal or code editor, such as Claude Code, Codex, or Cursor. After you connect it to the bitbybit MCP server, your coding agent can look up data in your bitbybit company and, if you allow it, prepare changes for you to confirm.
Prerequisites
- You are an Admin or Super Admin of the company you want to connect.
- The company is on a paid bitChat or bitCRM plan.
- You use a coding agent that supports remote MCP servers with sign-in, such as Claude Code, Codex, or Cursor.
1
Add bitbybit to your coding agent
- Add the bitbybit MCP server with the command or settings for your coding agent.
- Use the name
bitbybitso you can find it easily later.
- Claude Code
- Codex
- Cursor
Run this command in your terminal:Then open Claude Code, type
/mcp, choose bitbybit, and select Authenticate.2
Sign in to bitbybit
- Your coding agent opens the bitbybit connection page in your browser.
- If you are not signed in, sign in with your bitbybit account. You return to the connection page automatically.
3
Review the request and choose a company
- Check the app name under App.
- Check Identified by. A verified app shows its domain, for example
claude.aifor Claude Code. Self-registered app means the app registered itself and bitbybit has not verified its name. - Check Returns to. This is where your browser goes after you approve. For a coding agent it is usually
localhost, which means an app on your own computer. - Choose the company to connect under Workspace. The list shows only companies where you are an Admin or Super Admin.
- Review the permissions. Read workspace data is always included. Tick Make changes if you want your coding agent to prepare changes for you to confirm.
4
Allow access
- Click Allow access. Your browser returns to your coding agent, which now shows bitbybit as connected.
- You can close the browser tab once your coding agent shows it is connected.
- To cancel, click Deny. Your coding agent is not connected.
5
Check the connection
- Ask your coding agent a question about your company, such as “List my latest campaigns” or “What is still missing in my workspace setup?”
- Your coding agent answers with data from the company you chose.
What your coding agent can do
Your coding agent can read your company’s data. Each request runs as you, so it sees only what your current role allows. If you allowed Make changes on the connection page, your coding agent can also prepare these changes:- Save bitCRM campaigns, WhatsApp templates, and automations as drafts.
- Create segments and add customer tags.
- Add, re-crawl, or delete Knowledge Base sources.
- Update AI agent settings, and create, edit, delete, or run AI tests.
An automation is saved as a draft: when an order is created, paid, or fulfilled (Shopify or bitbybit Commerce), when a checkout is abandoned, or when a customer signs up, it can wait, then send one approved WhatsApp template without variables. Open it in bitCRM to review and activate it.
Disconnect your coding agent
- Claude Code: run
claude mcp remove bitbybit. - Codex: run
codex mcp logout bitbybitto sign out, orcodex mcp remove bitbybitto remove it. - Cursor: delete the
bitbybitentry frommcp.json. - In bitbybit: go to Settings - Developer, find the agent under Connected AI agents, and click Revoke. You can revoke your own connections. Admins and Super Admins can revoke any connection in the company.
Troubleshooting
Your coding agent says bitbybit needs authentication
Your coding agent says bitbybit needs authentication
Your coding agent is not signed in yet, or its access ended, for example after 30 days without use. Sign in again: in Claude Code, type
/mcp and select Authenticate. In Codex, run codex mcp login bitbybit.The connection page says the request expired
The connection page says the request expired
The connection page is valid for 10 minutes and can be used only once. Start the connection again from your coding agent.
The connection page says the app cannot be connected
The connection page says the app cannot be connected
bitbybit did not recognize the app or the address it returns you to. Remove the server from your coding agent, then add it again with the exact command or settings in Step 1.
The connection page says only Admins can connect
The connection page says only Admins can connect
You are not an Admin or Super Admin of the company you chose. Ask an Admin or Super Admin to connect, or choose a company where you are an Admin.
The connection page says a paid plan is needed
The connection page says a paid plan is needed
Connecting a coding agent needs a paid bitChat or bitCRM plan for that company. Upgrade the plan, then start the connection again from your coding agent.
Your coding agent cannot make changes
Your coding agent cannot make changes
The connection was approved without Make changes. Start the connection again from your coding agent and tick Make changes. The new connection replaces the old one.
Your coding agent says it does not have permission
Your coding agent says it does not have permission
Your role in the company does not include that area. Ask an Admin or Super Admin to update your role in Settings - User & Authority.

