Coda

v0.16.2
io.github.vish288/mcp-coda Checked 4 hours ago Published 1 day ago

Coda MCP server (MCP 2026-07-28): docs, pages, tables, rows, automations; writes or read-only

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

coda_whoami Coda Whoami

Get information about the current API token owner. Returns the user's name, email, and token scopes. Use this to verify that the API token is valid and has the expected permissions. If this returns an error, the token is invalid or expired.

coda_get_mutation_status Coda Get Mutation Status

Check the status of an asynchronous mutation (write operation). Coda write operations return 202 with a requestId. Use this tool to poll whether the mutation has completed, is still processing, or failed. Returns a completed boolean and any error details. Poll every 2 seconds, up to 30 seconds maximum.

ParameterTypeDescription
request_id *stringThe requestId returned by a write operation (202 response)

coda_list_doc_analytics Coda List Doc Analytics

List analytics data for docs (views, copies, likes, sessions). Returns usage metrics for docs over the specified date range. Includes total views, unique views, copies, and other engagement metrics. Only available to doc owners. Use coda_get_doc_analytics_summary for aggregated totals instead of per-doc breakdown.

ParameterTypeDescription
cursorPagination cursor from a previous response
doc_idsFilter to specific doc IDs
is_publishedFilter to published (True) or unpublished (False) docs
limitintegerMaximum number of results (1-200)
since_dateStart date for analytics (ISO 8601, e.g. '2024-01-01')
until_dateEnd date for analytics (ISO 8601)

coda_get_doc_analytics_summary Coda Get Doc Analytics Summary

Get aggregated analytics summary across all docs. Returns total views, unique viewers, copies, and other metrics summed across all accessible docs. Use this for a high-level overview — use coda_list_doc_analytics for per-doc breakdown.

ParameterTypeDescription
is_publishedFilter to published (True) or unpublished (False) docs
since_dateStart date for analytics (ISO 8601)
until_dateEnd date for analytics (ISO 8601)

coda_list_page_analytics Coda List Page Analytics

List analytics data for pages within a doc. Returns per-page usage metrics (views, unique views) for the specified doc. Only available to doc owners. Useful for understanding which pages get the most traffic.

ParameterTypeDescription
doc_id *stringThe doc ID to get page analytics for
cursorPagination cursor from a previous response
limitintegerMaximum number of results (1-200)
since_dateStart date for analytics (ISO 8601)
until_dateEnd date for analytics (ISO 8601)

coda_list_pack_analytics Coda List Pack Analytics

List analytics data for Coda packs. Returns usage metrics for packs including install counts, doc usage, and formula invocations. Only available to pack makers for their own packs.

ParameterTypeDescription
cursorPagination cursor from a previous response
is_publishedFilter to published (True) or unpublished (False) packs
limitintegerMaximum number of results (1-200)
pack_idsFilter to specific pack IDs
since_dateStart date for analytics (ISO 8601)
until_dateEnd date for analytics (ISO 8601)

coda_get_pack_analytics_summary Coda Get Pack Analytics Summary

Get aggregated analytics summary for packs. Returns total installs, doc usage, and formula invocations summed across packs. Only available to pack makers.

ParameterTypeDescription
is_publishedFilter to published (True) or unpublished (False) packs
pack_idsFilter to specific pack IDs
since_dateStart date for analytics (ISO 8601)
until_dateEnd date for analytics (ISO 8601)

coda_list_pack_formula_analytics Coda List Pack Formula Analytics

List analytics data for individual formulas within a pack. Returns per-formula invocation counts, error rates, and execution times. Only available to the pack maker.

ParameterTypeDescription
pack_id *integerThe pack ID to get formula analytics for
cursorPagination cursor from a previous response
limitintegerMaximum number of results (1-200)
since_dateStart date for analytics (ISO 8601)
until_dateEnd date for analytics (ISO 8601)

coda_get_analytics_updated Coda Get Analytics Updated

Get the timestamp of when analytics data was last updated. Returns a timestamp indicating the freshness of analytics data. Analytics are not real-time — they are typically updated every few hours. Check this before relying on analytics data for time-sensitive decisions.

coda_list_docs Coda List Docs

List Coda docs accessible to the current API token. Returns doc metadata including name, owner, folder, and timestamps. Does NOT return page content or table data — use coda_list_pages or coda_list_tables for those. Rate-limited to 4 calls per 6 seconds. Use the query parameter to search by doc name. Pass cursor to paginate through results.

