nocodb-mcp-connector
MCP server that exposes NocoDB bases, tables, records, and linked records as tools, enabling Claude to read/write NocoDB data. Supports both stdio and HTTP for local and cloud deployments.
README
nocodb-mcp-connector (Python)
An MCP server that exposes a NocoDB base (bases, tables, records, linked records) as tools, so Claude can read/write your NocoDB data the same way it can with the built-in Airtable connector.
Python implementation of this connector. There's also a TypeScript version with the identical tool set — pick whichever fits your stack. This is the primary/maintained one.
Built as a self-serve open-source template: you deploy your own instance with your own NocoDB account and your own auth secret. There's no shared hosted service — each user runs their own copy.
Tools
Same 13 tools as the TypeScript version: list_workspaces, list_bases,
list_tables, get_table_schema, list_records, get_record,
count_records, create_records, update_records, delete_records,
list_linked_records, link_records, unlink_records. Create/update/delete
all accept either a single record or a list for batching.
1. Get a free NocoDB instance
Sign up at https://app.nocodb.com (free plan — 50,000 records, well above Airtable's 1,000-record free cap). Import your Airtable base directly (Base -> Import -> Airtable) or start empty. Get an API token: avatar (bottom left) -> Account Settings -> Tokens -> Create New Token.
2. Local setup
Requires Python 3.10+.
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -e .
cp .env.example .env # fill in NOCODB_BASE_URL / NOCODB_API_TOKEN
3. Run locally (stdio, for Claude Desktop/Code)
nocodb-mcp-connector
Add it to your MCP client config, e.g. claude_desktop_config.json:
{
"mcpServers": {
"nocodb": {
"command": "C:\\path\\to\\nocodb-mcp-connector-py\\.venv\\Scripts\\python.exe",
"args": ["-m", "nocodb_mcp_connector.stdio"],
"env": {
"NOCODB_BASE_URL": "https://app.nocodb.com",
"NOCODB_API_TOKEN": "your-token-here"
}
}
}
}
4. Deploy to Render (for claude.ai custom connector)
claude.ai's custom connectors need a public HTTPS URL, so this repo ships an
HTTP entry point (nocodb_mcp_connector.http) alongside the local one — a
stateless Streamable HTTP server, since NocoDB itself holds all the actual
state.
- Push this repo to GitHub.
- In Render: New -> Blueprint, point it at the repo (
render.yamlis already set up: free plan,pip install -e ., health check on/health). - Set the three env vars Render will prompt for:
NOCODB_BASE_URL,NOCODB_API_TOKEN— your NocoDB credentials.MCP_AUTH_TOKEN— a secret you generate yourself (openssl rand -hex 32or similar). This is what stops random people on the internet from hitting your NocoDB data through the public URL — it's checked with a constant-time comparison against theAuthorization: Bearer <token>header on every/mcprequest.
- Deploy. Render's free tier sleeps after 15 min idle — expect a ~30-60s cold start on the first request after a gap.
- In claude.ai: Settings -> Connectors -> Add custom connector.
- URL:
https://<your-app>.onrender.com/mcp - Auth: Request headers ->
Authorization: Bearer <the same MCP_AUTH_TOKEN>
- URL:
/health is intentionally left unauthenticated (Render's health check needs
to reach it) — it only ever returns "ok", no data.
Notes on the MCP SDK version
This was built against mcp 2.0.0 — the high-level server class is
mcp.server.mcpserver.MCPServer (older tutorials referencing FastMCP from
mcp.server.fastmcp predate this rename). If you see import errors after a
pip install --upgrade mcp, check mcp's changelog for further API moves.
Verifying against your instance
The NocoDB v2 API endpoint shapes here mirror the TypeScript version — see its README for the same caveat: verified against documented behavior, not a live Swagger scrape, so double-check against a real base once you have one.
Smoke test
Stdio (requires the MCP initialize handshake before tools/list will
respond — see the TS README for the exact three-line payload):
python -m nocodb_mcp_connector.stdio
HTTP, once running (nocodb-mcp-connector-http or python -m nocodb_mcp_connector.http):
curl http://localhost:3000/health
# "ok"
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Authorization: Bearer $MCP_AUTH_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。