Files
UA-.NETStandard/.mcpgraderc.json
Copilot 16dd14f420 Improve MCP server coverage and agent usability (#4080)
## Summary

- Expand deterministic MCP coverage across host startup, sessions,
configuration, NodeSet export, PKI, packet diagnostics, and PubSub.
- Fix Streamable HTTP startup by supplying the OPC UA client application
identity.
- Add client-visible required-argument errors and normalize generated
tool schemas with explicit `required` arrays.
- Introduce bounded `core`, `services`, `administration`, `pubsub`, and
`diagnostics` tool profiles while retaining `full` as the current-major
default.
- Split configuration updates into focused transport, client, and
security tools while retaining `SetConfiguration` in the `full`
compatibility profile.
- Improve tool descriptions/examples and add pinned, deterministic
`mcpgrade` static/probe CI.

## Compatibility and behavior

- Existing stdio clients continue to receive the `full` catalog by
default.
- Streamable HTTP is exposed at `/mcp`; the previous root route is
intentionally removed.
- `--transport http` is preferred; `--transport sse` remains a
deprecated current-major alias.
- Diagnostics decode/replay/key tools remain behind the existing
explicit security gate.
- N002 is disabled only for documented OPC UA standard and
compatibility-sensitive name pairs.

## Validation

- Release analyzer build: 0 warnings and 0 errors.
- MCP tests: 276/276 passed with focused Coverlet collection.
- MCP coverage: 82.73% lines, 78.96% branches.
- MCP patch coverage: 94.79% lines (291/307 changed coverable lines).
- `core`: 15 tools, mcpgrade A/100, zero findings.
- `full`: 78 tools, mcpgrade A/100; only documented T001, T004, and S007
findings remain.
- Full stdio probe: zero C003/C004 findings.

Fixes #4079

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Marc Schier <marcschier@hotmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Marc Schier <marcschier@users.noreply.github.com>
Copilot-Session: bb615463-338e-4bbb-9779-5bf6780b8b47
2026-07-24 20:23:04 +02:00

6 lines
34 B
JSON