How to integrate Coda MCP with Codex

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Coda logo
Codex logo
divider

Introduction

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

Also integrate Coda 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 Coda 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 Coda MCP server, and what's possible with it?

The Coda MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Coda account. It provides structured and secure access to your workspaces and docs, so your agent can automate Coda document creation, manage permissions, export content, and streamline your team’s productivity tools—all on your behalf.

  • Automated document and page creation: Instruct your agent to create new Coda documents or pages, duplicate existing docs, and organize content structure with just a prompt.
  • Flexible permission and sharing management: Have your agent add or modify user, workspace, or global permissions, so you’re always in control of who can view or edit your docs.
  • Seamless content export and status tracking: Let your agent initiate exports of Coda pages and check the progress, making it easy to share or archive important information.
  • Custom domain and publishing management: Direct your agent to add custom domains to published docs or manage categories and makers for Coda packs, keeping your workspace organized and discoverable.
  • Pack release and workspace enhancements: Ask your agent to create new pack releases or manage integrations, helping teams extend Coda’s power without repetitive manual steps.

Supported Tools & Triggers

Tools
Triggers
Add a category for packAdd a publishing category for a given pack.
Add a maker for packAdd a maker to a Pack.
Add a permission for packCreate or modify permissions for a given Pack.
Add custom domainAdd a custom domain to a published doc.
Add permissionAdds a new permission to the doc.
Begin content exportInitiate an asynchronous export of page content in HTML or Markdown format.
Content export statusCheck the status of a page content export operation.
Copy DocumentCreates a copy of an existing Coda document.
Create a new pack releaseCreates a new Pack release based on an existing Pack version.
Create a pageCreate a new page in a doc.
Create docCreates a new Coda doc, optionally copying an existing doc.
Create FolderCreates a new folder in a Coda workspace.
Create PackCreates a new Pack in Coda.
Create Pack InvitationCreate an invitation for a user to access a Pack.
Delete a category for packDelete a publishing category for a given pack.
Delete a maker for packRemoves a maker from a Pack's maker list.
Delete a pageDeletes the specified page.
Delete a permission for packDelete user, workspace, or global permissions for a given Pack.
Delete docPermanently deletes a Coda doc.
Delete FolderTool to delete a folder in Coda.
Delete multiple rowsDeletes multiple rows from a Coda table or view.
Delete packDelete a given Pack.
Delete Pack listing draftDelete the listing draft for a Pack, discarding any unsaved changes.
Delete Page ContentTool to delete content from a Coda page.
Delete permissionDeletes an existing permission from a Coda document.
Delete rowDeletes the specified row from the table or view.
Deletes a custom domainDeletes a custom domain from a published doc.
Fetch grouped logs by pack org root ingestion idRetrieve the grouped logs of a Pack ingestion for debugging purposes.
Fetch ingestion executions for packRetrieve the ingestion execution ids of a root ingestion for debugging purpose.
Get acl settingsReturns settings associated with ACLs for this Coda doc.
Get a columnReturns detailed information about a specific column in a Coda table.
Get a controlReturns info on a control.
Get a formulaReturns info on a formula.
Get analytics last updated dayReturns days based on Pacific Standard Time when analytics were last updated.
Get a pageReturns details about a page.
Get a rowRetrieves detailed information about a specific row in a Coda table, including all cell values, metadata (creation/update timestamps), and parent table information.
Get Pack details by IDRetrieves detailed information about a specific Coda Pack by its ID.
Get a tableReturns details about a specific table or view.
Get detailed listing information for a packGet comprehensive public listing information for a Coda Pack.
Get doc analytics summaryReturns aggregated analytics summary data across documents, including session counts, installs, copies, reads, and conversions.
Get doc categoriesRetrieves the list of all available doc categories in Coda.
Get folderTool to get metadata about a Coda folder.
Get info about a docRetrieves comprehensive metadata for a specific Coda document.
Get mutation statusChecks whether an asynchronous mutation operation has been applied to a Coda document.
Get pack analytics summaryReturns summarized analytics data for Packs the user can edit.
Gets custom doc domains providersIdentifies the domain registrar/provider for a given domain name by performing a DNS lookup.
Get sharing metadataReturns metadata associated with sharing for this Coda doc.
Gets the json schema for pack configurationRetrieves the JSON Schema that defines the configuration options available for a specific Coda Pack.
Get the difference between two pack versionsGets information about the difference between the specified previous version and next version of a Pack.
Get the next valid version for a packGet the next valid version number for a Pack based on the proposed metadata.
Get the source code for a pack versionRetrieves temporary download URLs for the source code files of a specific Pack version.
Get user infoReturns basic info about the current user.
List available docsReturns a list of Coda docs accessible by the user, and which they have opened at least once.
List categories for packList all publishing categories associated with a specific Coda Pack.
List columnsReturns a list of columns in a table.
List controlsReturns a list of controls in a Coda doc.
List custom doc domainsList all custom domains configured for a published Coda doc.
List doc analyticsReturns analytics data for accessible documents.
List featured docs for a packReturns a list of featured docs for a Pack.
List FoldersTool to list folders accessible by the user.
List formulasReturns a list of named formulas in a Coda doc.
List makers for packList makers for a given pack.
List pack analyticsReturns analytics data for Packs the user can edit.
List pack formula analyticsReturns analytics data for Pack formulas.
List packsGet the list of accessible Packs.
List page analyticsReturns page-level analytics data for pages within a document.
List Page ContentTool to list page content.
List pagesReturns a list of pages in a Coda doc.
List permissionsReturns a list of permissions for this Coda doc.
List permissions for a packGet user, workspace, and/or global permissions for a given Pack.
List table rowsRetrieves rows from a specific table within a Coda document.
List tablesReturns a list of tables in a Coda doc.
List the pack listings accessible to a userGet listings of public Packs and Packs created by you.
List the releases for a packGet the list of releases of a Pack.
List the versions for a packGet the list of versions of a Pack.
List User Pack InvitationsTool to get pending Pack invitations for the authenticated user.
List workspace rolesReturns a list of the counts of users over time by role for the workspace.
List workspace usersReturns a list of members in the given workspace.
Pack asset upload completeNotify Coda that the Pack asset upload to S3 is complete.
Pack source code upload completeNotify Coda that the Pack source code upload to S3 is complete.
Pack version upload completeMark a Pack version upload as complete to finalize the Pack version creation.
Patch the system connection credentials of the packPatch the system connection credentials of the Pack.
Publish docUpdate publish settings for a doc.
Push a buttonPushes a button on a row in a table.
Register pack versionRegisters a new Pack version and obtains a signed upload URL.
Resolve browser linkGiven a browser link to a Coda object, attempts to find it and return metadata that can be used to get more info on it.
Retrieve the grouped logs of a packRetrieve grouped execution logs for a Pack in a specific Coda document.
Retrieve the information for a specific logRetrieve detailed information for a specific log entry from a Pack ingestion.
Retrieve the logs of a ingestionRetrieve the logs of a Ingestion for debugging purpose.
Retrieve the logs of a packRetrieve the execution logs of a Pack within a specific document for debugging purposes.
Retrieve the oauth configuration of the packRetrieve the OAuth configuration of the Pack for display purpose.
Retrieve the system connection metadata of the packRetrieve the system connection metadata of a Pack.
Search principalsSearch for users and groups (principals) that a Coda document can be shared with.
Set the oauth configurations of the packSet OAuth2 client credentials (client ID, secret, redirect URI) for a Pack.
Set the system connection credentials of the packSet the system connection credentials of the Pack.
Trigger automationTriggers a webhook-invoked automation in a Coda doc.
Unpublish docUnpublishes a Coda document, removing it from public access.
Update acl settingsUpdate access control list (ACL) settings for a Coda document.
Update an existing Pack releaseUpdate the release notes of an existing Pack release.
Update a pageUpdate properties for a page.
Update docUpdates metadata for a Coda document, including its title and icon.
Update featured docs for a packCreate or replace the featured docs for a Pack.
Update FolderTool to update folder metadata in Coda.
Update packUpdate an existing Pack for non-versioned fields.
Updates a custom domainUpdates properties of a document's custom domain.
Updates user roleUpdates the workspace user role of a user that matches the parameters.
Upload a pack assetRequest a signed s3 URL to upload your Pack asset.
Upload pack source codeRequest a signed s3 URL to upload your Pack source code.
Insert/Update Rows in Coda TableThis tool allows you to insert new rows into a Coda table or update existing ones based on specified key columns.

Conclusion

You've successfully integrated Coda with Codex using Composio's MCP server. Now you can interact with Coda 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 Coda 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 Coda operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities

How to build Coda MCP Agent with another framework

FAQ

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

With a standalone Coda MCP server, the agents and LLMs can only access a fixed set of Coda tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Coda 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 Coda tools.

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

Yes, absolutely. You can configure which Coda 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 Coda 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.