DataTalk

MCP Settings

Connect Claude Desktop to the MCP servers of a DataTalk device over HTTPS — download and install the device CA certificate, configure claude_desktop_config.json, and fix common connection errors.

On this page

AI agents such as Claude Desktop can connect directly to the MCP servers that run on a DataTalk device. A DataTalk device offers two of them:

MCP serverAddressWhat the agent can do
AI Expert/mcpWork with the real, up-to-date data of the running system — tags, alarms, history, documents. Enable it in AI Expert → MCP Server.
Project Designer/mcpdesignerRead and edit the design of the project — connections, tags, views, dashboards. Enable it in Settings → General of the project.

The setup is the same for both. Over HTTPS the connection is encrypted, but the device uses a certificate issued by its own local certification authority, mySCADA-Local-CA, which Windows and Node.js do not trust on their own. You therefore install the certificate of this authority into Windows once, and turn on the use of system certificates in the Claude Desktop configuration.

What you need:

  • A Windows computer with Claude Desktop installed.
  • Node.js — in the examples, npx is in C:\Program Files\nodejs\.
  • The IP address of the DataTalk device (in the examples 192.168.13.165) and access to its DataTalk Manager.
The IP address is only an example

192.168.13.165 is used as an example throughout this page. Replace it everywhere with the IP address of your DataTalk device — in the browser address and in the Claude Desktop configuration. The suffix -165 in the server names is an example as well.

The setup has three steps: download the CA certificate, install it into Windows, and edit the Claude Desktop configuration. The certificate is installed once per computer and is valid for 10 years.

Step 1: Download the CA certificate from DataTalk Manager

Download the certificate from the web interface of the device you want to connect to.

Open Settings

Open DataTalk Manager of the device and go to Settings.

Open Web Server

Click the arrow next to Web Server (HTTPs: 443 / HTTP: 80).

DataTalk Manager Settings page — arrow next to Web Server

Download the certificate

On the Web Server page click Download CA.crt.

Web Server page with the Download CA.crt button

The browser saves the certificate file — DataTalk-CA.crt in the screenshots — usually into the Downloads folder.

Step 2: Install the certificate into Windows

The certificate must be placed in the Trusted Root Certification Authorities store. Node.js, which Claude Desktop uses to run the MCP connection, looks for certificates of certification authorities exactly there — it does not read the Trusted Publishers store at all.

Open the certificate file

Double-click the downloaded DataTalk-CA.crt. If Windows shows the Open File – Security Warning window, click Open.

Windows security warning when opening DataTalk-CA.crt, with the Open button

Check the certificate and start the installation

In the Certificate window, on the General tab, check that both Issued to and Issued by are mySCADA-Local-CA. Then click Install Certificate…

Certificate window for mySCADA-Local-CA with the Install Certificate button

Keep Current User

In the Certificate Import Wizard, keep Store Location set to Current User and click Next. (Local Machine requires administrator rights and applies to all users of the computer.)

Welcome screen of the Certificate Import Wizard with Current User selected

Choose the store

Select Place all certificates in the following store and click Browse…

Select Trusted Root Certification Authorities

In the list, select Trusted Root Certification Authorities, confirm with OK and click Next. Do not select Trusted Publishers, and do not let Windows choose the store automatically.

Select Certificate Store window with Trusted Root Certification Authorities selected

Finish

On the summary, check that Certificate Store Selected by User is Trusted Root Certification Authorities and click Finish.

Confirm the installation

Windows asks whether you really want to install the certificate of the certification authority mySCADA-Local-CA. Click Yes, and then OK on the message The import was successful.

Check: In Chrome or Edge, open https://<device IP>/ (for example https://192.168.13.165/) and click the icon to the left of the address. If the certificate is installed correctly, the browser shows Connection is secure and Certificate is valid. If it warns about an untrusted certificate instead, restart the browser; if the warning stays, repeat Step 2.

The browser reports Connection is secure and Certificate is valid for 192.168.13.165

Step 3: Configure Claude Desktop

Open the configuration file

In Claude Desktop open Settings → Developer → Edit Config. It shows the file claude_desktop_config.json (usually %APPDATA%\Claude\claude_desktop_config.json); open it in a text editor.

Add the DataTalk MCP servers

Add entries for the device to the mcpServers section according to the example below. Replace the IP address 192.168.13.165 with the address of your device. You can choose the names of the servers freely.

Save and restart Claude Desktop

