NocoDB MCP Server
The NocoDB Model Context Protocol (MCP) Server lets LLMs that support MCP, such as Claude, Cursor, Windsurf and Codex, work directly with your NocoDB project. On all editions, an LLM can query and edit records. On NocoDB Cloud and licensed self-hosted deployments, it can also manage tables, fields, views, workflows, interfaces, permissions and more.
- Copy the URL.
- Paste it into your AI client, where it adds an MCP server or connector.
- Sign in to NocoDB, choose the projects and tools, and click Authorize.
- Set
NC_SITE_URLto the public HTTPS address of your instance. - Paste your URL into your AI client, where it adds an MCP server or connector.
- Sign in to NocoDB, choose the projects and tools, and click Authorize.
- Create an MCP connection for a project.
- Copy its URL and token, or the ready-made config for your client.
- Paste it into your AI client. The client gets the record tools.
List my NocoDB workspaces and projects.
Pick your client
What you can do
The NocoDB MCP server gives an MCP client a set of tools. The tools that a client sees depend on the edition, the plan and the connection.
| Area | What the assistant can do | Tools |
|---|---|---|
| Records | Query, count and aggregate records; create, update, upsert and delete them; link records, add attachments and comments; import and export CSV; restore from the trash | 36 |
| Tables & fields | Create and change tables, fields and select options, with a dry run before changes that can lose data; organize folders; duplicate projects, tables and fields | 23 |
| Views | Create and configure views, filters, sorts, share links, form field conditions, view folders and row colors | 33 |
| Workflows | Build workflows step by step, test steps without running them, publish them and read their runs; manage webhooks and scripts | 35 |
| Apps & docs | Build classic apps and their pages, dashboards and widgets, and documents and their comments | 46 |
| Members & permissions | Manage members and teams, table and field permissions and row-level security; read the audit log | 24 |
Each tool works through the same service as the matching REST API, so validation, permissions and audit work the same way. In the Community Edition, the MCP server gives the record tools only.
How NocoDB is organized
Most tools ask for a project. These are the pieces that the tools work with:
Workspace
└── Project
├── Tables ──── fields, views, records
├── Workflows ─ steps, runs
├── Scripts and webhooks
├── Classic apps ── pages
├── Dashboards ──── widgets
└── DocumentslistWorkspaces and listBases turn "my Sales project" into the IDs that the other tools need, so they are often the first calls. whoami shows what the connection can reach.
List workspaces and projects. Create and read projects. Rename a project or change its icon color. Delete a project that the connection created, if you switch on deleteBase as an opt-in tool. Get the web app URL for a table, view, workflow, classic app, dashboard, script, or document.
Two ways to connect
| Sign in with OAuth | MCP connection | |
|---|---|---|
| How | Add the server URL to the client and sign in to NocoDB. | Create a connection in NocoDB and copy its configuration to the client. |
| Server URL | https://app.nocodb.com/mcp | https://<your-nocodb-host>/mcp/<connectionId>, with a token |
| You choose | Projects and tools, on the authorization screen | Projects and tools, when you create the connection |
| Editions | NocoDB Cloud, licensed self-hosted | All editions |
| Best for | Claude, ChatGPT, Claude Code | Pinning a client to set projects, clients without OAuth, the Community Edition |
Connect an MCP client
| Client | Easiest way | Setup |
|---|---|---|
| Claude | OAuth, from the Claude Connectors directory | Claude |
| Claude Code | OAuth, with claude mcp add | Claude Code |
| ChatGPT | OAuth, with a connector for https://app.nocodb.com/mcp | ChatGPT |
| Codex | MCP connection, TOML block | Codex |
| Cursor | MCP connection, JSON block | Cursor |
| Windsurf | MCP connection, JSON block | Windsurf |
| AntiGravity | MCP connection, JSON block | AntiGravity |
| Other MCP clients | OAuth if the client supports remote MCP servers with OAuth, or an MCP connection | Other clients |
Permissions
You choose what a client can do, on the NocoDB authorization screen or when you create an MCP connection. Pick the projects it can reach, then set a level for each section:
| Section | What it covers |
|---|---|
| Account & workspaces | Who you are, your workspaces, the projects in them, and links into the app |
| Records & data | Records, comments, import and export |
| Schema | Tables, fields, duplicating, and how a project is organized |
| Views | Views, filters, sorts, sharing, form fields, row colors |
| Automation | Workflows, webhooks and scripts |
| Interfaces, dashboards & docs | Classic app pages, dashboards, widgets, and documents |
| Access & security | Members, field and table permissions, row-level security |
| Level | What it allows |
|---|---|
| Read | The read tools of the section |
| Read & write | The above, plus the tools that create and change |
| Read, write & delete | The above, plus the tools that delete, remove or unshare |
| None | No tools of the section |
Self-hosted and Community Edition
- Licensed self-hosted: connect with OAuth the same way, with
https://<your-nocodb-host>/mcp. This URL must be the public HTTPS address of your instance. NocoDB builds its sign-in addresses fromNC_SITE_URL(orNC_PUBLIC_URL), so set it to that address. - Community Edition: there is no OAuth. Create an MCP connection for each project, and connect a client that accepts a token. The connection gives the record tools only.
Other clients
Any MCP client can connect:
- If the client supports remote MCP servers with OAuth, add
https://app.nocodb.com/mcp(or your self-hosted URL) and sign in to NocoDB. - If the client accepts only a token, create an MCP connection and use its URL and token.
Skill guide and feedback
Outside the Community Edition, the server also exposes Generate Skill Guide (generateSkillGuide). It returns Markdown files covering the tools this connection can actually reach, area by area, along with the workspaces and projects it can see, for a client that keeps skills on disk to write under .claude/skills/nocodb-mcp. The bundle includes a SKILL.md entry point, so the folder works as a skill once the files are written. Ask for it once at the start of a session. Passing sections: ["scope"] returns only the reachable workspaces and projects, which is the part that changes most often. It sits outside the tool allowlist, so it is always offered, and it reports only what the connection itself can reach.
On NocoDB Cloud and licensed self-hosted deployments, the server also gives Submit Feedback (submitFeedback). With this tool, an MCP client reports a NocoDB bug, a call that reported success but did the wrong thing, a missing capability, a confusing behavior, or a docs gap to the NocoDB team. The report changes nothing in your workspace, and the call answers with a feedback id. You cannot read a report back.
NocoDB also tells the client to report a problem that it meets during a task, and to tell you what it reported. A report carries the client's own description of the problem, not your records.
Submit Feedback sits outside the tool allowlist, so every connection has it. It is available only where the deployment can deliver reports: NocoDB Cloud, and self-hosted deployments whose license carries feedback credentials.
Example prompts
- "List my NocoDB workspaces and projects."
- "Show me all projects with deadlines this week."
- "Create a task named 'Review Documentation'."
- "Mark the status of Project X as completed and reassign to John."
- "Link the onboarding tasks to the Acme project."
- "Summarize total revenue by month from the Sales project."
- "Add a Priority field to Tasks with options Low, Medium and High."
- "Create a kanban view of Tasks stacked by Status."
- "Build a workflow that sends me an email when a new order comes in."
- "Give the Sales team read-only access to the Invoices table."
Building an AI app?
This page is about connecting an AI assistant to your workspace. An AI app has its own API and MCP server, scoped to that app and its teams. See App API and MCP server.
Related
Last updated on