Skip to main content
Glama

NocoBase MCP Server v7.0.0

Modern MCP Server for NocoBase CRM using FlowModels API.

šŸš€ Quick Start

Install & Build

npm install npm run build

Configure

Edit .env:

NOCOBASE_URL=https://crm.nexpo.vn NOCOBASE_EMAIL=admin@nocobase.com NOCOBASE_PASSWORD=admin123

Run

npm start

šŸ“ Project Structure

src/ ā”œā”€ā”€ index.ts # Main entry point ā”œā”€ā”€ client.ts # NocoBase HTTP client ā”œā”€ā”€ templates.ts # UI schema templates ā”œā”€ā”€ tools/ # Tool modules │ ā”œā”€ā”€ page-tools.ts # Page & UI operations │ ā”œā”€ā”€ data-tools.ts # Bulk data operations │ ā”œā”€ā”€ relationship-tools.ts # Relationship management │ └── workflow-tools.ts # Workflow automation └── archive/ # V1 legacy (excluded from build)

šŸ› ļø Available Tools (15)

Page & UI (8 tools)

  • menu_create_group - Create menu group

  • page_create - Create FlowPage

  • page_list - List all pages

  • page_delete - Delete page

  • page_inspect - Inspect page structure

  • table_add - Add table block

  • column_add - Add table column

  • action_add - Add action button

Collections (2 tools)

  • collection_list - List all collections

  • collection_get - Get collection details

Data CRUD (4 tools)

  • data_list - Query records

  • data_create - Create record

  • data_update - Update record

  • data_delete - Delete record

Health (1 tool)

  • health_check - Check connection

šŸ“ Usage Example

// 1. Create menu group menu_create_group({ title: "CRM" }) // Returns: { groupId: "abc123" } // 2. Create page page_create({ title: "Leads", parentId: "abc123" }) // Returns: { gridUid: "xyz789", ... } // 3. Add table table_add({ gridUid: "xyz789", collection: "leads" }) // Returns: { tableBlockUid: "tbl456", actionsColumnUid: "act789" } // 4. Add columns column_add({ tableBlockUid: "tbl456", collection: "leads", fieldPath: "company_name" }) column_add({ tableBlockUid: "tbl456", collection: "leads", fieldPath: "email" }) // 5. Add actions action_add({ parentUid: "tbl456", actionType: "addNew", collection: "leads" }) action_add({ parentUid: "act789", actionType: "view", collection: "leads", isRowAction: true })

šŸ“š Documentation

All detailed guides are in the docs/ folder:

For advanced features like bulk operations, relationships, and workflows, see the documentation in docs/.

šŸ”— Claude Desktop Integration

Setup Instructions

  1. Find your Claude Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    • Linux: ~/.config/Claude/claude_desktop_config.json

  2. Add NocoBase MCP server to the config:

{ "mcpServers": { "nocobase": { "command": "node", "args": ["/Users/travisvo/Projects/nocobase-mcp/dist/index.js"], "env": { "NOCOBASE_URL": "https://erp.nexpo.vn", "NOCOBASE_EMAIL": "your-email@example.com", "NOCOBASE_PASSWORD": "your-password" } } } }
  1. Update the path and credentials:

    • Replace the args path with your actual project path

    • Update NOCOBASE_URL, NOCOBASE_EMAIL, and NOCOBASE_PASSWORD with your credentials

  2. Restart Claude Desktop to load the MCP server

  3. Verify connection:

    • Open Claude Desktop

    • Look for the šŸ”Œ icon in the bottom right

    • You should see "nocobase" listed with 15 tools available

šŸ“¦ Version History

  • v7.0.0 (2026-01-18) - Refactored structure, removed v2 prefix, organized tools

  • v6.0.0 - V2 FlowPage Edition

  • v5.0.0 - V2 Only

  • v4.x - Mixed V1/V2 support

šŸ—‚ļø Archive

Legacy V1 files are in src/archive/ for reference only. They are excluded from compilation and not used in the current version.

  • NocoBase: https://www.nocobase.com

  • MCP Protocol: https://modelcontextprotocol.io


Version: 7.0.0
Last Updated: 2026-01-18

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsxcorp/nocobase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server