ParameterTypeDescription
cursorPagination cursor from a previous response
folder_idFilter to docs in a specific folder
is_ownerFilter to docs owned by the API token owner
limitintegerMaximum number of docs to return (1-200)
querySearch query to filter docs by name
response_formatstring'json' for structured data, 'markdown' for readable text

coda_get_doc Coda Get Doc

Get metadata for a single Coda doc by ID. Returns name, owner email, folder, created/updated timestamps, and doc size. Does NOT return page content or table data — use coda_list_pages or coda_list_tables for those. The doc_id can be obtained from coda_list_docs or coda_resolve_browser_link.

ParameterTypeDescription
doc_id *stringThe ID of the doc (from coda_list_docs or coda_resolve_browser_link)

coda_create_doc Coda Create Doc

Create a new Coda doc. Creates a blank doc or a copy of an existing doc. Returns the new doc's ID, name, and browser URL. The doc is created in the specified folder, or the user's root if no folder is given. Use source_doc to clone an existing doc as a template.

ParameterTypeDescription
title *stringTitle for the new doc
folder_idFolder ID to create the doc in (omit for root)
source_docDoc ID to copy as a starting point

coda_update_doc Coda Update Doc

Update metadata for an existing Coda doc. Updates the doc's title and/or icon. Does NOT update page content — use coda_update_page for that. Returns the updated doc metadata. This is an idempotent operation — calling with the same values produces the same result.

ParameterTypeDescription
doc_id *stringThe ID of the doc to update
icon_nameNew icon name (e.g. 'rocket', 'star')
titleNew title for the doc

coda_delete_doc Coda Delete Doc

Permanently delete a Coda doc. This is irreversible — the doc and all its pages, tables, and data will be permanently removed. Verify the doc name with coda_get_doc before calling this. Returns a confirmation status.

ParameterTypeDescription
doc_id *stringThe ID of the doc to delete

coda_list_folders Coda List Folders

List folders accessible to the current API token, one page at a time. Returns folder metadata (name, ID, parent folder) with pagination — the API defaults to 25 per page, so pass cursor to fetch the rest. Folders organize docs in the Coda workspace. Use the returned folder IDs with coda_create_doc to place new docs in specific folders.

ParameterTypeDescription
cursorPagination cursor from a previous response
limitintegerMaximum number of folders to return (1-200)
workspace_idLimit results to folders in this workspace (e.g. 'ws-AbCdEf')

coda_get_folder Coda Get Folder

Get metadata for a single folder. Returns the folder's name, ID, parent folder, and child items. Use coda_list_folders to discover available folders first.

ParameterTypeDescription
folder_id *stringThe folder ID to get details for

coda_create_folder Coda Create Folder

Create a new folder in a Coda workspace. Creates a folder in the specified workspace. Returns the new folder's ID and metadata. Use the folder ID when creating docs with coda_create_doc to organize them.

ParameterTypeDescription
name *stringName for the new folder
workspace_id *stringWorkspace ID where the folder will be created
descriptionDescription for the folder

coda_update_folder Coda Update Folder

Update a folder's name. Renames the specified folder. Returns the updated folder metadata. This is an idempotent operation.

ParameterTypeDescription
folder_id *stringThe folder ID to update
nameNew name for the folder

coda_delete_folder Coda Delete Folder

Delete a folder from the Coda workspace. Returns confirmation with folder_id. Permanently removes the folder. Docs inside the folder may be moved to the root level or deleted depending on Coda's behavior. Verify the folder with coda_get_folder before deleting.

ParameterTypeDescription
folder_id *stringThe folder ID to delete

coda_trigger_automation Coda Trigger Automation

Trigger a Coda automation rule. Fires the specified automation rule, optionally passing a JSON payload. The automation must have an API-triggerable event type. The payload schema depends on the automation's configuration. Returns a requestId for tracking. The rule_id can be found in the automation's settings in the Coda UI.

ParameterTypeDescription
doc_id *stringThe doc ID containing the automation
rule_id *stringThe automation rule ID to trigger
payloadOptional JSON payload to pass to the automation

coda_list_formulas Coda List Formulas

List all named formulas in a Coda doc. Returns formula metadata including name, ID, and value. Named formulas are doc-level computed values (not column formulas). Use coda_get_formula to get a specific formula's current value.

ParameterTypeDescription
doc_id *stringThe doc ID to list formulas from
cursorPagination cursor from a previous response
limitintegerMaximum number of formulas to return (1-200)

coda_get_formula Coda Get Formula

