NocoDB MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NocoDB MCP Server list all tables in the CRM base"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NocoDB MCP Server
A standalone Model Context Protocol (MCP) server that provides full integration with a self-hosted NocoDB instance. This server exposes NocoDB's Meta API and Data API as MCP tools, enabling LLMs like Claude to create, update, and delete bases, tables, connections, fields, views, and records.
Features
25 MCP tools covering the full NocoDB API surface:
Category | Tools |
Bases | list, get, create, update, delete |
Sources | list, create, update, delete |
Tables | list, get, create, update, delete |
Fields | list, create, update, delete |
Views | list, create, update, delete |
Records | list (with filtering/sorting), create, update, delete |
Related MCP server: MCP Server NocoBase Remote
Prerequisites
Node.js 18+ (for native
fetch)A running NocoDB instance
A NocoDB API token (generate from Team & Settings > Tokens)
Setup
# Install dependencies
npm install
# Build
npm run build
# Run (for testing)
NOCODB_URL=http://localhost:8080 NOCODB_API_TOKEN=your-token npm startClaude Desktop Configuration
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"nocodb": {
"command": "node",
"args": ["/Users/youruser/Local Apps/nocodb-mcp-server/dist/index.js"],
"env": {
"NOCODB_URL": "http://localhost:8080",
"NOCODB_API_TOKEN": "your-api-token-here"
}
}
}
}Development
# Run in dev mode (no build step needed)
NOCODB_URL=http://localhost:8080 NOCODB_API_TOKEN=your-token npm run devArchitecture
Zero NocoDB forking — communicates entirely via REST API
Safe for NocoDB updates — upgrade NocoDB independently
stdio transport — compatible with Claude Desktop and other MCP clients
Available Tools
26 toolsnocodb_create_baseB
Create a new base (project) in NocoDB
Inputs: title (required), color, description.
nocodb_create_fieldC
Add a new field (column) to a table
Inputs: uidt (required), title (required), tableId (required), column_name (required), +1 more.
nocodb_create_recordsC
Insert one or more records into a table
Inputs: records (required), tableId (required).
nocodb_create_sourceC
Add a new external data source (e.g. MySQL, Postgres) to a base
Inputs: type (required), alias (required), baseId (required), config (required).
nocodb_create_tableC
Create a new table in a base with specified columns
Inputs: title (required), baseId (required), columns (required), table_name (required).
nocodb_create_viewB
Create a new view for a table. NocoDB uses type-specific endpoints so the type determines the API path used.
Inputs: title (required), tableId (required), type, fk_grp_col_id.
nocodb_delete_baseB
Delete a base (project) — this is destructive
Inputs: baseId (required).
nocodb_delete_fieldC
Delete a field (column) from a table
Inputs: columnId (required).
nocodb_delete_recordsC
Delete one or more records from a table by their row IDs
Inputs: tableId (required), recordIds (required).
nocodb_delete_sourceC
Remove a data source from a base
Inputs: baseId (required), sourceId (required).
nocodb_delete_tableB
Delete a table — this is destructive and removes all its data
Inputs: tableId (required).
nocodb_delete_viewC
Delete a view
Inputs: viewId (required).
nocodb_get_baseB
Get details of a specific base by ID
Inputs: baseId (required).
nocodb_get_tableB
Get detailed information about a specific table including its columns
Inputs: tableId (required).
nocodb_list_basesB
List all bases (projects) in NocoDB
Inputs: no named parameters.
nocodb_list_fieldsB
List all fields (columns) of a table
Inputs: tableId (required).
nocodb_list_recordsA
Query/list records from a table with optional filtering, sorting, and pagination
Inputs: tableId (required), sort, limit, where, +3 more.
nocodb_list_sourcesB
List all data sources (connections) for a base
Inputs: baseId (required).
nocodb_list_tablesC
List all tables in a base
Inputs: baseId (required).
nocodb_list_viewsC
List all views for a table
Inputs: tableId (required).
nocodb_update_baseC
Update an existing base
Inputs: baseId (required), color, title, description.
nocodb_update_fieldC
Update an existing field (column)
Inputs: payload (required), columnId (required).
nocodb_update_recordsC
Update one or more existing records in a table
Inputs: records (required), tableId (required).
nocodb_update_sourceC
Update a data source connection
Inputs: baseId (required), payload (required), sourceId (required).
nocodb_update_tableC
Update a table (e.g. rename)
Inputs: tableId (required), title.
nocodb_update_viewB
Update a view (rename, lock/unlock, reorder, etc.)
Inputs: viewId (required), title, payload.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 26 tools
Each tool pairs a distinct action (list/get/create/update/delete) with a clearly distinct resource (base, source, table, field, view, record). The hierarchy base > source/table > field/view > record mirrors NocoDB's data model, so boundaries between tools are unambiguous even where verbs repeat across resources.
Every tool follows the exact same `nocodb_<verb>_<resource>` snake_case pattern with verbs drawn from a small consistent set. Pluralization is applied sensibly (create_records/delete_records for batches, singular for single objects).
26 tools is on the heavy side but justified by six nested resource types each needing CRUD. No tool looks redundant; the surface is a natural consequence of the domain rather than padding.
Full CRUD exists for bases, tables, fields, views, and records, with sources missing only a getter. Minor gaps: no get_view, get_field, get_source, or fetch-single-record operation, forcing agents to use list variants to inspect a specific object.
Maintenance
Related MCP Connectors
Your company's tools, memory and Automations for ChatGPT, Claude or any MCP agent. Open source.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Hosted Airtable MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to interact with NocoDB databases for managing tables, records, views, and file attachments. Supports advanced queries, bulk operations, and full CRUD functionality for storing operational data.255MIT
- AlicenseNot gradedqualityDmaintenanceRemote MCP server that auto-generates tools from NocoBase OpenAPI specs to enable full CRUD operations on collections across multiple instances. Supports streamable HTTP transport and API key authentication for secure, natural language interaction with NocoBase deployments.MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to interact with NocoBase instances for managing collections, UI schemas, flow models, and running API operations. It provides both hand-crafted tools and dynamically generated tools from NocoBase's OpenAPI specification.237 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables CRUD operations on NocoDB tables via natural language commands, supporting table manipulation, file upload, and bulk actions.64 npm76MIT