{"node":"mcp.rakus.weget.cc","did":"did:web:mcp.rakus.weget.cc","simulation":true,"status":"POC","organisation":"RAKUS (POC)","trust_anchor":"did:web:aimedexchange.pppa.lv:poc-anchor","mcpEndpoints":["https://mcp.rakus.weget.cc/mcp/"],"profile":"LV-MCP-MED-0.1-draft","request_envelope":{"type":"object","description":"Carried in MCP request _meta on every call; verified by the called node before any data is returned.","required":["agent_did","org_did","presentation","purpose","correlation_id"],"properties":{"agent_did":{"type":"string","example":"did:web:rakus.weget.cc:agents:rakus-agt-003"},"org_did":{"type":"string","example":"did:web:rakus.weget.cc"},"presentation":{"type":"string","description":"VP (JWT) containing the ExchangeParticipantCredential of the org and the agent mandate credential issued by the org IdP"},"purpose":{"type":"string","enum":["treatment","administration","procurement","ai_governance","secondary_use"]},"legal_basis_ref":{"type":"string","description":"Code of the declared legal basis, e.g. 'lv.treatment_law', 'consent:<credential-id>'; required when the tool's data_tier is T2 or T3, or the tool's legal_basis_required is true"},"treatment_relationship_ref":{"type":"string","description":"Reference to the encounter/episode establishing the treatment relationship (synthetic in the pilot)"},"correlation_id":{"type":"string","format":"uuid"}}},"errors":[{"code":"DENIED_NO_CREDENTIAL","when":"presentation missing, expired, revoked or issuer not in the trust registry"},{"code":"DENIED_PURPOSE","when":"declared purpose not in the tool's allowed_purposes"},{"code":"DENIED_LEGAL_BASIS","when":"legal_basis_ref missing or not accepted for this tool"},{"code":"DENIED_TREATMENT_RELATIONSHIP","when":"tool requires a treatment relationship and none is referenced"},{"code":"DENIED_DATA_TIER","when":"requested data exceeds the tier permitted in this environment (pilot: T0 only for clinical tools)"},{"code":"NOT_FOUND","when":"no record for the given pseudonym or identifier"}],"tools":[{"name":"rakus.ai_register.list_systems","node":"mcp.rakus.weget.cc","title":"RAKUS MI sistēmu saraksts","description":"IN tool exposed by RAKUS: lists AI systems in the RAKUS AI Register with AI Act category and status (no personal data). Intended callers: supervisory authorities and suppliers with a valid credential.","x-lv-mcp-med":{"clinical_role":"administrative","data_tier":"T1","mode":"read","allowed_purposes":["ai_governance"],"legal_basis_required":false,"treatment_relationship_required":false,"simulation":false},"inputSchema":{"type":"object","properties":{"category":{"type":"string"},"status":{"type":"string","enum":["draft","approved","retired"]}}},"outputSchema":{"type":"object","properties":{"systems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"ai_act_category":{"type":"string"},"status":{"type":"string"}}}}}}}]}