Get the current value of a named formula in a Coda doc. Returns the formula's name, ID, type, current value, and whether it has an error. The value is computed by Coda and reflects the latest state. Use coda_list_formulas to discover available formulas in a doc.

ParameterTypeDescription
doc_id *stringThe doc ID containing the formula
formula_id_or_name *stringFormula ID or name

coda_list_controls Coda List Controls

List all controls (sliders, select lists, date pickers, etc.) in a Coda doc. Returns control metadata including name, ID, type, and current value. Controls are interactive UI elements on pages. Use coda_get_control to read a specific control's current value.

ParameterTypeDescription
doc_id *stringThe doc ID to list controls from
cursorPagination cursor from a previous response
limitintegerMaximum number of controls to return (1-200)

coda_get_control Coda Get Control

Get the current value of a control in a Coda doc. Returns the control's name, ID, type, and current value. Controls include sliders, select lists, date pickers, text inputs, and buttons. The value reflects the current user-facing state. Use coda_list_controls to discover available controls.

ParameterTypeDescription
control_id_or_name *stringControl ID or name
doc_id *stringThe doc ID containing the control

coda_list_categories Coda List Categories

List all available publishing categories in Coda. Returns the categories that can be used when publishing a doc to the Coda gallery. Each category has a name and ID. Use these category IDs with coda_publish_doc.

coda_publish_doc Coda Publish Doc

Publish a Coda doc to make it publicly accessible. Publishes the doc with optional gallery listing and URL slug. Publishing alone makes the doc public by link; setting discoverable=True is a separate, more public step that lists it in the Coda gallery. Use coda_unpublish_doc to revert. Returns the published doc's URL and settings.

ParameterTypeDescription
doc_id *stringThe doc ID to publish
category_namesCategory names for the published doc (from coda_list_categories)
discoverablebooleanWhether the doc is listed in the public Coda gallery. Defaults to False — publishing alone makes the doc reachable by URL; set True to list it.
modePublishing mode. One of 'view', 'play', or 'edit'
slugURL slug for the published doc

coda_unpublish_doc Coda Unpublish Doc

Unpublish a Coda doc, removing public access. Returns confirmation with doc_id. Reverts a previously published doc to private. The public URL will stop working. This is reversible — you can publish again with coda_publish_doc.

ParameterTypeDescription
doc_id *stringThe doc ID to unpublish

coda_list_pages Coda List Pages

List all pages in a Coda doc. Returns page metadata including name, ID, parent page, and icon. Pages are returned in their tree order. Does NOT return page content — use coda_get_page_content for that. Use the returned page IDs (not names) for all subsequent page operations.

ParameterTypeDescription
doc_id *stringThe doc ID containing the pages
cursorPagination cursor from a previous response
limitintegerMaximum number of pages to return (1-200)

coda_get_page Coda Get Page

Get metadata for a single page in a Coda doc. Returns the page's name, ID, parent, subtitle, icon, and image. Does NOT return the page's text content — use coda_get_page_content for that. Page names can change; always use page IDs for reliable access.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name (prefer ID — names are unstable)

coda_create_page Coda Create Page

Create a new page in a Coda doc. Creates a page with optional initial content. Returns the new page's ID and metadata. The page is created at the top level unless parent_page_id is specified. Content can be HTML or markdown — specify the format via content_format. Pack formulas cannot be inserted via the API.

ParameterTypeDescription
doc_id *stringThe doc ID to create the page in
name *stringName/title for the new page
contentInitial page content in HTML or markdown
content_formatFormat of the content parameter
parent_page_idParent page ID to nest under (omit for top-level)
subtitleSubtitle text for the page

coda_update_page Coda Update Page

Update a page's name, subtitle, or content in a Coda doc. Updates page metadata and/or content. When updating content, 'replace' mode overwrites the entire page while 'append' adds to the end. There is no partial inline edit — draft full content locally first. Content format must match what you send (HTML or markdown). Returns the updated page metadata.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name to update
contentNew page content (replaces existing content)
content_formatFormat of the content parameter
insert_modeHow to insert content: 'replace' overwrites, 'append' adds to end
nameNew name for the page
subtitleNew subtitle for the page

coda_delete_page Coda Delete Page

Permanently delete a page from a Coda doc. This is irreversible — the page and all its content will be removed. Child pages are reparented to the deleted page's parent. Verify the page name with coda_get_page before calling this.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name to delete

coda_get_page_content Coda Get Page Content

Get the text content of a page in a Coda doc. Returns the page's content in the specified format (HTML or markdown). Markdown output may be lossy for complex Coda content (embedded objects, pack formulas). Use this for reading page text — use coda_get_page for metadata only.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name to read content from
output_formatstringContent output format

