For the complete documentation index, see llms.txt. This page is also available as Markdown.

Composio Integration

Composio integration: obtain an MCP Server URL from the Composio MCP directory, connect third-party accounts, and create MCP tools in MaiAgent for Agents to use.

This guide walks you through obtaining and configuring an MCP (Model Context Protocol) server URL from Composio so that your Agents in MaiAgent can use the MCP Server services provided by Composio.

✅ Prerequisites

  • You have a Composio account.

  • You want to integrate Composio tools into your Agents in MaiAgent.

🌐 Step 1: Visit the Composio MCP Directory

  1. Open your web browser and follow the link to the Composio MCP Tool Directory:

    • This page lists the tools and applications that Composio provides for integration with Agents.

Overview of the Composio MCP directory page
The Composio MCP directory lists many applications and tools available for integration

🔑 Step 2: Sign In to Your Account

  1. Find and click the "Sign in" button in the upper-right corner of the Composio MCP directory page.

  2. Sign in with your Composio account.

    • If you do not have a Composio account yet, complete the registration process first.

Location of the Composio MCP sign-in button
Click the "Sign in" button in the upper-right corner of the page to sign in to your account
  1. After you sign in, the page updates to your personalized MCP Dashboard, displaying all the tools and applications available to you.

Location of the Composio MCP sign-in button
Composio MCP Dashboard

👆 Step 3: Select the Tools/Applications You Need

  1. In the Composio MCP Dashboard, browse or search for the tools or applications you want your Agent to use (such as Google Drive, Slack, Jira, GitHub, etc.).

Using Google Calendar as an example:

🔐 Step 4: Create a Server and Connect an Account

  1. After finding a tool, authorize an account connection before you can enable the tool.

Click "+Create Server"

  1. Name the Server, then click "Next"

  1. The service's authorization window opens. Confirm that you want to grant Composio access.

  • For example, for a Google service, select the Google account you want to authorize and confirm the requested permissions.

  • This step is required because Composio needs your authorization to perform operations on your behalf.

Click "Connect". After authorization is complete, you are redirected to the Composio platform

  1. Select the tools you want to authorize, then click "Create Server" to create the connection

  • Important note: In Configure Actions, select the features users will actually use. If you have no specific requirements, you can select all actions.

🔗 Step 5: Copy the MCP Server URL

  1. After the Server is set up, the system creates a dedicated MCP server for you.

We recommend switching to HTTP Stream (Streamable HTTP). MaiAgent also supports SSE, but uses SSE only when the URL path ends with /sse, contains /sse/, or the query string includes transport=sse. All other URLs use Streamable HTTP.

  1. In the "MCP Server Created" window, copy the URL from the HTTP Stream tab (in the format https://mcp.composio.dev/composio/server/<server-id>/mcp?...), then go to MaiAgent.

💻 Step 6: Create an MCP Tool in MaiAgent

Add an MCP tool in MaiAgent and paste the Composio MCP server URL you copied in Step 5 into the URL field under "Or enter directly (No authentication / Service Account)". This URL already contains Composio authorization, so leave "Headers (JSON)" as {}. Next, click "Fetch again". Under "Allowed tools (JSON array)", use the toggle to the right of each tool to select the tools your Agent can access, then save.

For the complete steps and field descriptions, see Create an MCP Tool: MCP Server URL in the user manual.

⚠️ Notes

  • URL privacy: The generated MCP Server URL itself contains your Composio authorization. Anyone who obtains it can call tools using your account. Do not disclose it.

  • All users share the same account: All users who chat through this Agent perform operations using the account you authorized in Composio. For services tied to personal accounts (personal mailboxes or calendars), use only internal Agents, or use MaiAgent's OAuth connectors with individual contact authorization. See Remote MCP Service Overview: Limitations and Notes.

  • New actions are not enabled automatically: If you add actions in Composio later, return to the tool settings in MaiAgent, click "Fetch again", and enable them before your Agent can use them.

  • Multiple tools: If you need to integrate several applications (for example, Google Drive and Slack together), you may need to repeat Steps 3 through 5 in the Composio MCP directory for each application to obtain its MCP server URL, then configure separate tools in MaiAgent and assign them to your Agent.

  • Composio documentation: Composio's interface or workflow may change. Refer to the latest official Composio documentation for the most accurate information.

Last updated

Was this helpful?