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