How to connect AI/ML API with ChatGPT

Connect ChatGPT to AI/ML API MCP. Compare ai models for a coding task, run ocr on this scanned invoice, and more using natural language, with authentication handled for you.

AI/ML API MCP logoAI/ML API MCP
Dcr Oauth

AI/ML API MCP is a unified gateway to hundreds of AI models and generation APIs. It gives teams one place to compare models, run multimodal jobs, and track usage.

25 Tools

How to connect AI/ML API MCP with ChatGPT

ChatGPT can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.

In this guide, I will explain the easiest and most secure way to connect your AI/ML API account to ChatGPT via Composio Connect, so it can browse models, compare capabilities, run generations, track jobs, and check usage through natural language commands without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate AI/ML API MCP with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's AI/ML API integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 2,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect AI/ML API to ChatGPT

1. Install the Composio plugin

Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.

Install in ChatGPT

Composio plugin page in ChatGPT with the Install plugin button

You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.

2. Authenticate

After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.

Composio login and Allow access screen for ChatGPT

3. Start using Composio

That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread AI/ML API messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize AI/ML API.

Option 2: Add Composio as an MCP server

If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.

1. Open the MCP settings

In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.

ChatGPT settings showing the Plugins page with the MCP tab selected

2. Add the server

Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT Add server dialog with the name Composio, type Streamable HTTP, and the Composio MCP URL

Then click Save. The Composio server now appears in your MCP plugins list.

ChatGPT Plugins page showing the Composio MCP server added to the list

3. Authenticate

Click Authenticate on the Composio entry, log in via Composio, and click Allow access. Composio tools are then available in ChatGPT the same way as with the plugin.

What you can do after connecting AI/ML API

  • Compare AI models for a coding task
  • Run OCR on this scanned invoice
  • Check your AI model usage and balance

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.
TOOLS

Supported Tools

Every AI/ML API MCP action and event your agent gets out of the box.

Account balance

Get the balance of the AIMLAPI account that owns this API key, and whether it is running low.

Account usage

Get this API key's spending and the spending limit set on it, if any, with what is left of the limit.

Audio generate

Start generating music — a song with or without lyrics, or an instrumental — from a text prompt with an AIMLAPI music model.

Document ocr

Read the text of a scanned document or an image (OCR) with an AIMLAPI OCR model.

Embeddings create

Turn text into embedding vectors (lists of numbers that capture its meaning) with an AIMLAPI embedding model, for semantic search, retrieval, clustering or deduplication.

Image edit

Edit images with an OpenAI gpt-image or xAI grok-imagine model: give the images by URL and describe the change.

Image generate

Generate images from a text prompt — or edit an image, or turn one into a 3D model, with a model that does that (the input image goes in `params`) — with an AIMLAPI image model.

Jev model search

Find the right AI model for a task described in plain words — chat and coding LLMs, image generation or editing, video, text-to-speech, speech-to-text, music, embeddings, OCR, 3D, classification — ranked by Jev (TypeSafe Jev, an AI model that judges how well each model in the AIMLAPI catalog fits the task).

Jev tool search

Find an API tool for a task described in plain words — web search, reading or scraping a web page, social media (X, Instagram, TikTok, Reddit, YouTube, Facebook, LinkedIn), maps and place reviews, SEO, stocks and crypto data, company data, jobs, real estate, weather, image tools and more — ranked by Jev (TypeSafe Jev, an AI model that judges how well each Agent Tool in the AIMLAPI catalog fits the task).

Job result

Get the output of a job.

Job status

Check how a generation job is going, without fetching its output.

Llm chat

Get a reply from any AIMLAPI language model (the `model` parameter selects it) to a list of chat messages: text, code, reasoning, image understanding for vision models, and function calling with your own `tools`.

Model get

Get everything about one model, by id or alias: capabilities, input and output modalities, limits, the complete price list and recent performance metrics.

Models compare

Compare 2–10 models side by side: capabilities, the full price list and recent performance metrics of each.

Models find best

Rank models by a single objective — the cheapest (optimize_for 'cheapest', by comparable price) or the fastest ('fastest', by median latency over recent traffic) — and return the top few.

Models list

Browse the AIMLAPI model catalog: all models, or those matching filters (modality, maximum price, minimum context window, required capabilities), sorted by id and paginated.

Models search

Find AIMLAPI models whose id, aliases, name, description or tags contain a keyword (case-insensitive substring), optionally narrowed by the same filters as models_list.

Ping

Check that the AIMLAPI MCP server is reachable and accepts your API key.

Speech generate

Read a text aloud with an AIMLAPI text-to-speech model and get a link to the audio file.

Speech transcribe

Start transcribing a recording (speech to text) with an AIMLAPI speech-to-text model, from a URL the platform downloads.

Tools inspect

Get one Agent Tool by id (from tools_search or jev_tool_search): its input schema, description, current price and health.

Tools run

Run an Agent Tool by id with its `input`, built from the inputSchema that tools_inspect returns.

Tools run status

Check a run started by tools_run, by its `run_id`.

Tools search

Search the AIMLAPI Agent Tools catalog for external tools that do what the query describes: web and news search, web page scraping and content extraction (read a URL), social media (Reddit, X, TikTok, YouTube, Instagram and more), company data, places and maps, and other data APIs.

Video generate

Start generating a video from a text prompt — or from an image, with an image-to-video model — with an AIMLAPI video model.

FRAMEWORKS

How to build AI/ML API MCP Agent with another framework

FAQ

Frequently asked questions

Start with AI/ML API MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every AI/ML API MCP tool your agent needs.Free to start.

Start building