Skip to content

Commit 43e7c1a

Browse files
AgentCopilot
andcommitted
Move incoming McpServer paths wholesale into Opc.Ua.Mcp folder
Upstream's master merge brought in five files that still referenced the pre-rename 'Applications/McpServer/' path even though the actual code (squashed commit 2784cf0) had already renamed the directory to 'Applications/Opc.Ua.Mcp/'. Realign all remaining references: * UA Core Library.slnx — project path. * .azurepipelines/{signlistDebug,signlistRelease}.txt — sign lists. * .azurepipelines/preview.yml — build glob. * .github/agents/opcua-interop-tester.agent.md — server location. * Docs/McpServer.md — install/run snippets + architecture tree. * Applications/Opc.Ua.Mcp/README.md — Claude / VS Code / Cursor config snippets + the Config.xml filename. The runtime log path (McpServer.log.txt under %LocalApplicationData%) is intentionally left as-is to avoid breaking existing rolling logs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 02c2879 commit 43e7c1a

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

.azurepipelines/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
dir /b /s Stack\Opc.Ua*.dll > .\list.txt
8585
dir /b /s Tools\Opc.Ua*.dll >> .\list.txt
8686
dir /b /s Libraries\Opc.Ua*.dll >> .\list.txt
87-
dir /b /s Applications\McpServer\bin\Opc.Ua*.dll >> .\list.txt
87+
dir /b /s Applications\Opc.Ua.Mcp\bin\Opc.Ua*.dll >> .\list.txt
8888
dir /b /s .azurepipelines\*.* >> .\list.txt
8989
type .\list.txt
9090
- task: CmdLine@2

.azurepipelines/signlistDebug.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ Libraries\Opc.Ua.PubSub\bin\Debug\net48\Opc.Ua.PubSub.dll
7878
Libraries\Opc.Ua.PubSub\bin\Debug\net8.0\Opc.Ua.PubSub.dll
7979
Libraries\Opc.Ua.PubSub\bin\Debug\net9.0\Opc.Ua.PubSub.dll
8080
Libraries\Opc.Ua.PubSub\bin\Debug\net10.0\Opc.Ua.PubSub.dll
81-
Applications\McpServer\bin\Debug\net10.0\Opc.Ua.Mcp.dll
81+
Applications\Opc.Ua.Mcp\bin\Debug\net10.0\Opc.Ua.Mcp.dll

.azurepipelines/signlistRelease.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ Libraries\Opc.Ua.PubSub\bin\Release\net48\Opc.Ua.PubSub.dll
7878
Libraries\Opc.Ua.PubSub\bin\Release\net8.0\Opc.Ua.PubSub.dll
7979
Libraries\Opc.Ua.PubSub\bin\Release\net9.0\Opc.Ua.PubSub.dll
8080
Libraries\Opc.Ua.PubSub\bin\Release\net10.0\Opc.Ua.PubSub.dll
81-
Applications\McpServer\bin\Release\net10.0\Opc.Ua.Mcp.dll
81+
Applications\Opc.Ua.Mcp\bin\Release\net10.0\Opc.Ua.Mcp.dll

.github/agents/opcua-interop-tester.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You are an expert OPC UA interoperability test engineer. Your role is to systema
99

1010
## MCP Tools — Primary Test Method
1111

12-
This repository includes an **OPC UA MCP Server** (`Applications/McpServer`) that exposes all OPC UA Part 4 services as MCP tools. **Always prefer using the MCP tools over writing custom C# test code** — they are faster, require no compilation, and cover all standard services.
12+
This repository includes an **OPC UA MCP Server** (`Applications/Opc.Ua.Mcp`) that exposes all OPC UA Part 4 services as MCP tools. **Always prefer using the MCP tools over writing custom C# test code** — they are faster, require no compilation, and cover all standard services.
1313

1414
### When to Use MCP Tools
1515
- **Always** for initial connection, browsing, reading, writing, method calling, subscription testing

Applications/Opc.Ua.Mcp/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Add to your `claude_desktop_config.json`:
3636
"mcpServers": {
3737
"opcua": {
3838
"command": "dotnet",
39-
"args": ["run", "--project", "/path/to/Applications/McpServer/Opc.Ua.Mcp.csproj"]
39+
"args": ["run", "--project", "/path/to/Applications/Opc.Ua.Mcp/Opc.Ua.Mcp.csproj"]
4040
}
4141
}
4242
}
@@ -51,7 +51,7 @@ Add to `.vscode/mcp.json`:
5151
"servers": {
5252
"opcua": {
5353
"command": "dotnet",
54-
"args": ["run", "--project", "/path/to/Applications/McpServer/Opc.Ua.Mcp.csproj"]
54+
"args": ["run", "--project", "/path/to/Applications/Opc.Ua.Mcp/Opc.Ua.Mcp.csproj"]
5555
}
5656
}
5757
}
@@ -107,7 +107,7 @@ Arguments:
107107

108108
## OPC UA Client Configuration
109109

110-
The server uses `McpServer.Config.xml` for OPC UA client configuration, including:
110+
The server uses `Opc.Ua.Mcp.Config.xml` for OPC UA client configuration, including:
111111

112112
- Application certificate settings
113113
- Trust list management

Docs/McpServer.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ After installation, the `opcua-mcp` command is available globally.
7171
### Option 2: Run from source
7272

7373
```bash
74-
cd Applications/McpServer
74+
cd Applications/Opc.Ua.Mcp
7575
dotnet run -c Release
7676
```
7777

7878
### Option 3: Install from local build
7979

8080
```bash
81-
dotnet pack Applications/McpServer/Opc.Ua.Mcp.csproj -c Release
82-
dotnet tool install --global --add-source Applications/McpServer/bin/Release OPCFoundation.NetStandard.Opc.Ua.Mcp
81+
dotnet pack Applications/Opc.Ua.Mcp/Opc.Ua.Mcp.csproj -c Release
82+
dotnet tool install --global --add-source Applications/Opc.Ua.Mcp/bin/Release OPCFoundation.NetStandard.Opc.Ua.Mcp
8383
```
8484

8585
## Configuration
@@ -309,11 +309,11 @@ This is normal behavior — not all servers support all services. Common status
309309
## Architecture
310310

311311
```
312-
Applications/McpServer/
313-
├── McpServer.csproj # .NET 10 project, packaged as dotnet tool
312+
Applications/Opc.Ua.Mcp/
313+
├── Opc.Ua.Mcp.csproj # .NET 10 project, packaged as dotnet tool
314314
├── Program.cs # Entry point, stdio + HTTP/SSE transport
315315
├── OpcUaSessionManager.cs # OPC UA client session lifecycle
316-
├── McpServer.Config.xml # OPC UA client application config
316+
├── Opc.Ua.Mcp.Config.xml # OPC UA client application config
317317
├── .mcp/server.json # MCP server manifest for NuGet discovery
318318
├── Tools/
319319
│ ├── ConnectionTools.cs # GetEndpoints, Connect, Disconnect, GetConnectionStatus

UA Core Library.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Solution>
22
<Folder Name="/Applications/">
33
<Project Path="Applications/Quickstarts.Servers/Quickstarts.Servers.csproj" />
4-
<Project Path="Applications/McpServer/Opc.Ua.Mcp.csproj" />
4+
<Project Path="Applications/Opc.Ua.Mcp/Opc.Ua.Mcp.csproj" />
55
</Folder>
66
<Folder Name="/Libraries/">
77
<Project Path="Libraries/Opc.Ua.Client.ComplexTypes/Opc.Ua.Client.ComplexTypes.csproj" />

0 commit comments

Comments
 (0)