mcprouter
Public documentation preview — incomplete. This draft covers only part of the planned SDK documentation. @surf-lab/mcprouter and its optional AI SDK peers remain private and unpublished; no public install, release qualification or live-provider compatibility is claimed. Start with the development-candidate requirements.
@surf-lab/mcprouter is a private, unpublished Node.js ESM package at 0.0.0-development. These pages describe a development candidate, not a publicly available npm release or a hosted router. You need a maintainer-supplied, verified archive to follow the installation guide.
The router separates finding tools from permission to call them. Your application supplies trusted context, policy, servers and (if needed) model adapters. No model preference, tool description or ranking score grants execution.
For the shared database/billing example, begin at models, servers and trusted policy, then assign models to servers and tools. Or compare the integration paths.
Before connecting services, read security and trust boundaries. Look up the Router methods and outcomes and errors while building a host integration.
These starter pages cover only part of the planned documentation. Transport operations, the complete public type reference, nine tested example families, hosted privacy/search checks and release approval remain outstanding. No live provider or MCP service is supplied by the documentation site.
