Files
nuc/.artifacts/2026-02-01_20-49_nocodb-credentials.md
Alejandro Gutiérrez 59944e9144 Add infrastructure setup artifacts (Feb 1-3)
Session notes covering Gitea-Coolify webhook fixes, NocoDB/Vaultwarden
credentials, Stalwart mail server setup, Snappymail config, WhyRating
databases and email, CloudBeaver deployment, and Turbostarter setup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 15:17:04 +01:00

2.5 KiB

NocoDB Credentials

Date: 2026-02-01 20:49 Updated: 2026-02-01 21:19 Context: Fresh NocoDB deployment on NUC with MCP integration

Admin Account

API Token (for REST API)

  • Description: Claude MCP Token
  • Token: iRjefVhHIa-59Tpk4NGaqLbV8He4tmgiLXY11256

Base Info

  • Base ID: pnyh9wci9dh5orr
  • Workspace ID: wlkqi8gm
  • Title: Getting Started

MCP Configuration (Native NocoDB MCP)

MCP Endpoint: http://192.168.1.3:8084/mcp/ncnyir1cy6n9bf5p MCP Token: qjjAXRxuYzRtEn-cA4lbPFi5km_pojTX

Working Setup (CLI Method)

Use the Claude Code CLI to add the MCP server globally:

claude mcp add --transport http nocodb http://192.168.1.3:8084/mcp/ncnyir1cy6n9bf5p \
  --scope user \
  --header "xc-mcp-token: qjjAXRxuYzRtEn-cA4lbPFi5km_pojTX"

This saves to ~/.claude.json and works across all projects.

Alternative: JSON Config (Does NOT work with mcp-remote)

The following JSON config does NOT work due to mcp-remote issues:

{
  "nocodb": {
    "command": "npx",
    "args": [
      "-y",
      "mcp-remote",
      "http://192.168.1.3:8084/mcp/ncnyir1cy6n9bf5p",
      "--header",
      "xc-mcp-token: qjjAXRxuYzRtEn-cA4lbPFi5km_pojTX",
      "--allow-http"
    ]
  }
}

Use the CLI method instead.

Available MCP Tools

Tool Description
mcp__nocodb__getBaseInfo Fetch base information
mcp__nocodb__getTablesList List all tables
mcp__nocodb__getTableSchema Get table schema/fields
mcp__nocodb__queryRecords Query records with filters
mcp__nocodb__getRecord Fetch single record by ID
mcp__nocodb__createRecords Create new records
mcp__nocodb__updateRecords Update existing records
mcp__nocodb__deleteRecords Delete records
mcp__nocodb__countRecords Count records
mcp__nocodb__readAttachment Read attachment data
mcp__nocodb__aggregate_single Aggregate queries

How to Enable MCP in NocoDB

  1. Login to NocoDB: http://192.168.1.3:8084
  2. Open a Base (e.g., "Getting Started")
  3. Go to Settings tab
  4. Click MCP Server in sidebar
  5. Click New MCP Endpoint
  6. Save (default name is fine)
  7. Copy the MCP URL and Token from the config shown