timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Read, write, browse, search, and subscribe to live data on an OPC-UA industrial automation server.
Skills that teach the AI this kind of work; they work alongside this one
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 10/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 22/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install OPC-UA MCP Server. Follow https://mcp.popnx.com/i/mwieczorkiewicz-opcua-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server OPC-UA MCP Server for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "opcua": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OPCUA_ENDPOINT", "-e", "OPCUA_AUTH_MODE", "-e", "OPCUA_USERNAME", "-e", "OPCUA_PASSWORD", "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4" ], "env": { "OPCUA_ENDPOINT": "opc.tcp://localhost:4840", "OPCUA_AUTH_MODE": "your-value", "OPCUA_USERNAME": "your-value", "OPCUA_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPCUA_AUTH_MODE, OPCUA_PASSWORD, OPCUA_ENDPOINT, OPCUA_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the OPC-UA MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
OPCUA_ENDPOINT OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840 · default opc.tcp://localhost:4840OPCUA_USERNAME Username, required if OPCUA_AUTH_MODE=usernameDescriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"opcua": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPCUA_ENDPOINT",
"-e",
"OPCUA_AUTH_MODE",
"-e",
"OPCUA_USERNAME",
"-e",
"OPCUA_PASSWORD",
"ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
],
"env": {
"OPCUA_ENDPOINT": "opc.tcp://localhost:4840",
"OPCUA_AUTH_MODE": "your-value",
"OPCUA_USERNAME": "your-value",
"OPCUA_PASSWORD": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use OPC-UA MCP Server and tell me what you can do for me, then show me one thing✓ If Claude says it is using OPC-UA MCP Server or shows a OPC-UA MCP Server tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OPCUA_SECURITY_POLICY OPC-UA transport security policy, e.g. Basic256Sha256 · default NoneOPCUA_SECURITY_MODE OPC-UA transport security mode, e.g. SignAndEncrypt · default NoneSERVER_TRANSPORT MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments) · default stdioDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect OPC-UA MCP Server yet
OPC-UA MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect OPC-UA MCP Server
Works with Claude Code, with some setup first
You need a OPC-UA MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (OPCUA_ENDPOINT, OPCUA_USERNAME) · Install Docker on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server OPC-UA MCP Server for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user opcua --env OPCUA_ENDPOINT=opc.tcp://localhost:4840 --env OPCUA_AUTH_MODE=your-value --env OPCUA_USERNAME=your-value --env OPCUA_PASSWORD=your-value -- docker run -i --rm -e OPCUA_ENDPOINT -e OPCUA_AUTH_MODE -e OPCUA_USERNAME -e OPCUA_PASSWORD ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPCUA_AUTH_MODE, OPCUA_PASSWORD, OPCUA_ENDPOINT, OPCUA_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the OPC-UA MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
OPCUA_ENDPOINT OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840 · default opc.tcp://localhost:4840OPCUA_USERNAME Username, required if OPCUA_AUTH_MODE=usernameDescriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user opcua --env OPCUA_ENDPOINT=opc.tcp://localhost:4840 --env OPCUA_AUTH_MODE=your-value --env OPCUA_USERNAME=your-value --env OPCUA_PASSWORD=your-value -- docker run -i --rm -e OPCUA_ENDPOINT -e OPCUA_AUTH_MODE -e OPCUA_USERNAME -e OPCUA_PASSWORD ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4Replace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see OPC-UA MCP Server listed as connected
Use OPC-UA MCP Server and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using OPC-UA MCP Server or shows a OPC-UA MCP Server tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OPCUA_SECURITY_POLICY OPC-UA transport security policy, e.g. Basic256Sha256 · default NoneOPCUA_SECURITY_MODE OPC-UA transport security mode, e.g. SignAndEncrypt · default NoneSERVER_TRANSPORT MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments) · default stdioDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a OPC-UA MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (OPCUA_ENDPOINT, OPCUA_USERNAME) · Install Docker on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server OPC-UA MCP Server for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "opcua": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OPCUA_ENDPOINT", "-e", "OPCUA_AUTH_MODE", "-e", "OPCUA_USERNAME", "-e", "OPCUA_PASSWORD", "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4" ], "env": { "OPCUA_ENDPOINT": "opc.tcp://localhost:4840", "OPCUA_AUTH_MODE": "your-value", "OPCUA_USERNAME": "your-value", "OPCUA_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPCUA_AUTH_MODE, OPCUA_PASSWORD, OPCUA_ENDPOINT, OPCUA_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the OPC-UA MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
OPCUA_ENDPOINT OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840 · default opc.tcp://localhost:4840OPCUA_USERNAME Username, required if OPCUA_AUTH_MODE=usernameDescriptions are as written by the maker.
In the OPC-UA MCP Server settings, OPCUA_AUTH_MODE, OPCUA_PASSWORD, OPCUA_ENDPOINT, OPCUA_USERNAME is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use OPC-UA MCP Server and tell me what you can do for me, then show me one thing✓ If Cursor says it is using OPC-UA MCP Server or shows a OPC-UA MCP Server tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OPCUA_SECURITY_POLICY OPC-UA transport security policy, e.g. Basic256Sha256 · default NoneOPCUA_SECURITY_MODE OPC-UA transport security mode, e.g. SignAndEncrypt · default NoneSERVER_TRANSPORT MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments) · default stdioDescriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a OPC-UA MCP Server key (create it on the maker’s site) · 2 setting(s) to fill in (OPCUA_ENDPOINT, OPCUA_USERNAME) · Install Docker on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server OPC-UA MCP Server for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "opcua": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OPCUA_ENDPOINT", "-e", "OPCUA_AUTH_MODE", "-e", "OPCUA_USERNAME", "-e", "OPCUA_PASSWORD", "ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4" ], "env": { "OPCUA_ENDPOINT": "opc.tcp://localhost:4840", "OPCUA_AUTH_MODE": "your-value", "OPCUA_USERNAME": "your-value", "OPCUA_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPCUA_AUTH_MODE, OPCUA_PASSWORD, OPCUA_ENDPOINT, OPCUA_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the OPC-UA MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
OPCUA_ENDPOINT OPC-UA server endpoint to connect to, e.g. opc.tcp://your-plc-host:4840 · default opc.tcp://localhost:4840OPCUA_USERNAME Username, required if OPCUA_AUTH_MODE=usernameDescriptions are as written by the maker.
In the OPC-UA MCP Server settings, OPCUA_AUTH_MODE, OPCUA_PASSWORD, OPCUA_ENDPOINT, OPCUA_USERNAME is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use OPC-UA MCP Server and tell me what you can do for me, then show me one thing✓ If VS Code says it is using OPC-UA MCP Server or shows a OPC-UA MCP Server tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OPCUA_SECURITY_POLICY OPC-UA transport security policy, e.g. Basic256Sha256 · default NoneOPCUA_SECURITY_MODE OPC-UA transport security mode, e.g. SignAndEncrypt · default NoneSERVER_TRANSPORT MCP transport: stdio (for local MCP clients) or http (for remote/hosted deployments) · default stdioDescriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user opcua --env OPCUA_ENDPOINT=opc.tcp://localhost:4840 --env OPCUA_AUTH_MODE=your-value --env OPCUA_USERNAME=your-value --env OPCUA_PASSWORD=your-value -- docker run -i --rm -e OPCUA_ENDPOINT -e OPCUA_AUTH_MODE -e OPCUA_USERNAME -e OPCUA_PASSWORD ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"opcua": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPCUA_ENDPOINT",
"-e",
"OPCUA_AUTH_MODE",
"-e",
"OPCUA_USERNAME",
"-e",
"OPCUA_PASSWORD",
"ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
],
"env": {
"OPCUA_ENDPOINT": "opc.tcp://localhost:4840",
"OPCUA_AUTH_MODE": "your-value",
"OPCUA_USERNAME": "your-value",
"OPCUA_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"opcua": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPCUA_ENDPOINT",
"-e",
"OPCUA_AUTH_MODE",
"-e",
"OPCUA_USERNAME",
"-e",
"OPCUA_PASSWORD",
"ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
],
"env": {
"OPCUA_ENDPOINT": "opc.tcp://localhost:4840",
"OPCUA_AUTH_MODE": "your-value",
"OPCUA_USERNAME": "your-value",
"OPCUA_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"opcua": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OPCUA_ENDPOINT",
"-e",
"OPCUA_AUTH_MODE",
"-e",
"OPCUA_USERNAME",
"-e",
"OPCUA_PASSWORD",
"ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4"
],
"env": {
"OPCUA_ENDPOINT": "opc.tcp://localhost:4840",
"OPCUA_AUTH_MODE": "your-value",
"OPCUA_USERNAME": "your-value",
"OPCUA_PASSWORD": "your-value"
}
}
}
}OPCUA_ENDPOINT required envOPCUA_AUTH_MODE secret required envOPCUA_USERNAME required envOPCUA_PASSWORD secret required envOPCUA_SECURITY_POLICY envOPCUA_SECURITY_MODE envSERVER_TRANSPORT envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
oci: ghcr.io/mwieczorkiewicz/opcua-mcp:main-29734c4Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account mwieczorkiewicz, which owns the repo
Code last changed 22 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked: only npm and PyPI packages with a version can be checked
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/mwieczorkiewicz-opcua-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: OPCUA_AUTH_MODE, OPCUA_PASSWORD
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 22 days ago, and the latest version (1.0.0) reached the registry 4 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.
In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Search and read Empryo's documentation. Read-only, no auth, no local access.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| This one OPC-UA MCP Server | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | Yes | Yes | Yes | No | No |
| Basic checks | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An MCP server that lets an LLM read, write, browse, search, and subscribe to live data on an OPC-UA industrial automation server - over stdio or HTTP, with a persistent cache and a searchable index of the address space built in.
https://github.com/user-attachments/assets/0b676e6e-17ce-42f5-918f-9a615e939008
The fastest way to see it working end-to-end, using the bundled Microsoft OPC-UA test server and a public tunnel Claude can reach:
git clone https://github.com/mwieczorkiewicz/opcua-mcp.git
cd opcua-mcp make compose-up # starts a test OPC-UA server, opcua-mcp, and a public HTTPS tunnel make connector-url # prints a URL like https://xyz.trycloudflare.com/mcp
Paste that URL into Claude at Settings → Connectors → Add custom connector, then ask it to browse the server or read a value. Stop with make compose-down when you're done - see docs/deployment.md for what that tunnel exposes and how to run against your own OPC-UA server instead.
go build -o opcua-mcp ./cmd/opcua-mcp.go
./opcua-mcp
SERVER_TRANSPORT=http OPCUA_ENDPOINT=opc.tcp://localhost:4840 ./opcua-mcp
Requires Go 1.26+ and, optionally, Docker for the test server / containerized deployment.
See docs/architecture.md for how the caching layer, subscription manager, and discovery index fit together.
| Tool | Description |
|---|---|
opcua_read | Read one or more node values. Subscribed nodes are served from the live cache; others go live unless max_age_ms allows a cached value. |
opcua_write | Write a value to a node. Validates the value's type against the node before writing. |
opcua_get_value | Read a single node's value - a convenience wrapper over opcua_read. |
opcua_get_value_by_name | Read a value by browse name instead of node ID, via the discovery index. |
opcua_browse | List a node's immediate children. |
opcua_browse_nodes | Recursively browse from a node up to a depth limit, nesting children under their parent. |
opcua_node_info | Get a node's metadata (data type, access level, etc.). |
opcua_find_similar_nodes | Fuzzy-match browse names against the discovery index. |
opcua_subscribe | Start push-based updates for one or more nodes at a given interval. |
opcua_unsubscribe | Cancel a subscription, by ID or by naming one of its nodes. |
opcua_list_subscriptions | List active subscriptions. |
opcua_connect / opcua_disconnect | Manage the connection explicitly (mainly relevant in stdio mode). |
opcua_server_info | Get OPC-UA server metadata. |
opcua_discovery_stats | Stats on the background discovery cache (node count, depth distribution, enabled flags). |
opcua_force_discovery | Trigger an immediate discovery refresh instead of waiting for the next cycle. |
opcua_debug_search / opcua_ensure_server_nodes | Diagnostics for troubleshooting why a node isn't showing up in search. |
Set MCP_READ_ONLY=true to expose only tools that don't change anything on the OPC-UA server or the connection: opcua_write, opcua_disconnect, opcua_subscribe and opcua_unsubscribe are hidden from tools/list, and a client that calls one of them by name gets an error instead of running it. opcua_connect and the discovery tools stay available.
To approve specific tools on top of the read-only set, list them in MCP_ALLOWED_TOOLS, for example MCP_ALLOWED_TOOLS=opcua_subscribe,opcua_unsubscribe. An unknown tool name stops the server at startup, so a typo can't silently leave a tool disabled. Any tool added in a future release is excluded from read-only mode until it is classified as read-only.
| Resource | Description |
|---|---|
opcua://node/{node_id} | Node data, e.g. opcua://node/ns=2;i=1. Accepts a comma-separated list for multiple nodes. |
opcua://server | OPC-UA server information. |
Configuration is loaded (via viper) from three sources, in ascending order of precedence:
./config.{yaml,yml,toml,json,...} is read if present; point at an explicit path with CONFIG_FILE=/path/to/config.toml. A config file is entirely optional - env vars alone are still enough.SERVER_*, OPCUA_*, MCP_*, SEARCH_*, STORE_*) - always win over the config file, so existing env-var-only deployments keep working unchanged.A config file mirrors the env var names, lowercased and nested under each prefix, e.g. SERVER_HTTP_PORT becomes:
server:
http_port: "8080"
| Variable | Default | Description |
|---|---|---|
SERVER_TRANSPORT | stdio | stdio or http |
SERVER_HTTP_PORT | 8080 | Port for HTTP transport |
SERVER_LOG_LEVEL | info | debug, info, warn, error |
SERVER_LOG_FORMAT | json | json or text |
SERVER_LOG_OUTPUT | stdout | stdout, stderr, or file (forced to stderr in stdio mode, since stdout carries the MCP stream) |
SERVER_LOG_FILE | - | Log file path, required if SERVER_LOG_OUTPUT=file |
SERVER_LOG_ADD_SOURCE | false | Add source file/line to log entries |
| Variable | Default | Description |
|---|---|---|
OPCUA_ENDPOINT | opc.tcp://localhost:4840 | Server endpoint |
OPCUA_AUTH_MODE | anonymous | anonymous, username, or certificate |
OPCUA_USERNAME / OPCUA_PASSWORD | - | Required if AUTH_MODE=username |
OPCUA_CERT_FILE / OPCUA_KEY_FILE | - | PEM client certificate/RSA key. Required if AUTH_MODE=certificate or security policy/mode is not None (secures the channel for any auth mode) |
OPCUA_SERVER_CERT | - | Optional pinned server certificate (PEM or DER); the connection is refused if the endpoint's certificate differs. Without it the certificate is taken from GetEndpoints |
OPCUA_SECURITY_POLICY | None | None, Basic128Rsa15, Basic256, Basic256Sha256, Aes128_Sha256_RsaOaep |
OPCUA_SECURITY_MODE | None | None, Sign, SignAndEncrypt |
OPCUA_REQUEST_TIMEOUT | 30s | Per-request timeout |
OPCUA_SESSION_TIMEOUT | 60s | Session timeout |
OPCUA_MAX_RETRIES | 3 | Connection retry attempts |
OPCUA_RETRY_DELAY | 1s | Delay between retries |
| Variable | Default | Description |
|---|---|---|
MCP_NAME | OPC-UA MCP Server | Server name reported to clients |
MCP_VERSION | 1.0.0 | Server version reported to clients |
MCP_ENABLE_TOOLS | true | Enable tools |
MCP_ENABLE_RESOURCES | true | Enable resources |
MCP_ENABLE_PROMPTS | false | Enable prompts |
MCP_HTTP_PATH | /mcp | HTTP endpoint path |
MCP_READ_ONLY | false | Expose only read-only tools (see Read-only mode) |
MCP_ALLOWED_TOOLS | _(empty)_ | Comma-separated tools to expose in addition to the read-only set; ignored unless MCP_READ_ONLY=true |
| Variable | Default | Description |
|---|---|---|
SEARCH_ENABLE_DISCOVERY | true | Enable background node discovery |
SEARCH_DISCOVERY_INTERVAL | 30s | How often to re-crawl the address space |
SEARCH_DISCOVERY_ROOT_NODE | i=85 | Root node to crawl from (Objects folder) |
SEARCH_MAX_DISCOVERY_DEPTH | 10 | Maximum crawl depth |
SEARCH_MAX_NODES_PER_BROWSE | 10000 | Cap on nodes returned per browse call |
SEARCH_ENABLE_SEARCH | true | Enable the Bleve search index |
SEARCH_INDEX_PATH | ./search_index | Search index directory |
SEARCH_MAX_RESULTS | 100 | Max results per search |
SEARCH_MIN_SCORE | 0.1 | Minimum match score |
SEARCH_ENABLE_CACHE | true | Master switch for read-through caching. false makes every opcua_read/opcua_write/opcua_browse_nodes call go live, matching pre-cache behavior exactly |
Backs read-through caching and subscription persistence with an on-disk bbolt database.
| Variable | Default | Description |
|---|---|---|
STORE_DB_PATH | mcp_opcua_store.db | Database file path |
STORE_OPEN_TIMEOUT | 5s | How long to wait for the file lock on open |
STORE_TYPEINFO_TTL | 24h | Freshness window for cached type info |
STORE_BROWSE_TTL | 5m | Freshness window for cached browse results |
STORE_BATCH_WINDOW | 25ms | How often subscription notifications flush to the store |
STORE_BATCH_MAX_ITEMS | 250 | Max notifications flushed per batch |
STORE_NOTIFY_CHAN_BUFFER | 1024 | Buffer size for incoming subscription notifications |
If the store fails to open (e.g. a stale lock from a prior ungraceful shutdown, or a read-only filesystem), the server logs a warning and keeps running with caching forced off and subscription tools returning an error - every other tool is unaffected.
opcua-mcp collects anonymous, aggregate usage telemetry (which tools get used, cache hit rate, error categories - never node IDs, endpoint URLs, node values, or credentials) to help prioritize maintenance of this open-source project. It's on by default; see docs/telemetry.md for exactly what is and isn't collected.
Opt out with either:
| Variable | Effect |
|---|---|
DO_NOT_TRACK=1 | The cross-project community convention (consoledonottrack.com) |
OPCUA_MCP_TELEMETRY=false | This project's own switch |
docker build -t opcua-mcp .
docker run -p 8080:8080 -e SERVER_TRANSPORT=http -e OPCUA_ENDPOINT=opc.tcp://your-server:4840 opcua-mcp
Multi-stage build on Chainguard's minimal Go image, running from scratch - no shell, small attack surface. Mount ./search_index and ./mcp_opcua_store.db as volumes to persist discovery/cache/subscription state across restarts. Full auth-mode examples, the Compose dev stack, and the Claude-connector tunnel setup are in docs/deployment.md.
make start-opcua-server # Microsoft OPC-UA test server in Docker
make run-with-test-server # run the app against it (auto start/stop)
go test ./... # unit tests go test -race ./... make test-integration # real Subscribe/reconnect/cache behavior via testcontainers-go (needs Docker)
VS Code launch configs are in .vscode/launch.example.json - copy to .vscode/launch.json to get stdio/HTTP/auth debug targets that start and stop the test server automatically. make help lists every available target.
Tests are table-driven and mock the OPC-UA client at the opcuaClient interface seam (internal/opcua/mock_client_test.go) rather than against a live/simulated server - see docs/architecture.md for how the pieces being tested fit together, and docs/COMMIT_CONVENTION.md for this repo's commit messag