How to integrate Supportbee MCP with Codex

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Supportbee logo
Codex logo
divider

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Supportbee MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

Also integrate Supportbee with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Supportbee MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

What is the Supportbee MCP server, and what's possible with it?

The Supportbee MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Supportbee account. It provides structured and secure access to your support ticketing system, so your agent can perform actions like creating and replying to tickets, managing team assignments, organizing tickets, and automating support workflows on your behalf.

  • Automated ticket creation and updates: Instantly open new support tickets, update their content, or post replies to customer inquiries without leaving your workflow.
  • Team assignment and ticket routing: Direct your agent to assign tickets to the right team or agent, ensuring every request is handled by the appropriate group.
  • Archiving and deleting tickets: Keep your helpdesk organized by having the agent archive resolved tickets or permanently remove unwanted ones from the system.
  • Reusable response snippets: Let your agent create, manage, and delete response templates so your team can reply faster and more consistently.
  • Rule-based workflow automation: Empower your agent to create new automation rules that streamline ticket routing, escalation, and handling based on custom conditions.

Supported Tools & Triggers

Tools
Add Label to TicketTool to add a label to a ticket.
Archive SupportBee TicketTool to archive a SupportBee ticket by its ID.
Assign Ticket to TeamAssigns a ticket to a team in SupportBee.
Create Ticket CommentCreates an internal comment on a ticket in SupportBee.
Create ConsequenceCreates a new consequence for rules automation in SupportBee.
Create Forwarding EmailCreate a new forwarding email address for the company in SupportBee.
Create FilterCreates a filter in SupportBee by linking a rule with a consequence.
Create RuleCreates a new automation rule in SupportBee to automatically process tickets based on conditions.
Create SnippetCreate a reusable snippet (canned response) in SupportBee.
Create SupportBee TicketCreates a new support ticket in SupportBee with a subject, content, and requester details.
Create Ticket ReplyCreate a reply to a support ticket in SupportBee.
Create SupportBee UserInvites a new user to your SupportBee account.
Delete SnippetPermanently delete a snippet by its ID from SupportBee.
Delete SupportBee TicketPermanently delete a trashed ticket from SupportBee.
Fetch Forwarding EmailsRetrieve all forwarding email addresses configured for the company.
Fetch SupportBee LabelsTool to retrieve all custom labels.
Fetch SnippetsFetches saved response snippets (canned responses/templates) from SupportBee.
Fetch SupportBee TeamsRetrieves all teams in the SupportBee account.
Get Avg First Response Time ReportTool to retrieve average first response time data points over time.
Get Replies Count ReportRetrieves replies count report data for the company.
Get TicketTool to retrieve a specific SupportBee ticket by its ID.
Get Tickets Count ReportTool to get ticket count data points over time.
List Ticket CommentsRetrieves all internal comments (private agent notes) for a specific ticket.
List Ticket RepliesLists all replies on a specific support ticket in SupportBee.
List TicketsTool to list tickets from SupportBee.
List SupportBee UsersRetrieves all users and customer groups in your SupportBee company.
Mark SupportBee Ticket as AnsweredMarks a SupportBee ticket as answered by adding the 'answered' status.
Mark SupportBee Ticket as SpamTool to mark a SupportBee ticket as spam.
Mark SupportBee Ticket as UnansweredMarks a SupportBee ticket as unanswered by removing its 'answered' status.
Remove Label From TicketTool to remove a label from a ticket.
Search SupportBee TicketsTool to search SupportBee tickets.
Show Ticket ReplyTool to fetch a specific reply for a SupportBee ticket.
Show SupportBee User or Customer GroupRetrieves details of a SupportBee user (agent/admin) or customer group by their ID.
Trash SupportBee TicketTool to trash a SupportBee ticket by its ID.
Unarchive SupportBee TicketTool to unarchive a SupportBee ticket by its ID.
Unassign Ticket from TeamTool to un-assign a ticket from its assigned team.
Unassign User From TicketTool to un-assign a ticket from its assigned user/agent.
Unmark SupportBee Ticket as SpamTool to unmark a SupportBee ticket as spam.
Untrash SupportBee TicketRestores a trashed SupportBee ticket back to active status.
Update SnippetUpdate an existing snippet (canned response) in SupportBee.
Update SupportBee UserUpdate an existing SupportBee user's profile information including name, email, role, avatar, or signature.

Conclusion

You've successfully integrated Supportbee with Codex using Composio's MCP server. Now you can interact with Supportbee directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Supportbee operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1000+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Supportbee operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities

How to build Supportbee MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Supportbee MCP?

With a standalone Supportbee MCP server, the agents and LLMs can only access a fixed set of Supportbee tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Supportbee and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with Codex?

Yes, you can. Codex fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Supportbee tools.

Can I manage the permissions and scopes for Supportbee while using Tool Router?

Yes, absolutely. You can configure which Supportbee scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Supportbee data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.