coda_delete_page_content Coda Delete Page Content

Delete all content from a page, leaving it blank. Removes the page's text content but does NOT delete the page itself. The page remains in the doc with its name and metadata intact. This is irreversible. Use coda_delete_page to remove the page entirely.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name to clear content from

coda_export_page Coda Export Page

Export a page's content, initiating an async export if needed. Starts an export job and returns the export status. For small pages, the content may be returned immediately. For large pages, call coda_get_export_status with the returned id. Prefer coda_get_page_content for quick reads — use this only when you need a full export with embedded images resolved.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name to export
output_formatstringExport format

coda_get_export_status Coda Get Export Status

Check a page export started by coda_export_page. Pass the `id` from coda_export_page as request_id. `status` is inProgress, failed or complete. When complete, `downloadLink` holds the exported file; the link expires after a short time — call this tool again for a fresh one. When failed, `error` says why. Poll every 2 s for up to 30 s (same cadence as coda_get_mutation_status). The request itself expires: 404/410 means start a new export.

ParameterTypeDescription
doc_id *stringThe doc ID containing the page
page_id_or_name *stringPage ID or name that was exported
request_id *stringExport request ID returned by coda_export_page

coda_get_sharing_metadata Coda Get Sharing Metadata

Get sharing metadata for a Coda doc. Returns whether the doc can be shared, copied, or has sharing restrictions. This is metadata about the doc's sharing configuration, not the list of who has access — use coda_list_permissions for that.

ParameterTypeDescription
doc_id *stringThe doc ID to get sharing metadata for

coda_list_permissions Coda List Permissions

List all permission entries (ACL) for a Coda doc. Returns who has access to the doc and their access level (read, write, etc.). Each entry includes the principal (user or group) and their permission type. Use coda_add_permission to grant access or coda_delete_permission to revoke.

ParameterTypeDescription
doc_id *stringThe doc ID to list permissions for
cursorPagination cursor from a previous response
limitintegerMaximum number of permissions to return (1-200)

coda_add_permission Coda Add Permission

Add a permission entry to a Coda doc. Grants access to a user by email or to an entire domain. Specify either principal_email or principal_domain (not both). The access level controls what the principal can do: readonly, write, comment, or none (removes implicit access). Returns the created permission entry.

ParameterTypeDescription
access *stringAccess level to grant
doc_id *stringThe doc ID to add permission to
principal_domainDomain to grant access to (e.g. 'example.com')
principal_emailEmail address of the user to grant access to
suppress_notificationbooleanIf True, don't send an email notification

coda_delete_permission Coda Delete Permission

Remove a permission entry from a Coda doc. Revokes the specified permission. The principal will lose access to the doc unless they have access through another permission (e.g. domain-level). Get the permission_id from coda_list_permissions first.

ParameterTypeDescription
doc_id *stringThe doc ID to remove permission from
permission_id *stringThe permission ID to delete (from coda_list_permissions)

coda_search_principals Coda Search Principals

Search for users and groups that can be added to a doc's permissions. Returns matching principals (users and groups) based on the query string. Use this to look up a user's email or find groups before calling coda_add_permission. Results include the principal's type, email, and name.

ParameterTypeDescription
doc_id *stringThe doc ID to search principals in
query *stringSearch query (name or email prefix)

coda_get_acl_settings Coda Get Acl Settings

Get the ACL settings for a Coda doc. Returns doc-level access control settings such as whether the doc allows copying, whether editors can change permissions, and the default access mode. These are administrative settings, not individual permission entries.

ParameterTypeDescription
doc_id *stringThe doc ID to get ACL settings for

coda_list_rows Coda List Rows

