إنتقل إلى المحتوى الرئيسي

هذه الصفحة غير متاحة بالعربية بعد، وتُعرض بالإنجليزية.

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​

MethodPathSummary
GET/.well-known/oauth-protected-resource/mcpOAuth 2.0 protected resource metadata (RFC 9728) for the MCP endpoint
POST/mcpMCP JSON-RPC requests (initialize, tools/list, tools/call, resources/list, resources/read)
GET/v1/assistant/devices/{id}/diagnosisDevice diagnosis with experience score and open findings (FindingsRead and DevicesRead)
GET/v1/assistant/findingsList findings for the caller's tenant (FindingsRead)
GET/v1/assistant/findings/{id}One finding with its evidence summary (FindingsRead)
GET/v1/assistant/scores/fleetFleet experience score (ReportsRead)

GET /.well-known/oauth-protected-resource/mcp​

OAuth 2.0 protected resource metadata (RFC 9728) for the MCP endpoint

StatusDescriptionBody
200MetadataProtectedResourceMetadata

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

StatusDescriptionBody
200JSON-RPC response (application/json or a text/event-stream carrying it)JsonRpcMessage
401Missing token, invalid token or wrong audience

GET /v1/assistant/devices/{id}/diagnosis​

Device diagnosis with experience score and open findings (FindingsRead and DevicesRead)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200Data envelopeToolEnvelope
403Refused, not found or invalid inputobject
404Refused, not found or invalid inputobject

GET /v1/assistant/findings​

List findings for the caller's tenant (FindingsRead)

ParameterInTypeRequiredDescription
statusquerystringno
severityquerystringno
limitqueryintegerno
StatusDescriptionBody
200Data envelopeToolEnvelope
400Refused, not found or invalid inputobject
401Missing token or wrong audience
403Refused, not found or invalid inputobject

GET /v1/assistant/findings/{id}​

One finding with its evidence summary (FindingsRead)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200Data envelopeToolEnvelope
403Refused, not found or invalid inputobject
404Refused, not found or invalid inputobject

GET /v1/assistant/scores/fleet​

Fleet experience score (ReportsRead)

StatusDescriptionBody
200Data envelopeToolEnvelope
403Refused, not found or invalid inputobject