'๐Ÿ”', 'dbn.corpus_search' => '๐Ÿงญ', 'dbn.ask' => '๐Ÿ’ฌ', 'dbn.summarize' => '๐Ÿ“‹', 'dbn.timeline' => '๐Ÿ“…', 'dbn.redact' => '๐Ÿ”’', 'dbn.translate' => '๐ŸŒ', 'dbn.legal_analysis' => 'โš–๏ธ', 'dbn.korrespond' => 'โœ‰๏ธ', 'dbn.korrespond_refine' => 'โœจ', 'dbn.barnevernet_analyze' => '๐Ÿ“„', 'dbn.advocate_brief' => '๐Ÿ›๏ธ', 'dbn.deep_research' => '๐Ÿ”ฌ', 'dbn.discrepancy_find' => '๐Ÿ”„', 'dbn.transcribe_audio' => '๐ŸŽค', 'dbn.extract_text' => '๐Ÿ“‘', 'dbn.corpus_stats' => '๐Ÿ“Š', 'dbn.list_documents' => '๐Ÿ“š', 'dbn.get_document' => '๐Ÿ“–', 'dbn.citation_graph' => '๐Ÿ”—', 'dbn.case_workbench_plan' => '๐Ÿ—‚๏ธ', 'dbn.save_to_case' => '๐Ÿ’พ', 'dbn.list_personas' => '๐ŸŽญ', ]; ?> <?= htmlspecialchars(dbnToolsT('mcp_page_title', $uiLang)) ?>

Edit claude_desktop_config.json (~/Library/Application Support/Claude/ on Mac, %APPDATA%\Claude\ on Windows):

{
  "mcpServers": {
    "dobetternorge": {
      "command": "npx",
      "args": ["-y", "@bluenotelogic/mcp", "dobetternorge-mcp", "--stdio"],
      "env": {
        "DBN_MCP_TOKEN": "dbn_user_mcp_..."
      }
    }
  }
}

claude mcp add dobetternorge -- npx -y @bluenotelogic/mcp dobetternorge-mcp --stdio

# Set your token (add to ~/.bashrc or ~/.zshrc to persist):
export DBN_MCP_TOKEN=dbn_user_mcp_...

Edit ~/.cursor/mcp.json (or Windsurf's equivalent):

{
  "mcpServers": {
    "dobetternorge": {
      "command": "npx",
      "args": ["-y", "@bluenotelogic/mcp", "dobetternorge-mcp", "--stdio"],
      "env": {
        "DBN_MCP_TOKEN": "dbn_user_mcp_..."
      }
    }
  }
}

Cursor also supports the remote HTTP endpoint โ€” use the Remote HTTP tab if you prefer not to run npx.

Create .vscode/mcp.json in your project (VS Code will prompt for the token on first use):

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dbn-token",
      "description": "Do Better Norge MCP token",
      "password": true
    }
  ],
  "servers": {
    "dobetternorge": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@bluenotelogic/mcp", "dobetternorge-mcp", "--stdio"],
      "env": {
        "DBN_MCP_TOKEN": "${input:dbn-token}"
      }
    }
  }
}

For clients that support remote MCP (Cursor, Zed, Windsurf with remote connector) โ€” no npx needed:

URL:           https://mcp.dobetternorge.no/mcp
Authorization: Bearer dbn_user_mcp_...

Paste the URL into your client's "Remote MCP server" field, then set the Authorization header.