loading…
Search for a command to run...
loading…
Remote MCP server that auto-generates tools from NocoBase OpenAPI specs to enable full CRUD operations on collections across multiple instances. Supports stream
Remote 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.
Remote MCP server for NocoBase instances with multi-instance support. Designed to be deployed on Easypanel or any container platform.
npm install
cp .env.example .env
# Edit .env with your NocoBase URL and token
npm run dev
npm run build
npm start
| Variable | Required | Description |
|---|---|---|
PORT |
No | Server port (default: 3000) |
NOCOBASE_URL |
Yes* | URL of the NocoBase instance |
NOCOBASE_TOKEN |
Yes* | API Key for the NocoBase instance |
INSTANCE_NAME |
No | Name for the default instance (default: default) |
INSTANCE_PACKAGES |
No | Override MCP packages for default instance |
MCP_PACKAGES |
No | Comma-separated list of packages to expose |
INSTANCES |
No | JSON array of additional instances |
*Required if INSTANCES is not set
NOCOBASE_URL=http://nocobase:13000
NOCOBASE_TOKEN=your-api-key
NOCOBASE_URL=http://nocobase-main:13000
NOCOBASE_TOKEN=main-key
INSTANCES=[{"name":"crm","url":"http://nocobase-crm:13000","token":"crm-key"},{"name":"erp","url":"http://nocobase-erp:13000","token":"erp-key"}]
docker build -t mcp-server-nocobase-remote .
docker run -d \
-p 3000:3000 \
-e NOCOBASE_URL=http://nocobase:13000 \
-e NOCOBASE_TOKEN=your-api-key \
--name mcp-nocobase \
mcp-server-nocobase-remote
NOCOBASE_URL - URL of your NocoBase instanceNOCOBASE_TOKEN - API Key from NocoBase| Endpoint | Method | Description |
|---|---|---|
/mcp |
POST/GET/DELETE | MCP streamable HTTP endpoint |
/health |
GET | Health check |
/instances |
GET | List configured instances |
{
"mcp": {
"nocobase": {
"type": "remote",
"url": "http://your-server:3000/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}
claude mcp add --transport http nocobase http://your-server:3000/mcp
codex mcp add nocobase --url http://your-server:3000/mcp
openapi2mcptools converts the API spec into MCP toolscrm_collections_list)/mcp endpointMIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-server-nocobase-remote": {
"command": "npx",
"args": []
}
}
}