Built-in Plugins
Explore the built-in plugins for GitHub, Gmail, and more
Built-in Plugins
The Integrate SDK comes with several built-in plugins for popular services. Each plugin provides a type-safe interface to the service's tools.
Available Plugins
GitHub Plugin
Create issues, manage PRs, and more
Gmail Plugin
Send emails, manage labels, and search messages
Custom Plugins
Create your own plugins for any service
How Plugins Work
Plugins are the core of the Integrate SDK's architecture. They:
- Define OAuth configuration - Client ID, secret, scopes, and redirect URI
- Specify tools - Which tools from the MCP server to enable
- Provide lifecycle hooks -
onInit,onBeforeConnect,onAfterConnect,onDisconnect - Type safety - Full TypeScript support with IntelliSense
Using Multiple Plugins
You can use multiple plugins together:
import { createMCPClient, githubPlugin, gmailPlugin } from "integrate-sdk";
const client = createMCPClient({
plugins: [
githubPlugin({
clientId: process.env.GITHUB_CLIENT_ID!,
clientSecret: process.env.GITHUB_CLIENT_SECRET!,
}),
gmailPlugin({
clientId: process.env.GMAIL_CLIENT_ID!,
clientSecret: process.env.GMAIL_CLIENT_SECRET!,
}),
],
});Plugin Configuration
All OAuth plugins share a common configuration structure:
{
clientId: string; // OAuth client ID
clientSecret: string; // OAuth client secret
scopes?: string[]; // OAuth scopes (optional, has defaults)
redirectUri?: string; // OAuth redirect URI (optional)
}Next Steps
- Learn about the GitHub Plugin
- Explore the Gmail Plugin
- Create your own Custom Plugins