How to integrate Gorgias MCP with Codex

Connect Codex to Gorgias MCP. Create a new support ticket for a customer, add urgent tag to today's open tickets, and more using natural language, with authentication handled for you.

Gorgias logoGorgias
Api KeyOauth2

Gorgias is a helpdesk and live chat platform built for e-commerce brands. It helps automate support, manage orders, and unify customer communication across channels.

51 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Gorgias MCP integration, Codex can create and update tickets, send ticket messages, manage customers, set up macros and rules, and pull reporting stats, all without leaving the terminal or the app, whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Gorgias 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 1700+ 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 Gorgias 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_*******" }

Try it

Ask Codex for a Gorgias task. The first time, Composio asks you to connect your Gorgias account.

For example, ask it to:

  • "Create a new support ticket for a customer"
  • "Add urgent tag to today's open tickets"
  • "Delete a team that's no longer active"

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

The Gorgias MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Gorgias account. It provides structured and secure access to your helpdesk workspace, so your agent can perform actions like managing tickets, creating customers, tagging conversations, and organizing support teams on your behalf.

  • Automated ticket management: Instantly create, update, or delete support tickets to streamline customer interactions and resolve issues faster.
  • Customer profile control: Add new customers, update their details, or remove outdated accounts directly from your helpdesk—no manual entry required.
  • Tagging and ticket organization: Effortlessly assign or remove tags on tickets so your support requests stay organized by priority, topic, or workflow.
  • Team management: Create or delete support teams, letting your agent help restructure teams as your business grows or shifts focus.
  • Bulk customer actions: Perform batch operations like deleting multiple customers or specific field values, making mass updates and data hygiene a breeze.

Conclusion

You've successfully integrated Gorgias with Codex using Composio's MCP server. Now you can interact with Gorgias 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 Gorgias operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1700+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

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

Supported Tools

Every Gorgias action and event your agent gets out of the box.

Add Ticket Tags

Adds tags to a ticket in Gorgias.

Create Account Setting

Creates a new account setting in Gorgias.

Create Customer

Creates a new customer in Gorgias.

Create Macro

Creates a reusable response macro and its ticket actions.

Create Rule

Create a JavaScript automation rule in Gorgias.

Create Tag

Creates a workspace tag for organizing tickets.

Create Team

Creates a new team in Gorgias.

Create Ticket

Creates a new ticket in Gorgias.

Create View

Create a saved ticket-list view in Gorgias.

Delete Customer

Deletes a specific customer from Gorgias.

Delete Customer Field Value

Deletes a specific field value for a customer in Gorgias.

Delete Customers

Deletes multiple customers from Gorgias.

Delete Team

Deletes a specific team from Gorgias.

Delete Ticket

Deletes a specific ticket from Gorgias.

Delete Ticket Field Value

Deletes a specific custom field value from a Gorgias ticket.

Get Account

Retrieves your Gorgias account information.

Get Customer

Retrieves a specific customer from Gorgias.

Get Event

Retrieves a specific event from Gorgias.

Get Macro

Retrieves one reusable Gorgias macro by ID.

Get Rule

Retrieves one Gorgias automation rule by ID.

Get Team

Retrieves a specific team from Gorgias.

Get Ticket

Retrieves a specific ticket from Gorgias.

Get Ticket Message

Retrieves one message from a Gorgias ticket.

List Account Settings

Lists account settings in Gorgias with pagination.

List Customer Field Values

Lists all custom field values for a customer in Gorgias.

List Customers

Lists customers in Gorgias with various filtering options.

List Events

Lists events in Gorgias.

List Integrations

Lists Gorgias integrations, optionally filtered by integration type.

List Macros

Lists and filters reusable macros with cursor pagination.

List Messages

Lists messages in Gorgias, optionally filtered by ticket.

List Rules

Lists automation rules with optional name search.

List Tags

Lists workspace tags independently of any ticket.

List Teams

Lists teams in Gorgias.

List Ticket Field Values

Lists all field values for a ticket in Gorgias.

List Tickets

Lists tickets in Gorgias with various filtering options.

List Ticket Tags

Lists all tags for a ticket in Gorgias.

List Users

Lists helpdesk users with optional role and identity filters.

List View Items

Lists tickets matching a saved Gorgias view.

List Views

Lists saved ticket views, optionally filtered by category.

Merge Customers

Merges a source customer into a target customer in Gorgias, combining their data and deleting the source customer.

Query Reporting Statistics

Queries metric-specific reporting statistics.

Remove Ticket Tags

Removes tags from a ticket in Gorgias.

Send Ticket Message

Sends an externally delivered message on an existing Gorgias ticket.

Set Customer Data

Sets the complete data object for a customer in Gorgias.

Set Ticket Tags

Sets the complete list of tags for a ticket in Gorgias.

Update Account Setting

Updates an existing account setting in Gorgias.

Update Customer

Updates an existing customer in Gorgias.

Update Macro

Updates the reusable content or metadata of a macro.

Update Tag

Updates a workspace tag's name, description, or color.

Update Team

Updates an existing team in Gorgias.

Update Ticket

Updates an existing ticket in Gorgias.

FAQ

Frequently asked questions

Start with Gorgias.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Gorgias tool your agent needs.Free to start.

Start building