Dexwize MCP server and assistant facade
Model Context Protocol server (streamable HTTP transport, stateless) exposing Dexwize findings, device diagnosis, experience scores, recommendations and approved remediation requests to AI agents (ADR-0033). Tokens for the MCP endpoint must carry the MCP resource as audience; tokens for the /v1/assistant facade (Microsoft 365 Copilot plugin) must carry the assistant audience. Neither is accepted on the other surface. Tool results are data-only JSON envelopes. Requests to change endpoint state go through remediation-service policy as the caller.
Version 1.0.0. Download the OpenAPI specification.
Authentication: bearer.
Operations
| Method | Path | Summary |
|---|---|---|
GET | /.well-known/oauth-protected-resource/mcp | OAuth 2.0 protected resource metadata (RFC 9728) for the MCP endpoint |
POST | /mcp | MCP JSON-RPC requests (initialize, tools/list, tools/call, resources/list, resources/read) |
GET | /v1/assistant/devices/{id}/diagnosis | Device diagnosis with experience score and open findings (FindingsRead and DevicesRead) |
GET | /v1/assistant/findings | List findings for the caller's tenant (FindingsRead) |
GET | /v1/assistant/findings/{id} | One finding with its evidence summary (FindingsRead) |
GET | /v1/assistant/scores/fleet | Fleet experience score (ReportsRead) |
GET /.well-known/oauth-protected-resource/mcp
OAuth 2.0 protected resource metadata (RFC 9728) for the MCP endpoint
| Status | Description | Body |
|---|---|---|
| 200 | Metadata | ProtectedResourceMetadata |
POST /mcp
MCP JSON-RPC requests (initialize, tools/list, tools/call, resources/list, resources/read)
Tools are list_findings, get_finding, device_diagnosis, experience_score, list_recommendations and request_remediation. Resources are dexwize://findings/{findingId} and dexwize://scoring/model. A missing or invalid token returns 401 with a WWW-Authenticate header naming resource_metadata.
Request body: JsonRpcMessage (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | JSON-RPC response (application/json or a text/event-stream carrying it) | JsonRpcMessage |
| 401 | Missing token, invalid token or wrong audience |
GET /v1/assistant/devices/{id}/diagnosis
Device diagnosis with experience score and open findings (FindingsRead and DevicesRead)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | Data envelope | ToolEnvelope |
| 403 | Refused, not found or invalid input | object |
| 404 | Refused, not found or invalid input | object |
GET /v1/assistant/findings
List findings for the caller's tenant (FindingsRead)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
status | query | string | no | |
severity | query | string | no | |
limit | query | integer | no |
| Status | Description | Body |
|---|---|---|
| 200 | Data envelope | ToolEnvelope |
| 400 | Refused, not found or invalid input | object |
| 401 | Missing token or wrong audience | |
| 403 | Refused, not found or invalid input | object |
GET /v1/assistant/findings/{id}
One finding with its evidence summary (FindingsRead)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | Data envelope | ToolEnvelope |
| 403 | Refused, not found or invalid input | object |
| 404 | Refused, not found or invalid input | object |
GET /v1/assistant/scores/fleet
Fleet experience score (ReportsRead)
| Status | Description | Body |
|---|---|---|
| 200 | Data envelope | ToolEnvelope |
| 403 | Refused, not found or invalid input | object |