## For AI agents: how to sign up

If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.

Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.

# How to integrate Composio MCP with Grok Build

Connect Grok Build to Composio MCP. Generate a step-by-step workflow plan, check active connections for all toolkits, and more from your terminal, with authentication handled for you.

[Get started for free](https://dashboard.composio.dev/login?utm_source=toolkits&utm_medium=hero&utm_campaign=toolkits-toolkits&utm_content=%2Ftoolkits%2Ftoolkits%2Fcomposio%2Fframework%2Fgrok-build) [Get a demo](/content/contact?utm_source=toolkits&utm_medium=hero&utm_campaign=demo-toolkits&utm_content=%2Ftoolkits%2Ftoolkits%2Fcomposio%2Fframework%2Fgrok-build&subject=Demo+request%3A+Toolkits+integration/index.html)

Composio

No Auth

Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.

25 Tools

Managed auth

### Connect Composio without auth hassles

We manage OAuth, API keys, token refresh, and scopes — you just build.

Try for free [Book a call](/content/contact?utm_source=landing-page&utm_medium=sidebar_cta&utm_campaign=toolkit-framework-sidebar-book-demo&utm_content=composio&cta_placement=toolkit-framework-sidebar-book-demo/index.html)

[Explore the MCP Gateway→](/content/mcp-gateway/index.html)

Markdown

## How to integrate Composio MCP with Grok Build

[Grok Build](https://docs.x.ai/build/overview) is xAI's terminal coding agent. It runs on Grok 4.5, plans its work before it acts, and can run multiple sub-agents in parallel. It also reads Claude Code's MCP configuration, so any server you already have in a `.mcp.json` is picked up with no changes.

In this guide, I will show you how to connect your Composio account to Grok Build through Composio, so it can generate a step-by-step workflow plan, check active connections for all toolkits, download public S3 file to local path, and more without leaving the terminal. Composio holds the OAuth tokens for you, and Grok Build only calls the tools you approve.

## Also integrate Composio with

[ChatGPT Work](/content/toolkits/composio/framework/chatgpt/index.html) [Antigravity](/content/toolkits/composio/framework/antigravity/index.html) [OpenAI Agents SDK](/content/toolkits/composio/framework/open-ai-agents-sdk/index.html) [Claude Agent SDK](/content/toolkits/composio/framework/claude-agents-sdk/index.html) [Claude Code](/content/toolkits/composio/framework/claude-code/index.html) [Claude Cowork](/content/toolkits/composio/framework/claude-cowork/index.html) [Grok Bot](/content/toolkits/composio/framework/grok-bot/index.html) [Codex](/content/toolkits/composio/framework/codex/index.html) [Kimi Code](/content/toolkits/composio/framework/kimi/index.html) [Cursor](/content/toolkits/composio/framework/cursor/index.html) [VS Code](/content/toolkits/composio/framework/vscode/index.html) [OpenCode](/content/toolkits/composio/framework/opencode/index.html) [OpenClaw](/content/toolkits/composio/framework/openclaw/index.html) [Hermes](/content/toolkits/composio/framework/hermes-agent/index.html) [CLI](/content/toolkits/composio/framework/cli/index.html) [Google ADK](/content/toolkits/composio/framework/google-adk/index.html) [LangChain](/content/toolkits/composio/framework/langchain/index.html) [Vercel AI SDK](/content/toolkits/composio/framework/ai-sdk/index.html) [Mastra AI](/content/toolkits/composio/framework/mastra-ai/index.html) [LlamaIndex](/content/toolkits/composio/framework/llama-index/index.html) [CrewAI](/content/toolkits/composio/framework/crew-ai/index.html) [Pydantic AI](/content/toolkits/composio/framework/pydantic-ai/index.html) [AutoGen](/content/toolkits/composio/framework/autogen/index.html)

## Why use Composio over a standalone MCP server?

- **Read and write access.** Composio's Composio integration lets Grok Build take real actions like creating drafts, sending updates, and labeling records, not just reading data.
- **1,000+ SaaS toolkits out of the box.** One endpoint gives you a full catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- **One MCP server for every app.** Wire up a single Composio server instead of maintaining a separate MCP entry for each app.
- **Smart, context-aware tool loading.** Grok Build caps how many tools it holds in a single request. Composio loads only the tools a task needs, so you do not spend that budget on tools you are not using.
- **Cross-app automation.** Chain actions across apps in one run. Pull a thread, summarize it in Notion, and post the highlights to Slack from a single prompt.

## Prerequisites

- **Grok Build installed and signed in.** Install with `curl -fsSL https://x.ai/cli/install.sh | bash` on macOS or Linux, or `irm https://x.ai/cli/install.ps1 | iex` on Windows PowerShell. On first launch Grok opens a browser to authenticate; for headless or CI use, set an `XAI_API_KEY` environment variable instead (create the key at [console.x.ai](https://console.x.ai/)).
- **Access to the Composio account** you want to connect.
- **The [Composio MCP endpoint](https://dashboard.composio.dev/login?utm_source=toolkits&utm_medium=framework_template&utm_campaign=grok-build&utm_content=composio_connect).** Composio's server is remote and hosted, so there is nothing to run locally and no tunnel to set up.

## Step-by-step: Connect Composio to Grok Build

### **1\. Install and verify Grok Build**

Install the CLI, then restart your shell so the `grok` binary lands on your PATH:

```bash
curl -fsSL https://x.ai/cli/install.sh | bash
which grok
```

On Windows, install with PowerShell instead: `irm https://x.ai/cli/install.ps1 | iex`. If `which grok` returns a path, you are set. Grok Build runs on Grok 4.5 by default; you can switch models inside the session with `/model <name>`.

### **2\. Add the Composio server**

Add Composio as a remote HTTP MCP server with the `grok mcp add` command:

```bash
grok mcp add --transport http composio https://connect.composio.dev/mcp
```

You can also add and manage servers from inside a session. Run `/mcps` to open the extensions modal on the MCP tab, then add a new server and paste the Composio URL. Added this way, Grok auto-detects the name from the URL and lists the server as `connect`:

```bash
https://connect.composio.dev/mcp
```

Grok also reads Claude Code-style config, so an entry in `~/.grok/config.toml` or a project `.mcp.json` works the same way.

### **3\. Authenticate**

Composio uses OAuth. In the `/mcps` modal, select the Composio server and press `i` to authenticate (Grok also triggers this browser flow automatically the first time it uses a Composio tool). Click **Allow** to authorize access. Grok stores the tokens under `~/.grok/mcp_credentials.json`, and `/mcps` shows Composio as connected.

### **4\. Start building**

Ask Grok to work with your Composio account through Composio. On the first Composio action, Composio prompts you to connect the account through OAuth. Approve the scopes once, and Composio handles token refresh from there.

## What you can do after connecting Composio

- Generate a step-by-step workflow plan
- Check active connections for all toolkits
- Download public S3 file to local path
- Show tool dependencies for workflow setup

## Security + privacy notes (important)

- **Use least-privilege access.** Grant only the Composio scopes you actually need.
- **Review OAuth scopes before approving.** Check that the requested scopes match what you expect Composio and Grok Build to do.
- **Keep write actions human-reviewed.** Grok Build proposes a plan before it acts. Leave that approval step on for actions like sending messages or editing records.
- **Keep secrets out of version control.** Your `XAI_API_KEY` and any tokens should never be committed. Use environment variables or a secrets manager.

TOOLS

## Supported Tools

Every Composio action and event your agent gets out of the box.

Tools25

Check multiple active connections

Check active connection status for multiple toolkits or specific connected account ids.

Create Plan

This is a workflow builder that ensures the LLM produces a complete, step-by-step plan for any use case.

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 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.

Get required parameters for connection

Gets the required parameters for connecting to a toolkit via initiate connection.

Get response schema

Retrieves the response schema for a specified composio tool.

Initiate connection

Initiate a connection to a toolkit with comprehensive authentication support.

List toolkits

List all the available toolkits on composio with filtering options.

List triggers

List available triggers and their configuration schemas.

Manage connections

Create or manage connections to user's apps.

Multi Execute Composio Tools

Fast and parallel tool executor for tools discovered through COMPOSIO_SEARCH_TOOLS.

Run bash commands

Execute bash commands in a REMOTE sandbox for file operations, data processing, and system tasks.

Execute Code remotely in work bench

Process **REMOTE FILES** or script BULK TOOL EXECUTIONS using Python code IN A REMOTE SANDBOX.

Search Composio Tools

Tool Server Info: Composio connects 500+ apps—Slack, GitHub, Notion, Google Workspace (Gmail, Sheets, Drive, Calendar), Microsoft (Outlook, Teams), X/Twitter, Figma, Web Search / Deep research, Browser tool (scrape URLs, browser automation), Meta apps (Instagram, Meta Ads), TikTok, AI tools like Nano Banana & Veo3, and more—for seamless cross-app automation.

Wait for connection

Wait for connections to be established for given toolkits.

Check active connection (deprecated)

Deprecated: use check active connections instead for bulk operations.

Create / Update Recipe from Workflow

Convert executed workflow into a reusable notebook.

Execute Recipe

Executes a Recipe

Create / Update Recipe from Workflow

Convert the executed workflow into a recipe using Python Pydantic code.

Get Recipe Details by Slug

Get the details of an existing recipe by its slug.

Get Existing Recipe Details

Get the details of the existing recipe for a given recipe id.

Wait for connection

Wait for user auth to finish.

Get Tool Schemas

Retrieve input schemas for tools by slug.

FRAMEWORKS

## How to build Composio MCP Agent with another framework

**ChatGPT Work**  
Use Composio MCP with ChatGPT Work](/content/toolkits/composio/framework/chatgpt/index.html)   
**Antigravity**  
Use Composio MCP with Antigravity](/content/toolkits/composio/framework/antigravity/index.html)   
**OpenAI Agents SDK**  
Use Composio MCP with OpenAI Agents SDK](/content/toolkits/composio/framework/open-ai-agents-sdk/index.html)   
**Claude Agent SDK**  
Use Composio MCP with Claude Agent SDK](/content/toolkits/composio/framework/claude-agents-sdk/index.html)   
**Claude Code**  
Use Composio MCP with Claude Code](/content/toolkits/composio/framework/claude-code/index.html)   
**Claude Cowork**  
Use Composio MCP with Claude Cowork](/content/toolkits/composio/framework/claude-cowork/index.html)   
**Grok Bot**  
Use Composio MCP with Grok Bot](/content/toolkits/composio/framework/grok-bot/index.html)   
**Codex**  
Use Composio MCP with Codex](/content/toolkits/composio/framework/codex/index.html)   
**Kimi Code**  
Use Composio MCP with Kimi Code](/content/toolkits/composio/framework/kimi/index.html)   
**Cursor**  
Use Composio MCP with Cursor](/content/toolkits/composio/framework/cursor/index.html)   
**VS Code**  
Use Composio MCP with VS Code](/content/toolkits/composio/framework/vscode/index.html)   
**OpenCode**  
Use Composio MCP with OpenCode](/content/toolkits/composio/framework/opencode/index.html)   
**OpenClaw**  
Use Composio MCP with OpenClaw](/content/toolkits/composio/framework/openclaw/index.html)   
**Hermes**  
Use Composio MCP with Hermes](/content/toolkits/composio/framework/hermes-agent/index.html)   
**CLI**  
Use Composio MCP with CLI](/content/toolkits/composio/framework/cli/index.html)   
**Google ADK**  
Use Composio MCP with Google ADK](/content/toolkits/composio/framework/google-adk/index.html)   
**LangChain**  
Use Composio MCP with LangChain](/content/toolkits/composio/framework/langchain/index.html)   
**Vercel AI SDK**  
Use Composio MCP with Vercel AI SDK](/content/toolkits/composio/framework/ai-sdk/index.html)   
**Mastra AI**  
Use Composio MCP with Mastra AI](/content/toolkits/composio/framework/mastra-ai/index.html)   
**LlamaIndex**  
Use Composio MCP with LlamaIndex](/content/toolkits/composio/framework/llama-index/index.html)   
**CrewAI**  
Use Composio MCP with CrewAI](/content/toolkits/composio/framework/crew-ai/index.html)   
**Pydantic AI**  
Use Composio MCP with Pydantic AI](/content/toolkits/composio/framework/pydantic-ai/index.html)   
**AutoGen**  
Use Composio MCP with AutoGen](/content/toolkits/composio/framework/autogen/index.html)

MORE TOOLKITS

## Explore Other Toolkits

[Toolkit marketplace](/content/site-root.html)
