How to connect Ai ml api to Claude

Connect Claude Web, Desktop and Cowork to Ai ml api MCP. Check if this image contains unsafe content, summarize this customer chat conversation, and more using natural language, with authentication handled for you.

Ai ml api logoAi ml api
Api Key

Ai ml api is a suite of AI/ML models for natural language and image tasks. It provides fast, scalable access to advanced AI capabilities for your apps and workflows.

30 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Ai ml api account to Claude via Composio Connect, enabling it to check if this image contains unsafe content, summarize this customer chat conversation, generate a polite reply to this message, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

Also integrate Ai ml api with

Connecting Ai ml api to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Ai ml api account

Back in Claude, ask it to connect to Ai ml api or give it any Ai ml api-related task.

For example, ask Claude to:

  • "Check if this image contains unsafe content"
  • "Summarize this customer chat conversation"
  • "Generate a polite reply to this message"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Ai ml api account is ready to use.

What is the Ai ml api Claude Connector, and what's possible with it?

The Ai ml api MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Ai ml api account. It provides structured and secure access to powerful AI/ML models, so your agent can generate text, moderate user content, and automate intelligent workflows on your behalf.

  • Automated content moderation: Instantly classify and filter user-generated text or images using advanced moderation models to keep your platform safe and compliant.
  • Dynamic text generation: Have your agent generate chat responses, write creative copy, or complete conversations using state-of-the-art language models.
  • Context-aware conversation handling: Let your agent analyze conversation history and produce coherent, relevant replies for chatbots or digital assistants.
  • Seamless integration of AI workflows: Combine moderation and text generation tools to build smart, automated pipelines tailored to your product’s needs.

Troubleshooting

1. Why does Claude not use the Composio connector for Ai ml api?

The connector can show as connected, but Claude must use it in each Ai ml api conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Ai ml api again.

2. Why does Claude show an MCP server error before Ai ml api connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Ai ml api.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Ai ml api.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Ai ml api authorization link not work?

The Composio connector is one server. Your Ai ml api account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Ai ml api connection.
  • Composio creates a fresh Ai ml api authorization link.
  • Open that link in your browser and finish the Ai ml api sign-in.

4. Why do Ai ml api actions fail after they worked before?

The Ai ml api connection can expire or lose permission.

  • Ask Claude to inspect the Ai ml api connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Ai ml api account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Ai ml api.
  • If the action still fails with a permission error, check that the connected account has that permission in Ai ml api itself.

5. How do I switch to a different Ai ml api account?

Claude can manage the Ai ml api connection for you.

  • Ask Claude to disconnect or delete the current Ai ml api account.
  • Ask Claude to connect Ai ml api again.
  • Open the new Composio authorization link for Ai ml api.
  • Sign in with the other Ai ml api account in the browser.
  • After the account connects, ask Claude to retry the Ai ml api task.

6. Why is my Ai ml api connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Ai ml api connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click and click Clear cache.
  • If Ai ml api tools still do not appear, click , disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Ai ml api.
TOOLS

Supported Tools

Every Ai ml api action and event your agent gets out of the box.

Cancel Run

Tool to cancel a run that is currently in progress.

Create Assistant

Tool to create an AI assistant with configurable model, instructions, and tools.

Create Message

Tool to create a new message in a thread.

Create Run

Tool to create a run that executes an assistant on a thread.

Create Thread

Tool to create a new thread for conversation with an assistant.

Delete Assistant

Tool to delete an assistant by ID.

Delete Message

Tool to delete a specific message from a thread.

Delete Thread

Tool to delete a thread by its ID.

Get Assistant

Tool to retrieve details of a specific assistant by ID.

Get Billing Balance

Tool to retrieve the current billing balance for the account.

Get Luma Generation

Tool to fetch Luma AI video generation results by generation IDs.

Get Message

Tool to retrieve information about a specific message by its ID.

Get Response by ID

Tool to retrieve a previously generated model response by its unique ID.

Get Run

Tool to retrieve a specific run by ID from a thread.

Get Run Step

Tool to retrieve a specific run step by its ID within a thread and run.

Get Thread

Tool to retrieve information about a specific thread by ID.

List Assistants

Tool to list all assistants associated with the account.

List Batches

Tool to get the status or results of a batch processing job.

List Luma AI Generations

Tool to fetch user's Luma AI video generations.

List Thread Messages

Tool to retrieve a list of messages from a specific thread.

List Models

Tool to list all available AI models from the AI/ML API.

List Models With Details

Tool to list all available AI/ML models with detailed information including pricing, features, and capabilities.

List Runs

Tool to list all runs for a specific thread.

List Run Steps

Tool to list the steps in a run.

Submit Tool Outputs

Tool to submit tool outputs for a run that requires action.

Text Chat Completion

Tool to generate text completions or chat responses using a specified LLM model.

Update Assistant

Tool to modify an existing assistant's properties including name, instructions, model, and tools.

Update Message

Tool to modify metadata for a specific message in a thread.

Update Run

Tool to update a run's metadata with key-value pairs.

Update Thread

Tool to update thread metadata and tool resources in the AI/ML API.

FAQ

Frequently asked questions

With a standalone Ai ml api MCP server, the agents and LLMs can only access a fixed set of Ai ml api tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Ai ml api and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Ai ml api tools.

Yes, absolutely. You can configure which Ai ml api scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Ai ml api data and credentials are handled as safely as possible.

Start with Ai ml api.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Ai ml api tool your agent needs.Free to start.

Start building