Configuring Claude Desktop
Claude Desktop uses mcp-remote as a local stdio-to-HTTP bridge. Install a current Node.js LTS release first, then confirm that node and npx are available in a new PowerShell window:
node --version
npx --version
Steps to configure Claude Desktop:
- Exit Claude Desktop and open %APPDATA%\Claude\claude_desktop_config.json. Create the file if it does not exist.
- Add the DEX member inside the top-level mcpServers object. If
mcpServers already exists, do not create a second
top-level key:
{ "mcpServers": { "dex": { "command": "npx", "args": [ "-y", "mcp-remote", "https://<DEX_MCP_HOST>:9496/mcp", "--header", "Authorization:Bearer ${DEX_MCP_AUTH_TOKEN}", "--header", "X-Bes-Mcp-Read-Only:true" ], "env": { "NODE_EXTRA_CA_CERTS": "C:\\DEX-MCP\\client\\dex-mcp-server-ca.pem" } } } }Note: The file must be PEM (Base-64). The server'sselfsigned_cert.pemcan be used as is.The missing space immediately after Authorization is intentional for Windows argument handling. The required space remains between Bearer and the expanded token. NODE_EXTRA_CA_CERTS gives the Node.js bridge the supplied certificate directly, even when its trust behavior differs from the Windows certificate store.
- Validate that the file is strict JSON: no comments, no trailing commas, and only one mcpServers object.
- Reopen Claude Desktop, start a new conversation, and confirm that the DEX tools appear in the tools or integrations menu.
