Your company already runs an MCP server. You can plug it into Composio sessions as a toolkit.
Register its URL and auth mode, and it shows up as CUSTOM_ACME next to Gmail and GitHub, for one user or all of them.
A customer uploads a sales CSV and wants a report by region.
Put the CSV on the session's experimental file mount. Your agent reads it in the sandbox and writes a report to the same mount. Your app downloads the report as a file.
If your agent speaks MCP, a Composio session can give it an MCP URL instead of SDK tools.
Add mcp: true when you create the session. The URL and https://t.co/xFch3bacHs() are backed by the same session: same tools, same auth, same connected accounts.
No Composio tool for the endpoint you need? Call the endpoint anyway.
Proxy execute sends your request to the app's API, and Composio attaches the user's credentials on its side. You write the path and the method. Your code never sees a token.
A user pastes a public URL into your agent. You can scrape it without asking them for a Firecrawl key.
Enable experimental Instant Tools for your project. Eligible calls on Composio's Firecrawl account charge your org's prepaid balance.
Moving to Composio doesn't mean asking every user to reconnect.
If you already hold their API keys, create connected accounts from them directly, and they're active right away. Imported OAuth tokens work too, but then refreshing them is on you.
Composio tool schemas change when the underlying APIs change, so toolkits are versioned, like 20251027_00.
Sessions pick versions for you. If you call tools.execute() directly, pin a version so a schema update can't change your agent's behavior overnight.
A Composio trigger lets your agent react to events in a user's apps: a new email, a new issue, a moved meeting.
Composio hears about the event from the app's webhook when it can, or by polling when it can't. Either way, it POSTs the same signed payload to your URL.
When your agent needs a user's Gmail, it can post a sign-in link right in the chat.
That's a Composio Connect Link. The user signs in on a hosted page, Composio runs the OAuth flow, and the tokens never pass through your app or the model. Then the agent retries the tool.
Composio asks for sensible default OAuth scopes. To ask for fewer or different ones, set them on an auth config and pass that config to the session.
Two gotchas: the scopes do nothing until a session uses the config, and they only apply to new connections.
By default, Composio connects your users through its own OAuth apps, so you have nothing to register.
Bring your own app when you want your name on the consent screen, your own scopes, or your own rate-limit quota. Composio stores and refreshes the tokens either way.
Loading every tool schema into your agent's prompt stops working after a few apps.
A Composio session gives the agent a handful of meta tools instead. It searches for the tool it needs, connects the account if it has to, then runs it. App schemas load only when they're used.
Your user has a work Gmail and a personal Gmail. Both can live under the same user_id.
Turn on multi-account mode for the session and give each connection an alias. The agent picks work-gmail or personal-gmail by name.
Learn the session first. Everything else in Composio hangs off it.
composio.create(userId) scopes four things for one of your users: the tools the agent can reach, how it signs in, whose accounts it uses, and the logs and files of the task.
One conversation, one session.