Expand description
MCP Integrator - Token management and tool exposure Provides McpIntegrator trait and LocalMcp implementation for tool exposure, dual authentication, and MDH translation.
Structs§
- Local
Mcp - MCP integrator with token storage and validation
- MdhResource
- Result of local MDH translation suitable for MCP usage
- Token
Info - 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