productivity
Coda MCP Integration for LangChain
Connect Coda to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Coda to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Coda MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-coda": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=coda",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=coda --write=deny Why Use KosmoKrator Here
Expose only Coda instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Coda Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Coda integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__coda__coda_list_docs | coda.coda_list_docs | Read | List Coda docs accessible to the authenticated user. Optionally filter by name or ownership. |
integration__coda__coda_get_doc | coda.coda_get_doc | Read | Get details of a specific Coda doc by its ID. |
integration__coda__coda_list_tables | coda.coda_list_tables | Read | List tables in a Coda doc. Returns table IDs, names, and display types. |
integration__coda__coda_get_table | coda.coda_get_table | Read | Get details of a specific table in a Coda doc, including its columns and display column. |
integration__coda__coda_list_rows | coda.coda_list_rows | Read | List rows in a Coda table. Use useColumnNames=true to get values keyed by human-readable column names instead of column IDs. |
integration__coda__coda_get_row | coda.coda_get_row | Read | Get a single row from a Coda table by its row ID. |
integration__coda__coda_insert_rows | coda.coda_insert_rows | Write | Insert one or more new rows into a Coda table. Each row should have a "cells" array with column/value pairs. |
integration__coda__coda_update_row | coda.coda_update_row | Write | Update cells in an existing row in a Coda table. Provide a cells array with column/value pairs to update. |
integration__coda__coda_delete_row | coda.coda_delete_row | Write | Delete a row from a Coda table. This action is permanent. |
integration__coda__coda_list_columns | coda.coda_list_columns | Read | List columns in a Coda table. Useful to discover column names and types before querying or inserting rows. |
integration__coda__coda_list_pages | coda.coda_list_pages | Read | List pages in a Coda doc. Pages can contain text, tables, and other content. |
integration__coda__coda_get_current_user | coda.coda_get_current_user | Read | Verify Coda authentication and get the current user's profile information. |