by edwinbernadus
The NocoDB MCP Server enables seamless interaction with your NocoDB database using the Model Context Protocol (MCP).
The NocoDB MCP Server is a TypeScript-based application that facilitates interaction with NocoDB databases using the Model Context Protocol (MCP). It allows users to perform CRUD (Create, Read, Update, Delete) operations on NocoDB tables through natural language commands.
To use the NocoDB MCP Server, you need to have Node.js and TypeScript installed. After cloning the repository, install dependencies and build the project using npm install
and npm run build
. Configuration involves setting environment variables in a .env
file, including NOCODB_URL
, NOCODB_API_TOKEN
, and NOCODB_BASE_ID
. The server can be integrated with Claude Desktop by modifying claude_desktop_config.json
or called directly from the command line.
Q: What is NocoDB? A: NocoDB is an open-source, no-code database platform that turns any database into a smart spreadsheet.
Q: How do I get my NOCODB_BASE_ID
?
A: Your NOCODB_BASE_ID
can be found in the URL of your NocoDB instance. For example, in https://app.nocodb.com/#/{USERNAME}/{NOCODB_BASE_ID}/{TABLE_ID}
, the NOCODB_BASE_ID
is the second part of the path.
Q: Can I contribute to the NocoDB MCP Server project? A: Yes, contributions are encouraged. You can open issues or submit pull requests on the project's GitHub repository.
Q: What license is the NocoDB MCP Server distributed under? A: The project is distributed under the MIT License.
The NocoDB MCP Server enables seamless interaction with your NocoDB database using the Model Context Protocol (MCP). This server makes it easy to perform CRUD (Create, Read, Update, Delete) operations on NocoDB tables through natural language commands.
[Get Records]
get data from nocodb, table: Shinobi
[Create Record]
add new row, with name: sasuke-2
add other row, with name: naruto-2
[Update Record]
update all rows, remove suffix -
[Delete Record]
delete all rows with name naruto
[Add Column]
add column with name: Age
update all rows, set Age to 18
[Delete Column]
delete column with name: Age
[Create table]
from the json files
put on nocodb database
table name is TableShinobi
JSON location file in: example_upload.json
This repository is a TypeScript-based fork of NocoDB-MCP-Server. It retains the core functionality while improving maintainability and compatibility with modern TypeScript development practices.
Ensure that Node.js and TypeScript are installed, then execute:
npm install
npm run build
Define the required environment variables in a .env
file:
NOCODB_URL=https://your-nocodb-instance.com
NOCODB_API_TOKEN=your_api_token_here
NOCODB_BASE_ID=your_base_id_here
Tip: You can copy the template from env.example and fill in your values.
To find your NOCODB_BASE_ID
, check the URL of your Nocodb instance.
For example:
https://app.nocodb.com/#/wi6evls6/pqmob3ammcknma5/maty9c5xkmf4012
In this URL format:
https://app.nocodb.com/#/{USERNAME}/{NOCODB_BASE_ID}/{TABLE_ID}
Modify claude_desktop_config.json
to include:
{
"mcpServers": {
"nocodb": {
"command": "node",
"args": ["{working_folder}/dist/start.js"],
"env": {
"NOCODB_URL": "https://your-nocodb-instance.com",
"NOCODB_BASE_ID": "your_base_id_here",
"NOCODB_API_TOKEN": "your_api_token_here"
}
}
}
}
You can directly call the MCP server from the command line:
NOCODB_URL, NOCODB_API_TOKEN, and NOCODB_BASE_ID are required parameters.
NOCODB_URL=https://app.nocodb.com
if you are using NocoDB cloud.
npx -y nocodb-mcp-server {NOCODB_URL} {NOCODB_BASE_ID} {NOCODB_API_TOKEN}
To run the tests, execute:
npx -y @wong2/mcp-cli npx nocodb-mcp-server {NOCODB_URL} {NOCODB_BASE_ID} {NOCODB_API_TOKEN}
For detailed information about available API functions, please refer to API_FUNCTION.md.
/project-root
├── src/ # TypeScript source files
├── dist/ # Compiled JavaScript output
├── .env # Environment variable configurations
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript settings
Contributions are encouraged! Feel free to open issues or submit pull requests.
This project is distributed under MIT.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by googleapis
Provides a configurable MCP server that abstracts connection pooling, authentication, observability, and tool management to accelerate development of database‑backed AI tools.
by bytebase
DBHub is a universal database gateway that implements the Model Context Protocol (MCP) server interface, enabling MCP-compatible clients to interact with various databases.
by neo4j-contrib
Provides Model Context Protocol servers for interacting with Neo4j databases, managing Aura instances, and handling personal knowledge graph memory through natural‑language interfaces.
by mongodb-js
Provides a Model Context Protocol server that connects to MongoDB databases and Atlas clusters, exposing a rich set of tools for querying, managing, and administering data and infrastructure.
by benborla
A Model Context Protocol (MCP) server that provides read-only access to MySQL databases, enabling Large Language Models (LLMs) to inspect database schemas and execute read-only queries.
by ClickHouse
Provides tools that let AI assistants run read‑only SQL queries against ClickHouse clusters or the embedded chDB engine, plus a health‑check endpoint for service monitoring.
by elastic
Provides direct, natural‑language access to Elasticsearch indices via the Model Context Protocol, allowing AI agents to query and explore data without writing DSL.
by motherduckdb
Provides an MCP server that enables SQL analytics on DuckDB and MotherDuck databases, allowing AI assistants and IDEs to execute queries via a unified interface.
by redis
Provides a natural language interface for agentic applications to manage and search data in Redis efficiently.