List rows in a Coda table with optional filtering and sorting. Returns row data with column values. By default uses column names (not IDs) for readability. Use the query parameter to filter rows by column values. For a specific row by ID, use coda_get_row instead. Results are paginated — pass cursor to get the next page.

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
table_id_or_name *stringTable ID or name to list rows from
cursorPagination cursor from a previous response
limitintegerMaximum number of rows to return (1-500)
queryFilter formula (e.g. 'Status:"Active"' or 'c-abc123:"value"')
response_formatstring'json' for structured data, 'markdown' for readable text
sort_byRow sort order. One of 'createdAt', 'natural' (the table's own order), or 'updatedAt'. The API does not sort by an arbitrary column.
use_column_namesbooleanUse column names (True) or IDs (False) in row values

coda_get_row Coda Get Row

Get a single row from a Coda table by ID or display column value. Returns all column values for the specified row. Use this when you have a specific row ID or know the display column value. For querying multiple rows with filters, use coda_list_rows instead.

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
row_id_or_name *stringRow ID or name (display column value)
table_id_or_name *stringTable ID or name
use_column_namesbooleanUse column names (True) or IDs (False) in row values

coda_insert_rows Coda Insert Rows

Insert one or more rows into a Coda table, with optional upsert. Inserts up to 500 rows per call. Use column names (not IDs) in the cells. With key_columns, matching rows are updated (upsert) instead of inserted — this is the only way to bulk-update rows. Returns a requestId for async mutation tracking via coda_get_mutation_status. The operation is async (202).

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
rows *arrayList of rows to insert. Each row is a dict with 'cells' key containing a list of {column: name, value: val} objects. Example: [{'cells': [{'column': 'Name', 'value': 'Alice'}]}]
table_id_or_name *stringTable ID or name to insert rows into
key_columnsColumn names to use as upsert keys. If a row matches on these columns, it is updated instead of inserted. Omit for pure insert.

coda_update_row Coda Update Row

Update a single row in a Coda table. Updates specific column values for one row. Only the specified columns are changed — other columns are left unchanged. Use column names (not IDs). For bulk updates, use coda_insert_rows with key_columns (upsert) instead. Returns a requestId for async mutation tracking.

ParameterTypeDescription
cells *arrayColumn values to update. List of {column: name, value: val} objects. Example: [{'column': 'Status', 'value': 'Done'}]
doc_id *stringThe doc ID containing the table
row_id_or_name *stringRow ID or name to update
table_id_or_name *stringTable ID or name

coda_delete_row Coda Delete Row

Delete a single row from a Coda table. Permanently removes the row. This is irreversible. Verify the row with coda_get_row before deleting. For bulk deletion, use coda_delete_rows with a list of row IDs instead.

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
row_id_or_name *stringRow ID or name to delete
table_id_or_name *stringTable ID or name

coda_delete_rows Coda Delete Rows

Delete multiple rows from a Coda table in a single call. Permanently removes all specified rows. This is irreversible. List the rows first with coda_list_rows to get their IDs. Returns a requestId for async mutation tracking. Prefer this over calling coda_delete_row in a loop for better performance and rate limit efficiency.

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
row_ids *arrayList of row IDs to delete
table_id_or_name *stringTable ID or name

coda_push_button Coda Push Button

Push a button in a Coda table row. Triggers the button's configured action (e.g. run automation, modify row). The button must be in a Button-type column. The effect depends on the button's configuration in the Coda doc. Returns a requestId for async mutation tracking.

ParameterTypeDescription
column_id_or_name *stringColumn ID or name of the button column
doc_id *stringThe doc ID containing the table
row_id_or_name *stringRow ID or name containing the button
table_id_or_name *stringTable ID or name

coda_list_tables Coda List Tables

List all tables and views in a Coda doc. Returns table metadata including name, ID, type (table or view), row count, and parent page. Does NOT return row data — use coda_list_rows for that. Use coda_list_columns to get the column schema of a specific table.

ParameterTypeDescription
doc_id *stringThe doc ID to list tables from
cursorPagination cursor from a previous response
limitintegerMaximum number of tables to return (1-200)
table_typesFilter by type: 'table' for base tables, 'view' for views

coda_get_table Coda Get Table

Get metadata for a single table or view in a Coda doc. Returns the table's name, ID, type, row count, parent page, and sort/filter info. Does NOT return row data or column definitions — use coda_list_rows and coda_list_columns for those.

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
table_id_or_name *stringTable ID or name

coda_list_columns Coda List Columns

List all columns in a Coda table. Returns column metadata including name, ID, type (text, number, date, etc.), and configuration. Column IDs are internal identifiers — use column names when working with row data. This is the table schema — call this before inserting or updating rows to know the available columns and their types.

ParameterTypeDescription
doc_id *stringThe doc ID containing the table
table_id_or_name *stringTable ID or name to list columns from
cursorPagination cursor from a previous response
limitintegerMaximum number of columns to return (1-200)

coda_get_column Coda Get Column

Get metadata for a single column in a Coda table. Returns the column's name, ID, type, format, and configuration details. Use this to check a specific column's type before writing data to it. For the full column schema, use coda_list_columns instead.

ParameterTypeDescription
column_id_or_name *stringColumn ID or name
doc_id *stringThe doc ID containing the table
table_id_or_name *stringTable ID or name