.mcp.json file at your project root. This page walks through wiring Nudj into Claude Code for both cloud-hosted and local MCP servers.
This is the developer workflow. For admin-panel / Claude Desktop setup, see MCP Admin Setup.
Prerequisites
- Claude Code installed and running in a project directory.
- An MCP token from Settings → Developer → MCP Tokens (see Bearer + x-api-domain).
npxonPATH(comes with Node.js).
Cloud MCP (recommended)
Add Nudj’s hosted MCP server to your project’s.mcp.json:
Local MCP (contributors)
If you’re iterating on the MCP server itself, point Claude Code at your local instance:- MCP URL is
http://localhost:4010/mcp(HTTP, not HTTPS, and note the/mcppath). x-api-domainuseshttps://localhost:3000/api/v2/admin— HTTPS with the full/api/v2/adminsuffix.- All three apps (admin, API, MCP) must share the same
NEXTAUTH_SECRETin their.env.localfiles, otherwise token validation will fail with401.
Reconnecting after a config change
Claude Code caches MCP connections. After editing.mcp.json or rotating a token:
/mcp in Claude Code to reconnect.
Combining with other MCP servers
Claude Code happily runs multiple MCP servers side by side. Common combos alongsidenudj:
Troubleshooting
Tools never appear in the catalog
Tools never appear in the catalog
- Confirm
.mcp.jsonis at the project root (not inside a subdirectory). - Check Claude Code’s MCP log for startup errors.
- Verify the env var holding your token is exported in the shell Claude Code inherits.
403 Forbidden
403 Forbidden
- Token is valid but its claimed organisation doesn’t match
x-api-domain. Re-issue a token from the correct org’s admin panel. - Token’s RBAC scope is too low for the tool you’re calling. Regenerate at a higher scope.
Local dev: ECONNREFUSED or self-signed cert errors
Local dev: ECONNREFUSED or self-signed cert errors
- Ensure you started the MCP server with
NODE_TLS_REJECT_UNAUTHORIZED=0. - Verify the API is running on
https://localhost:3000(not 3100 — that’s a worktree offset).
Related
Bearer + Domain Headers
The auth pattern shared by all HTTP MCP clients.
MCP Tools Catalog
Every tool the Nudj MCP server exposes.

