Connect SDK
The official Connect SDK —@routemcp/connect-sdk — lets you embed the provider connection flow in any web app. It ships with both a vanilla JS/TypeScript API and a React component, with no runtime dependencies.
Installation
Vanilla JS / TypeScript
React
Import from the/react subpath:
CDN (no bundler)
For quick prototyping without a build step:Package Details
REST API
The API follows REST conventions and works with any HTTP client:- cURL — command line
- fetch / axios — JavaScript / TypeScript
- requests / httpx — Python
- net/http — Go
- HttpClient — C# / .NET
OpenAPI Spec
The full OpenAPI specification is available for generating custom clients:- Download: openapi.json
- Use with: openapi-generator, Orval, swagger-codegen