Expand description
rmcp adapter: exposes the tool/resource/prompt layer over MCP and builds
the Streamable HTTP tower service mounted on the admin router.
Structsยง
- McpServer
- The MCP server: a cheap handle over the shared state.
Constantsยง
- INSTRUCTIONS ๐
- Orientation sent to every client at
initialize.
Functionsยง
- build_
service - Builds the tower service to mount at
admin.mcp.path. Host validation is disabled (agents reach the admin listener by any name; our own middleware enforcesOrigin), sessions are rmcpโs default in-memory manager. - error_
result ๐ - principal ๐
- The principal the bearer middleware attached to this HTTP request.
- tool_
from_ ๐def - tools_
obj ๐