What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI models and agents to interact with external tools and services in a structured way. Instead of crafting raw HTTP requests, your AI assistant discovers available tools and calls them using a standardized protocol. With deAPI’s MCP server, Claude, ChatGPT, Cursor, and other MCP-compatible clients can:- Generate images, videos, and audio directly within conversations
- Transcribe YouTube videos or audio files
- Remove backgrounds and upscale images
- Check pricing before running expensive operations
- Access all deAPI capabilities through natural language
Server Details
| Property | Value |
|---|---|
| MCP Server URL | https://mcp.deapi.ai/mcp |
| OAuth Client ID | deapi-mcp |
| OAuth Client Secret | Your deAPI API key |
| Transport | Streamed HTTP |
Available Tools
The deAPI MCP server exposes the following tools:Image Generation & Manipulation
| Tool | Description |
|---|---|
text_to_image | Generate images from text prompts using AI diffusion models (Flux, Z-Image-Turbo) |
image_to_image | Transform existing images using text prompts (style transfer, editing) |
image_to_text | Extract text from images using OCR |
image_remove_background | Remove background from images (transparent PNG output) |
image_upscale | Upscale images to higher resolution |
text_to_image_price | Calculate price for text-to-image generation |
image_to_image_price | Calculate price for image transformation |
image_to_text_price | Calculate price for OCR extraction |
image_remove_background_price | Calculate price for background removal |
image_upscale_price | Calculate price for image upscaling |
Video Generation & Processing
| Tool | Description |
|---|---|
text_to_video | Generate videos from text prompts |
image_to_video | Animate static images into videos |
video_file_transcription | Transcribe uploaded video files to text |
video_url_transcription | Transcribe videos from URLs (YouTube, X/Twitter, Twitch, Kick) |
video_file_transcription_price | Calculate price for video file transcription |
video_url_transcription_price | Calculate price for video URL transcription |
Audio & Speech
| Tool | Description |
|---|---|
text_to_audio | Convert text to natural-sounding speech (TTS) |
audio_transcription | Transcribe uploaded audio files to text using Whisper |
audio_url_transcription | Transcribe audio from URLs (X/Twitter Spaces) |
audio_transcription_price | Calculate price for audio file transcription |
audio_url_transcription_price | Calculate price for audio URL transcription |
Utility
| Tool | Description |
|---|---|
get_available_models | List all available AI models with specifications |
get_balance | Check your deAPI account balance |
check_job_status | Check status of submitted jobs |
How to Connect
Claude (claude.ai)
To use deAPI MCP tools directly in Claude conversations: Step 1. Get your API key from the deAPI Dashboard Step 2. Add the MCP connector in Claude settings:- Go to Settings → Connectors
- Click Add Connector or Add MCP Server
- Select New OAuth Connector
- Enter the following credentials:
| Field | Value |
|---|---|
| OAuth Client ID | deapi-mcp |
| OAuth Client Secret | Your deAPI API key |
| Server URL | https://mcp.deapi.ai/mcp |
- “Using deAPI MCP, generate an image of a futuristic city at sunset”
- “With deAPI MCP, transcribe this YouTube video: [URL]”
- “With deAPI MCP, transcribe this Twitch video: [URL]”
- “Check my deAPI MCP balance”
- “Using deAPI MCP, create a video of waves crashing on a beach”
Cursor IDE
To integrate deAPI MCP into Cursor for AI-assisted development: Step 1. Get your API key from the deAPI Dashboard Step 2. Open Cursor Settings:- Press
Cmd/Ctrl + Shift + P - Search for “Cursor Settings” or navigate to Settings → Cursor Settings
- Find the MCP or Model Context Protocol section
- Add a custom MCP server configuration
- Paste the following JSON (replace
YOUR_API_KEYwith your actual key):
- “Using deAPI MCP, generate an image of…”
- “With deAPI MCP, transcribe this audio…”
- “Via deAPI MCP, check my balance”
ChatGPT
To use deAPI MCP tools in ChatGPT conversations:Availability: MCP is available in beta to Pro, Plus, Business, Enterprise, and Education accounts. The MCP apps work on both web and desktop, but Developer mode settings are only accessible in the web version at chatgpt.com.
- Go to Settings → Apps & Connectors
- Scroll to Advanced settings at the bottom
- Enable Developer mode
- Go back — a Create App button will appear next to Advanced settings
- Click Create App
- Fill in the following details:
| Field | Value |
|---|---|
| Name | deAPI (or any name you prefer) |
| Description | deAPI MCP (optional) |
| MCP Server URL | https://mcp.deapi.ai/mcp |
| Authentication | OAuth |
| OAuth Client ID | deapi-mcp |
| OAuth Client Secret | Your deAPI API key |
- “Using deAPI MCP, generate an image of a cyberpunk cat”
- “With deAPI MCP, transcribe this YouTube video: [URL]”
- “Check my deAPI MCP balance”
- “With deAPI MCP, transcribe this Kick video: [URL]“
Supported Models
The MCP server provides access to all deAPI models:Text-to-Image
- Flux.1 schnell — Fast, high-quality image generation
- Z-Image-Turbo INT8 — Optimized turbo model for quick and realistic generations
Text-to-Speech
- Kokoro — Natural TTS with multiple voices and languages
Video Generation
- LTX-Video-0.9.8 13B — Text-to-video and image-to-video generation
Image Processing
- QwenImageEditPlus4Bit — Advanced image-to-image transformation
- Ben2 — Background removal
Transcription
- Whisper Large V3 — State-of-the-art speech recognition
OCR
- Nanonets Ocr S — Text extraction from images
Embeddings
- BGE M3 — Text embeddings
get_available_models tool to retrieve the full list with current specifications and limits.
Usage Examples
Generate an Image
Ask your AI assistant:“Using deAPI MCP, generate an image of an astronaut riding a horse on Mars, photorealistic style”The assistant will call
text_to_image with appropriate parameters and return the generated image URL.
Transcribe a YouTube Video
“With deAPI MCP, transcribe this YouTube video with timestamps: https://www.youtube.com/watch?v=7qaiNfoMRts”The assistant calls
video_url_transcription and returns the full transcript.
Convert Text to Speech
“Using deAPI MCP, convert this text to speech with a British female voice: ‘Welcome to our platform’”The assistant calls
text_to_audio with the Kokoro model and appropriate voice settings.
Remove Background from Image
“Using deAPI MCP, remove the background from this product photo”The assistant calls
image_remove_background and returns a transparent PNG.
Transcribe X/Twitter Spaces
“With deAPI MCP, transcribe this Twitter Space: https://twitter.com/i/spaces/…”The assistant calls
audio_url_transcription and returns the full transcript.
When to Use MCP vs HTTP API
| Use Case | Recommended |
|---|---|
| AI assistants & chatbots | MCP Server |
| IDE integrations (Cursor, VS Code) | MCP Server |
| Backend services & workers | HTTP API |
| Batch processing | HTTP API |
| Direct programmatic control | HTTP API |
| Agent-driven workflows | MCP Server |
Troubleshooting
Connection Issues
- Verify your API key is valid and has sufficient balance
- Check the server URL is exactly
https://mcp.deapi.ai/mcp - For Claude: Ensure OAuth Client ID is
deapi-mcpand Secret is your API key - For Cursor: Ensure Bearer token format — the Authorization header should be
Bearer YOUR_API_KEY
Tools Not Appearing
- Restart your MCP client (Claude, ChatGPT, Cursor) after configuration changes
- In Claude: Make sure you clicked Allow when prompted to grant permissions
- In ChatGPT: Ensure Developer mode is enabled in Advanced settings
- Verify JSON syntax in configuration files (Cursor)
- Check that your API key has the necessary permissions
Jobs Stuck in Processing
- Use
check_job_statustool with the job ID to monitor progress - Large video generation or transcription jobs may take several minutes
- Check status.deapi.ai for system status