Connecting External Clients
NimbleBrain can act as a tool server for external apps that speak the MCP protocol, like Claude Desktop, Claude Code, Cursor, or VS Code. Point a client at your instance once and every tool from every app installed in your workspaces becomes available inside that client, without switching to the web UI.
NimbleBrain exposes a single programmatic surface for this: the /mcp Streamable HTTP endpoint. For the protocol-level reference (methods, sessions, OAuth discovery), see The /mcp Endpoint.
How it connects
Section titled “How it connects”Authentication uses OAuth. There is no static API key to copy around. When you point a client at NimbleBrain:
- The client hits
/mcpwithout credentials and gets a401with aWWW-Authenticateheader pointing to NimbleBrain’s discovery endpoint. - The client follows RFC 9728 / RFC 8414 discovery to find the authorization server (AuthKit).
- A browser window opens for you to log in.
- The client receives a JWT and attaches it on subsequent requests.
Clients that support MCP OAuth discovery (Claude Code, Claude Desktop, Cursor) handle all of this automatically.
What you need
Section titled “What you need”- Instance URL — the address of your NimbleBrain instance (for example,
https://your-team.nimblebrain.ai). Append/mcpto form the endpoint URL.
That is all the client config needs. You do not set a workspace header.
Claude Code
Section titled “Claude Code”Use the CLI:
claude mcp add --transport http nimblebrain https://your-team.nimblebrain.ai/mcpOr add to your project’s .mcp.json:
{ "mcpServers": { "nimblebrain": { "type": "http", "url": "https://your-team.nimblebrain.ai/mcp" } }}The first request triggers the OAuth flow. Claude Code opens a browser for you to authenticate against AuthKit, then attaches the returned JWT on every subsequent request.
Claude Desktop
Section titled “Claude Desktop”Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{ "mcpServers": { "nimblebrain": { "type": "http", "url": "https://your-team.nimblebrain.ai/mcp" } }}The first time Claude Desktop uses the server, it opens a browser for OAuth login.
Cursor
Section titled “Cursor”Open Cursor Settings → MCP → Add Server, choose the HTTP/URL-based server type, and set the URL to https://your-team.nimblebrain.ai/mcp. Cursor handles the OAuth flow automatically. See Cursor’s MCP documentation for the latest details.
Other MCP clients
Section titled “Other MCP clients”Any client that implements Streamable HTTP transport and either OAuth 2.0 (RFC 9728/8414 discovery) or a pre-issued bearer token can connect. See The /mcp Endpoint for the protocol-level reference, including the discovery endpoints and the manual OAuth flow.
What’s exposed
Section titled “What’s exposed”When an external client connects, it gets the tools installed across your workspaces, the same tools the agent uses in the web UI. The client sees a flat tool list; NimbleBrain routes each call to the right app internally based on the namespaced tool name.
Two filters apply:
- Feature flags — tools gated by a disabled flag (for example, the
skills__*authoring tools whenskillManagementisfalse) are hidden. See Feature Flags. - Role — admin-only tools (such as
nb__manage_users,nb__manage_workspaces) are hidden from non-admin members.
If an admin installs or removes an app, the change is reflected on the next tools/list call.