Bridges Model Context Protocol tool calls to JSON-RPC functions over Unix sockets, providing secure, context-based scoping for multi-tenant server deployments.
MCP Host RPC Bridge is a robust Node.js library designed to seamlessly connect Model Context Protocol (MCP) tool calls to your backend JSON-RPC functions. It leverages secure Unix socket connections and offers advanced context-based scoping with JWT authentication, making it ideal for multi-tenant MCP server deployments. Developers can easily define and register tools with detailed input schemas, which are then routed to their respective handlers, receiving a verified context object for secure, user-specific operations. This bridge simplifies the creation of secure and scalable MCP tool integrations, ensuring that functions operate within the appropriate user or tenant context.