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 server | Address | What the agent can do |
|---|---|---|
| AI Expert | /mcp | Work with the real, up-to-date data of the running system — tags, alarms, history, documents. Enable it in AI Expert → MCP Server. |
| Project Designer | /mcpdesigner | Read 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,
npxis inC:\Program Files\nodejs\. - The IP address of the DataTalk device (in the examples
192.168.13.165) and access to its DataTalk Manager.
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 DataTalk Manager of the device and go to Settings.
Click the arrow next to Web Server (HTTPs: 443 / HTTP: 80).

On the Web Server page click Download CA.crt.

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.
Double-click the downloaded DataTalk-CA.crt. If Windows shows the Open File – Security Warning window, click Open.

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

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.)

Select Place all certificates in the following store and click Browse…
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.

On the summary, check that Certificate Store Selected by User is Trusted Root Certification Authorities and click Finish.
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.

Step 3: Configure Claude Desktop
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 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 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.
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.
| Entry | Connects to | Certificate |
|---|---|---|
datatalk-ai-expert-165 | AI Expert MCP server of a remote device over HTTPS | required (Steps 1 and 2) |
datatalk-project-designer-165 | Project Designer MCP server of a remote device over HTTPS | required (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-httpparameter allowsmcp-remotean unencrypted connection to an address other thanlocalhost; without it,mcp-remotedoes 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.
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 symptom | Cause | Solution |
|---|---|---|
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 older | Install the certificate again according to Step 2, check env in the configuration and node --version |
ERR_TLS_CERT_ALTNAME_INVALID | The address in the configuration is not in the device certificate | Use the IP address of the device |
Response 401 or invalid_token, the login page does not open | The stored login has expired or belongs to another device | Delete the folder %USERPROFILE%\.mcp-auth and restart Claude Desktop |
The server does not start, npx.cmd not found | Node.js is installed elsewhere | Adjust command according to the output of where npx.cmd |
| The configuration change has no effect | Claude Desktop keeps running in the background | Quit it from the notification area too and start it again |