Save the file, then quit Claude Desktop and start it again. Without a restart the change does not take effect — after every edit of the file. Closing the window is not enough: quit the application from the icon in the notification area too (right-click → Quit), then start it again.

Log in on the first connection

On the first connection, the browser opens the login page of the DataTalk device. Log in with your DataTalk user account and allow the access. mcp-remote remembers the login in the folder %USERPROFILE%\.mcp-auth, so it does not ask again next time.

{
  "mcpServers": {
    "datatalk-ai-expert-165": {
      "command": "C:\\Program Files\\nodejs\\npx.cmd",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://192.168.13.165/mcp"
      ],
      "env": {
        "NODE_USE_SYSTEM_CA": "1"
      }
    },
    "datatalk-project-designer-165": {
      "command": "C:\\Program Files\\nodejs\\npx.cmd",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://192.168.13.165/mcpdesigner"
      ],
      "env": {
        "NODE_USE_SYSTEM_CA": "1"
      }
    }
  }
}

Add only the servers you need. If the file already contains other settings, insert just these entries into the existing mcpServers section and watch the commas between the entries.

EntryConnects toCertificate
datatalk-ai-expert-165AI Expert MCP server of a remote device over HTTPSrequired (Steps 1 and 2)
datatalk-project-designer-165Project Designer MCP server of a remote device over HTTPSrequired (Steps 1 and 2)

NODE_USE_SYSTEM_CA=1 makes Node.js use the certificates from Windows, including the installed mySCADA-Local-CA. It works from Node.js 22.19 (22.x line) and 24.6 (24.x line); check your version with node --version.

In the address, use the IP address the device certificate is issued for. For example, the certificate of the device .165 is valid for 192.168.13.165 and localhost, not for its network name — with another address the connection fails.

DataTalk on the same computer

When DataTalk runs on the same computer as Claude Desktop, connect to http://localhost — no certificate is needed:

"datatalk-project-designer": {
  "command": "C:\\Program Files\\nodejs\\npx.cmd",
  "args": ["-y", "mcp-remote", "http://localhost/mcpdesigner"]
}

For the AI Expert MCP server use http://localhost/mcp in the same way.

Alternative: connection without a certificate over HTTP (insecure)

You can also connect to the device over unencrypted HTTP; Steps 1 and 2 are then skipped. In mcpServers, use this entry instead of the HTTPS one (again, replace the IP address with the address of your device, and use /mcp for the AI Expert MCP server):

"datatalk-project-designer-165": {
  "command": "C:\\Program Files\\nodejs\\npx.cmd",
  "args": ["-y", "[email protected]", "http://192.168.13.165/mcpdesigner", "--allow-http"]
}
  • The --allow-http parameter allows mcp-remote an unencrypted connection to an address other than localhost; without it, mcp-remote does not connect to an HTTP address.
  • All communication, including the content of the project and the login credentials, travels over the network in readable form. Anyone on the same network can eavesdrop on it or change it.
  • The entry has the same name as the HTTPS variant. The configuration can contain only one of them — otherwise rename one.
Trusted closed networks only

Use the HTTP connection only in a trusted closed network — a lab or an isolated machine network — and never over the internet.

After saving the configuration, quit Claude Desktop and start it again here too (see Step 3).

Verification and troubleshooting

After the restart, the server should appear in Settings → Developer of Claude Desktop without an error. Try it in the chat, for example with “Show me an overview of the project on device 165.”

To check that the certificate is in the right store, run this in PowerShell. It must print a line with CN=mySCADA-Local-CA:

Get-ChildItem Cert:\CurrentUser\Root | Where-Object Subject -like '*mySCADA*'
Error or symptomCauseSolution
UNABLE_TO_VERIFY_LEAF_SIGNATURE (unable to verify the first certificate)Node.js does not trust the CA certificate: it is not in Trusted Root (for example only in Trusted Publishers), NODE_USE_SYSTEM_CA is missing, or Node.js is olderInstall the certificate again according to Step 2, check env in the configuration and node --version
ERR_TLS_CERT_ALTNAME_INVALIDThe address in the configuration is not in the device certificateUse the IP address of the device
Response 401 or invalid_token, the login page does not openThe stored login has expired or belongs to another deviceDelete the folder %USERPROFILE%\.mcp-auth and restart Claude Desktop
The server does not start, npx.cmd not foundNode.js is installed elsewhereAdjust command according to the output of where npx.cmd
The configuration change has no effectClaude Desktop keeps running in the backgroundQuit it from the notification area too and start it again