Composio

Composio

Composio enables AI Agents and LLMs to authenticate and integrate with various tools via function calling.

4005VIEWS
359USERS

Install MCP Server

Paste and run this command in your terminal to set up Cursor with MCP

npx @composio/cli add cursor --app composionpx @composio/cli add cursor --app composionpx @composio/cli add cursor --app composionpx @composio/cli add cursor --app composio

After running the command, restart Cursor to start using the MCP Server.

Available Tools

Ask Oracle

Static helper that returns a comprehensive system prompt describing how to plan and execute tasks using the available composio tools and workflows. no inputs required; simply call to retrieve the prompt. always call this after the search tool is executed -- it will provide the best context on how to proceed, chain tools, and execute the task end-to-end. relevant tools referenced by the prompt: 1. composio search tools 2. composio multi execute tool 3. composio execute code 4. composio manage connections 5. composio bash tool

Call Stored Function

Execute a stored function with provided parameters. this tool: 1. retrieves the function from storage 2. validates parameters against the function schema 3. executes the function in a sandboxed environment 4. returns the execution result 5. logs the execution for analytics functions are executed with: - access to composio tools via run composio tool() - state management for stateful functions - proper error handling and timeout management

Check Active Connection (deprecated)

Deprecated: use check active connections instead for bulk operations. check active connection status for a toolkit or specific connected account id. returns connection details if active, or required parameters for establishing connection if none exists. active connections enable agent actions on the toolkit.

Check Multiple Active Connections

Check active connection status for multiple toolkits or specific connected account ids. returns connection details if active, or required parameters for establishing connection if none exists. active connections enable agent actions on toolkits.

Create Function From Workflow

Convert an executed workflow into a reusable function/api. this tool allows you to: 1. save successful agent executions as reusable functions 2. create custom apis from workflow patterns 3. version and manage your functions 4. share functions with others (when published) the created function can be: - called using the call function tool - updated using the update function tool - published as a public api endpoint - scheduled for periodic execution note: the llm should generate the workflow code parameter based on the executed workflow, converting the sequence of tool calls into a clean, reusable python function.

Create Plan

This is a workflow builder that ensures the LLM produces a complete, step-by-step plan for any use case. You MUST always call this tool after COMPOSIO_SEARCH_TOOLS or COMPOSIO_MANAGE_CONNECTIONS to get a proper execution plan for the user's use case. If the user pivots to a different use case in same chat, you MUST call this tool again with the new use case. Memory Integration: - You can choose to add the memory received from the search tool into the known_fields parameter of the plan function to enhance planning with discovered relationships and information. Outputs a complete plan with sections such as "workflow_steps", "complexity_assessment", "decision_matrix", "failure_handlig" "output_format", and more as needed. If you skip this step, workflows will likely be incomplete, or fail during execution for complex tasks. Calling it guarantees reliable, accurate, and end-to-end workflows aligned with the available tools and connections.

Delete Function

Delete or archive a stored function. this tool allows you to: 1. archive functions (soft delete - can be restored) 2. permanently delete functions (cannot be restored) 3. clean up test or unused functions safety features: - functions with execution history require confirmation - archived functions can be restored using update function - only function owners can delete their functions

Download S3 File

Download a file from a public s3 (or r2) url to a local path.

Enable Trigger

Enable a specific trigger for the authenticated user.

Execute Agent

Execute complex workflows using ai agent reasoning between multiple tool calls. use this for: complex multi-step workflows requiring reasoning, error handling and retry logic. use composio multi execute tool instead for: simple parallel operations, batch operations on similar data (e.g., fetch 5 emails, get 10 sent messages, retrieve multiple user profiles), independent tool calls that don't need each other's results, or bulk operations where all parameters are known upfront. performance: agent calls add ~2-3 seconds overhead. use for workflows >3 tools or requiring conditional logic. avoid for simple parameter passing.

Execute Composio Tool

Execute a tool using the composio api.

Get Tool Dependency Graph

Get the dependency graph for a given tool, showing related parent tools that might be useful. this action calls the composio labs dependency graph api to retrieve tools that are commonly used together with or before the specified tool. this helps discover related tools and understand common workflows.

Get Function Schema

Retrieve the schema and details of a stored function. this tool provides: 1. function metadata and configuration 2. input/output schemas for validation 3. execution statistics and history 4. usage examples and documentation 5. source code (optional) use this to: - understand what a function does before calling it - get parameter requirements and types - check function status and availability - view execution statistics

Get Required Parameters For Connection

Gets the required parameters for connecting to a toolkit via initiate connection. returns the exact parameter names and types needed for initiate connection's parameters field. supports api keys, oauth credentials, connection fields, and hybrid authentication scenarios. if has default credentials is true, you can call initiate connection with empty parameters for seamless oauth flow.

Get Response Schema

Retrieves the response schema for a specified composio tool. this action fetches the complete response schema definition for any valid composio tool, returning it as a dictionary that describes the expected response structure.

Initiate Connection

Initiate a connection to a toolkit with comprehensive authentication support. supports all authentication scenarios: 1. composio default oauth (no parameters needed) 2. custom oauth (user's client id/client secret) 3. api key/bearer token authentication 4. basic auth (username/password) 5. hybrid scenarios (oauth + connection fields like site name) 6. connection-only fields (subdomain, api key at connection level) 7. no authentication required automatically detects and validates auth config vs connection fields, provides helpful error messages for missing parameters.

List Functions

List and search available stored functions. this tool helps you: 1. discover your created functions 2. find public functions from other users 3. filter by status, type, tags, or toolkit 4. search by name or description 5. sort by various criteria use cases: - find all your active functions - discover public github automation functions - search for specific functionality - view most-used functions - check archived functions

List Toolkits

List all the available toolkits on composio with filtering options.

List Triggers

List available triggers and their configuration schemas.

Manage Connection

Manage a connection to a toolkit with comprehensive authentication support. supports all authentication scenarios: 1. composio default oauth (no parameters needed) 2. custom oauth (user's client id/client secret) 3. api key/bearer token authentication 4. basic auth (username/password) 5. hybrid scenarios (oauth + connection fields like site name) 6. connection-only fields (subdomain, api key at connection level) 7. no authentication required automatically detects and validates auth config vs connection fields, provides helpful error messages for missing parameters. notifies properly if a connection already exists or if authentication params are required from the user.

20 actions available