The Composio CLI is the terminal interface for Composio, designed primarily for use inside Claude Code. It lets Claude search for tools, execute them with managed auth, connect apps, run multi-step scripts, and debug Composio projects — all from the command line. Instead of copying API keys and schemas into chat, you give Claude a reliable local tool surface it can operate autonomously.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ComposioHQ/composio/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Download and install the CLI
Run the one-line install script. It detects your platform and architecture automatically, downloads the appropriate binary, installs it to Alternatively, install from npm, pnpm, or yarn:
~/.composio/bin/composio, and adds it to your shell’s PATH.The npm/pnpm/yarn packages install the same CLI but rely on Node.js being present. The curl script installs a standalone binary that runs without any additional runtime.
Log in to Composio
Authenticate with your Composio account. Prefer to log in directly with an existing key? Use the
composio login opens a browser for OAuth and stores your credentials locally.You need a Composio API key (tied to your account) to use the CLI. Sign up at composio.dev if you don’t have one.
composio login handles credential storage automatically — you do not need to manage the key directly.--user-api-key flag:Verify installation
After logging in, confirm that the CLI is working correctly:composio whoami prints your email, current organization, and account type. composio --version prints the installed binary version.
Using inside Claude Code
composio login installs the composio-cli skill for Claude Code by default. This skill tells Claude how to use the CLI to find tools, connect accounts, and run scripts on your behalf.
To install the skill manually at any time, run:
Core workflows
Search tools
Find the right tool by describing what you want to do in natural language. Returns tool slugs, schemas, and suggested next steps.
Execute tools
Run any of Composio’s 1000+ tool integrations directly from the terminal, with automatic input validation and connection checks.
Connect apps
Connect an external account (Gmail, GitHub, Slack, and more) using a browser-based OAuth flow. Composio manages all auth state.
Run scripts
Execute inline TypeScript or a script file with injected globals —
execute(), search(), proxy(), z (Zod), and more — for multi-step workflows and fan-out pipelines.Upgrading
Keep the CLI up to date with theupgrade command:
Getting help
Every command and subcommand supports--help: