Productivity & Projects · Databases & Storage

NocoDB MCP

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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, an aggregation the column cannot take. Read getWidgetConfigSchema(type) first rather than guessing; chart_type is limited to pie/donut/bar/line here. A chart or metric also needs table_id.

  • 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 those in the UI. Call getWorkflowAuthoringInstructions first if you are writing a draft.

  • Duplicate agent

    Copy an agent with its instructions, tools, triggers and, for a coding agent, its repos. A draft's copy is a plain agent, switched off.

  • Duplicate base

    Copy the base this connection is scoped to, into the same workspace. The new base id is known straight away and reported as `id` even while the contents are still being copied, so a timeout or a failure here still leaves you something to work with — but the copy is only complete once `status` is completed. A duplicated base is removed in the UI, or with deleteBase where the connection has it switched on.

  • Duplicate field

    Copy a field within its table, including its cell values. Formula, Lookup and Rollup copies keep pointing at the same referenced fields. Waits for the copy to finish, then returns the new `id`, `title` and `type` plus the `job_id` that ran it — not the whole field; read it back with listFields. If the job outruns the 60s wait the reply is `status: "running"` with the job_id and no id — poll getJobStatus for it.

  • Duplicate interface

    Duplicate an interface with all of its pages (draft state)

  • Duplicate interface page

    Duplicate a page within its interface (draft state)

  • Duplicate script

    Duplicate a script into the same base. The copy is titled "Copy of <title>", de-duplicated with a counter. The copy carries the source, meta and description — but NOT the saved `config` values or the automation folder, so a script that declares input.config.* items comes back unrunnable until you set its config. The response warns when either applies.

  • Duplicate table

    Copy a table into the same base, with its fields, views, data and webhooks. The copy is titled "<title> copy" unless `title` says otherwise. Links to other tables are recreated; links pointing at the copy from elsewhere are not. Waits for the copy to finish, then returns the new `id` and `title` plus the `job_id` that ran it — not the whole table; read it back with getTableSchema. If the job outruns the 60s wait the reply is `status: "running"` with the job_id and no id — poll getJobStatus for it.

  • Duplicate view

    Copy a view on the same table, with its filters, sorts, grouping and field layout. Unlike the other duplicate tools this is immediate — no job. A shared-view link is not carried over.

  • Duplicate workflow

    Duplicate an automation into the same base

  • Import csv

    Load CSV text into the base — either as a new table, or as rows appended to an existing one. Runs to completion and reports the rows actually written. Values are coerced to the destination field type on append, so importing into a table you created with the right field types is preferred. An append that would create more than 5000 links (one per value in a Links field cell) is refused before any row is written — split such a CSV into smaller imports up front.

  • Submit feedback

    Report a NocoDB bug, missing capability, confusing behavior or docs gap to the NocoDB team. Call it when a tool errors unexpectedly, returns results that disagree with another tool, or cannot do what the user needs, or when the user asks to send feedback. No need to ask the user first: call once per issue, passing the requestId from the error as evidence, then tell the user what you reported. It changes no data and fixes nothing, so do not retry it. Describe problems in schema terms (tables, fields, tool names), never record values or personal data.

  • Submit form

    Submit an interface form page: creates one record through the form, with the form's rules — the same as a respondent pressing Submit. `fields` is keyed by field id or name (getFormSchema). A field you leave out takes the form's `default_value`. Refused, with nothing saved: a key the form does not show or you cannot edit, a value for a field the form's visibility rules hide, a missing required field, a failed validator, and update-action forms. Values: text and numbers as is; SingleSelect an option title, MultiSelect an array of titles (`options` lists what the form offers); Checkbox a boolean; Date/DateTime ISO 8601; a link field a record id, `{ id }`, or an array of them for a many-record link — ids from listFormLinkCandidates. Attachment fields cannot be filled from here. Returns the created record, limited to the fields the form shows. To create a record through a link field's add form and link it to an existing record, pass the add form's page as `pageId` and the host record in `linkTo`.

PreviousPage 2 / 2