Module integrator

Module integrator 

Source
Expand description

MCP Integrator - Token management and tool exposure Provides McpIntegrator trait and LocalMcp implementation for tool exposure, dual authentication, and MDH translation.

Structs§

LocalMcp
MCP integrator with token storage and validation
MdhResource
Result of local MDH translation suitable for MCP usage
TokenInfo
Token information with expiration and permissions

Traits§

McpIntegrator
Unifies MCP operations with dual authentication

Functions§

get_mcp
Get the global MCP instance
mdh_translate
Local-only MDH translate: read JSON file, validate minimal JSON-LD shape, and create URI NOTE: In production we will use json-ld-rs to expand/compact; here we simulate locally