Integrations
Once your app is online (see Quickstart), install the SDK to call third-party APIs without managing OAuth yourself. Users connect their accounts on the Leash dashboard once; every app in the org gets typed access on their behalf.
Each provider below has its own reference page with the full tool list. For the wiring story end-to-end, see Building with Leash.
REST providers
Full typed methods in the SDK, fastest execution.
| Name | SDK module | Tools | Description |
|---|---|---|---|
| Gmail | integrations.gmail | 6 tools | Send emails, search messages, manage labels |
| Google Calendar | integrations.calendar | 4 tools | List, create, and manage calendar events |
| Google Drive | integrations.drive | 7 tools | List, search, upload, and download files |
MCP providers
Auto-generated typed methods from MCP server definitions, executed via the MCP runner.
| Name | SDK module | Tools | Description |
|---|---|---|---|
| HubSpot | integrations.hubspot | 21 tools | Manage contacts, deals, companies, and tickets |
| Slack | integrations.slack | 8 tools | Send messages, read channels, manage conversations |
| Linear | integrations.linear | 24 tools | Create and manage issues, projects, and teams |
| Jira | integrations.jira | 5 tools | Manage issues, boards, sprints, and projects |
| GitHub | integrations.github | 26 tools | Repos, issues, pull requests, and code search |
| Gong | integrations.gong | 12 tools | Call recordings, transcripts, and deal intelligence |
| BigQuery | integrations.bigquery | 1 tool | Run SQL queries on Google BigQuery |
| Slite | integrations.slite | 6 tools | Search and manage documentation |
| Brave Search | integrations.braveSearch | 2 tools | Web and local search |
| Filesystem | integrations.filesystem | 14 tools | Read, write, and manage files |
| Memory | integrations.memory | 9 tools | Knowledge graph for persistent memory |
| Puppeteer | integrations.puppeteer | 7 tools | Browser automation and screenshots |
Typical usage
Inside an API route — credentials are auto-resolved from the calling user's connection or from the org's configured client.
import { Leash } from '@leash/sdk/leash'export async function GET(req: Request) {const leash = new Leash({ request: req })// REST integrationconst messages = await leash.integrations.gmail.listMessages({ maxResults: 5 })// MCP integrationconst { issues } = await leash.integrations.linear.listIssues({ teamId: 'ENG' })return Response.json({ messages, issues })}
The TypeScript SDK (@leash/sdk) is the reference implementation of the 0.4 Leash() client shape. Python, Go, Ruby, Java, and Rust SDKs are tracking the same shape — aspirational samples shown here; separate parity tickets track each language SDK rebuild.
Need something not on this list?
Register your own MCP server (internal tools, third-party MCPs we haven't shipped yet, anything that speaks the MCP protocol).
- Custom MCP cookbook — register an Intercom or in-house MCP server
- SDK reference for custom MCP servers
- Custom OAuth providers — bring your own OAuth client when the upstream isn't MCP