# NocoDB MCP MCP

Vendor: NocoDB MCP  
Category: other  
Auth: OAUTH2  
Composio slug: `nocodb_mcp`

Manage NocoDB bases, tables, fields, views, records, automations, interfaces, documents and agents through NocoDB's hosted MCP server.

## Tools

- **Add agent repo** — Add a GitHub repository to a coding agent. The agent's first repo becomes its default and starts a setup session that installs the project and proposes a machine.
- **Add base members** — Give people a role on this base by email. Unknown emails are invited (an email is sent) and join the workspace with no workspace access. You cannot grant a role above your own. You cannot lower your own access over MCP. An explicit base rol
- **Add base team** — Give a team a role on this base. Team ids come from listWorkspaceTeams. A team role beats the workspace role and the private-base default for every member without an explicit base role. You cannot grant above your own role. You cannot lower
- **Add field options** — Add select options (choices) to a single/multi select field
- **Add row color condition** — Add a colour rule to a view. Rules are evaluated in `order` and the first match wins, so put the most specific first. Refuses if the view is on select-field colouring — call clearRowColoring first.
- **Add sort** — Add a sort to a view
- **Add workflow node** — Add one node to an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI dow
- **Aggregate** — Perform aggregations (sum, count, avg, etc.) on table data, optionally split across filter groups (each `filterGroups` entry produces its own result, keyed by its alias). Omit `filterGroups` to aggregate the whole table (or view) once, keye
- **Build interface page config from view** — Build a page config seeded from an existing table view — returns a complete `config` to pass to createInterfacePage or updateInterfacePage. Keys the view cannot supply are defaulted (a kanban's stacking field, a calendar/timeline/gantt date
- **Clear interface page draft** — Revert a page's draft config to its last published state. Works only on pages a human has already published in the UI. Returns the reverted page. A page carries `password_protected` (boolean), not `password`.
- **Clear row coloring** — Turn row colouring off for a view, dropping every condition. Also the way to switch a view from one colouring mode to the other.
- **Connect workflow nodes** — Add one edge to an automation's draft. Edits one node of the draft in place, so you do not have to send the whole graph. The read-mutate-write is done server-side, which keeps the last-write-wins window against a human editing in the UI dow
- **Count records** — Count Records in a Table
- **Create agent** — Create an agent in a base. Instructions are seeded with the platform default when omitted. A coding agent created here has no repo or machine yet: launchCodingAgent creates one ready to run, or add repos with addAgentRepo.
- **Create agent channel** — Connect an agent to a channel (Telegram, Slack, …) through a channel integration of the workspace, so people can message it there.
- **Create automation folder** — Create an automation folder in the current base.
- **Create base** — Create a base in a workspace. Returns the base id — pass it to the table, view and record tools to build inside it. This connection can always reach a base it created, whatever its scopes cover.
- **Create comment** — Add a comment to a record
- **Create dashboard** — Create a new dashboard in a base
- **Create document** — Create a document page in the base, optionally nested under another page. Markdown is GFM: tables, task lists (`- [ ]`) and `~~strikethrough~~` work; strikethrough reads back as `~text~`, so match that in `oldStr`. Headings, lists, quotes, 
- **Create document comment** — Add a comment to a document page, or reply to one with `parentCommentId`. Threads are one level deep: a reply to a reply joins the top-level thread.
- **Create field** — Add a new field (column) to a table
- **Create filter** — Create a filter (or filter group) on a view
- **Create folder** — Create a new folder in the current base to group tables, documents and dashboards in the sidebar.
- **Create hook** — Create a webhook on a table
- **Create interface** — Create a new interface in the current base. Writes only touch the draft; publishInterface makes it live. Unpublishing and sharing a page publicly are deliberately not exposed — a human does those in the UI.
- **Create interface page** — Create a new page on an interface. Call getInterfaceAuthoringInstructions first if you are authoring a config. On a table page, filters go in `config.filters` and apply to every visualization; a `visualizations[*].filters` is ANDed into `co
- **Create record from template** — Create a record from a saved template. This is not one record: the payload may carry `linked_records` in 'create_new' mode, and each of those creates a record in the linked table and links it, up to 3 levels deep. A link whose field no long
- **Create records** — Create records in a table. Up to 100 per call. A link field takes primary keys (bare or `{ id }`), never titles. A one-to-one or has-many target already linked elsewhere is moved, and its previous link is removed without a warning.
- **Create record template** — Save a starter record for a table. Titles are unique per table, and the payload is capped at 256 KB. Creating a template writes no records — `createRecordFromTemplate` does that.
- **Create rls policy** — Create a row-level security policy. A scoped policy grants its subjects the rows matching its conditions. A table may also have one default policy (isDefault) that covers everyone else and takes no subjects
- **Create script** — Create a new NocoDB script. Call getScriptAuthoringInstructions first if you are writing the source.
- **Create table** — Create a new table in a base
- **Create view** — Create a new view on a table. A gallery/kanban view answers with `options.cover_field_id`, the key these tools accept back.
- **Create view folder** — Create a view folder in a table. New folders always append to the folder tier, so order cannot be set here.
- **Create widget** — Create a new widget on a dashboard. `options` must match `type` and is refused if the widget could only render nothing — a chart with no data block, a summary metric with no field, an iframe with no url, a field_id the table does not have, 
- **Create workflow** — Create an automation. Only the draft is writable. Testing one node is exposed (the `validate` flag, and validateWorkflowNode), and publishWorkflow puts the tested draft live. Enabling and run_as are deliberately not exposed — a human sets t
- **Delete agent** — Move an agent to the base trash
- **Delete agent channel** — Disconnect an agent from a channel. The integration itself stays.
- **Delete automation folder** — Delete an automation folder. The workflows and scripts inside are spread back across the gap it leaves and returned with their new orders (folders are interleaved with loose automations).
- **Delete comment** — Delete a comment
- **Delete dashboard** — Delete a dashboard
- **Delete date dependency** — Delete a table's date dependency rule, or one Gantt view's. Dates already stored on records are left as they are — only the rule that moves them goes.
- **Delete document** — Delete a document page. Every sub-page under it is deleted with it, along with the page comments. The response reports how many sub-pages went with it. They all go to the base Trash as one entry; restore it with listTrash and restoreFromTra
- **Delete document comment** — Delete a document comment you wrote
- **Delete field** — Delete a field (column) from a table. It goes to the trash with its cell values and can be restored with restoreFromTrash. Deleting a link field does not remove the reverse link on the related table: that field is replaced by a SingleLineTe
- **Delete filter** — Delete a filter from a view
- **Delete folder** — Delete a folder. Returns the tables, documents and dashboards freed by the delete with their new orders.
- **Delete hook** — Delete a webhook. Answers with {deleted, resource, id}.
- **Delete interface** — Delete an interface

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect NocoDB MCP.
3. Authorise through oauth2.
4. Teammates can now @-mention NocoDB MCP tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/nocodb-mcp