Bridges Model Context Protocol tool calls to JSON-RPC functions over Unix sockets, providing secure, context-based scoping for multi-tenant server deployments.
Sponsored
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.
Características Principales
01Simplified Host API for setting up RPC servers
02JWT-secured context-based scoping for user and tenant isolation
03Reliable Unix domain socket communication for tool calls
04Built-in JWT authentication with automatic verification
05Dynamic registration of RPC functions and flexible tool sets
061 GitHub stars
Casos de Uso
01Building secure, multi-tenant MCP servers with context-aware tool execution
02Integrating Model Context Protocol tools with existing Node.js backend logic via JSON-RPC
03Defining and validating tool inputs using JSON Schema or Zod for robust API interactions