Corsair App is the hosted integration layer for AI products. It gives your agents and workflows safe, authenticated access to real-world services like Slack, GitHub, Gmail, Notion, Linear, Google Calendar, and more, without making your team rebuild OAuth, credential storage, tenant isolation, permission checks, MCP servers, or tool execution for every app. If you are building an AI assistant, internal agent, customer-facing copilot, workflow builder, or developer platform, Corsair App handles the integration infrastructure so your product can focus on the user experience.Documentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
Managed authentication
Handle OAuth, API keys, bot tokens, credential storage, tenant scoping, and token lifecycle through one hosted control plane.
Hosted MCP servers
Issue tenant-specific MCP endpoints and secrets that work with MCP-compatible agents and AI frameworks.
Tool execution
Let agents execute plugin operations through MCP, or call operations directly from your backend for deterministic workflows.
Permissions by design
Configure plugin modes and endpoint overrides so risky operations can be allowed, denied, or routed through approval.
Why Corsair App?
AI products need to do more than chat. They need to read issues, send messages, schedule meetings, update CRMs, search files, create tickets, and react to events across the tools people already use. The hard part is rarely the final API call. The hard part is everything around it:- Getting each customer through the right OAuth or API-key flow
- Storing credentials securely per user, team, or workspace
- Making sure one tenant can never use another tenant’s connection
- Translating hundreds of APIs into agent-usable tools
- Giving agents enough discovery power without dumping every tool into context
- Enforcing permissions on destructive or sensitive actions
- Exposing the tools through MCP and SDK integrations
How it works
Corsair App has a simple model:| Concept | What it means |
|---|---|
| Instance | A hosted Corsair environment for one product or deployment, such as production or staging |
| Plugin | An integration your instance enables, such as Slack, GitHub, Gmail, or Linear |
| Tenant | A user, team, organization, or customer workspace inside your product |
| Credential | A tenant’s connected account or an instance-level integration credential |
| MCP key | A tenant-scoped secret and URL that lets an agent use Corsair tools |
Create an instance
An instance is the hosted environment your app connects to. Most products create one instance for production and one for staging.Enable plugins
Install the tools your product should support, then configure default permission modes and endpoint-level overrides.Create tenants
Map your product’s users, teams, or customer workspaces to Corsair tenants so every connection and MCP key is isolated.Connect accounts
Store API keys directly or send users through OAuth. Corsair stores the resulting credentials against the tenant.Give agents access
Create an MCP key for the tenant, or call plugin operations directly with the SDK when your backend already knows the exact action to perform.Who it is for
Corsair App is for teams building products where agents need authenticated access to external apps.AI app builders
Add real actions to assistants, copilots, chat apps, and workflow agents without building one-off integrations.
SaaS teams
Let every customer workspace connect its own accounts while your app keeps credentials, permissions, and execution scoped.
Platform teams
Offer a consistent integration layer across internal products, agent frameworks, and customer-facing automation surfaces.
Automation teams
Run deterministic jobs through the same authenticated plugins your agents use.
What you can build
- A customer support agent that reads Gmail, opens Linear issues, and posts Slack summaries
- A sales copilot that updates HubSpot, schedules follow-ups, and drafts customer emails
- A developer assistant that triages GitHub issues and creates project updates
- A workflow builder where each tenant connects its own tools
- An internal operations agent with strict approvals on destructive actions
- A hosted MCP connection page for users who bring their own AI client
App and SDK
The docs are split into two surfaces:| Surface | Use it for |
|---|---|
| App | Hosted Corsair: instances, tenants, plugin setup, credentials, MCP keys, and direct operation execution |
| SDK | Self-hosted Corsair packages, MCP adapters, concepts, auth models, and framework integration guides |
app.corsair.dev. Use the SDK docs when you want to embed or self-host Corsair directly in your own infrastructure.
What the app manages
Provision instances
Create hosted Corsair instances, inspect status, refresh runtimes, and delete environments when they are no longer needed.
Install plugins
Enable Slack, GitHub, Gmail, Notion, Linear, and the rest of the Corsair catalog with typed plugin IDs and auth options.
Scope tenants
Map your users, teams, or workspaces to Corsair tenants so credentials and MCP keys stay isolated.
Manage credentials
Store shared integration credentials and per-tenant account credentials without building credential tables yourself.
Connect via OAuth
Generate tenant-specific OAuth authorize URLs and let Corsair store the resulting account tokens.
Run operations
Execute catalog operations directly through the server, or hand a tenant-specific MCP URL to an AI client.
When to use the TypeScript SDK
Use@corsair-dev/app from your backend when your product owns provisioning and account lifecycle.
The SDK should run from your backend. It uses a developer API key and can create instances, mutate permissions, manage credentials, and issue tenant MCP keys.
- A SaaS app that creates a Corsair tenant for every customer workspace
- A developer dashboard that lets users connect plugins and rotate credentials
- An agent product that needs per-user MCP URLs and API keys
- Internal tooling that provisions staging and production Corsair instances
- Server jobs that execute plugin operations directly with
tenant.run()
Scope model
Corsair App has three important SDK scopes:| Scope | What it represents | SDK entry point |
|---|---|---|
| Account | Your Corsair developer account and API key | createClient() |
| Instance | A provisioned Corsair environment with installed plugins | corsair.instance(instanceId) |
| Tenant | One user, team, organization, or customer inside an instance | inst.tenant(tenantId) |
Next steps
Quickstart
Install the SDK and create your first instance, plugin, tenant, and MCP key.
Instances and plugins
Learn how to configure plugins, permissions, credentials, and runtime refreshes.
Tenants and auth
Connect customer accounts with API keys or OAuth.
MCP and run
Give agents an MCP endpoint or call plugin operations directly from your backend.