Introduction
A type-safe TypeScript SDK for connecting to the Integrate MCP server
Integrate SDK
A type-safe TypeScript SDK for connecting to the Integrate MCP (Model Context Protocol) server. Access GitHub, Gmail, Notion, and other integrations through a simple, plugin-based API.
Server: https://mcp.integrate.dev/api/v1/mcp
What is this SDK?
This SDK is a client library that connects to the Integrate MCP server to access various third-party integrations.
Key concepts:
- Connect to the Integrate MCP server - The SDK connects to
https://mcp.integrate.dev/api/v1/mcp - Configure OAuth credentials - You provide your own OAuth app credentials for each integration (GitHub, Gmail, etc.)
- Call tools - Execute actions like creating GitHub issues, sending emails, searching Notion pages
- OAuth flow happens server-side - The SDK sends your OAuth config to the server, which handles the actual authentication flow
Important: You need to create your own OAuth apps (e.g., GitHub OAuth app, Google OAuth app) and provide the credentials to the SDK. The SDK does not provide OAuth credentials.
Features
- 🔌 Plugin-Based Architecture - Enable only the integrations you need
- 🔒 Type-Safe - Full TypeScript support with IntelliSense
- 🌊 Real-time Communication - HTTP streaming with NDJSON
- 🔐 OAuth Ready - Configure OAuth credentials for each provider
- 🛠️ Extensible - Create custom plugins for new integrations
- 📦 Zero Dependencies - Lightweight implementation
Get Started
Installation
Install the SDK in your project
Quick Start
Get up and running in minutes
Built-in Plugins
Explore GitHub, Gmail, and other plugins
Vercel AI SDK
Integrate with Vercel AI SDK
How It Works
- Client Configuration: You configure the SDK with plugins for the integrations you want to use (GitHub, Gmail, etc.)
- Connection: The SDK connects to
https://mcp.integrate.dev/api/v1/mcpusing HTTP streaming (NDJSON) - Tool Discovery: The SDK fetches available tools from the server and filters them based on your enabled plugins
- OAuth Configuration: Your OAuth credentials are stored in the client configuration (not sent to the server yet)
- Tool Calls: When you call a tool, the SDK sends a JSON-RPC request to the server
- OAuth Flow: The server uses your OAuth configuration to authenticate and execute the tool
Server Information
- Endpoint:
https://mcp.integrate.dev/api/v1/mcp - Protocol: MCP (Model Context Protocol) over HTTP streaming
- Format: Newline-delimited JSON (NDJSON)
- Methods:
initialize,tools/list,tools/call