29 AI tools: audio/video transcription, image generation, TTS, OCR, embeddings via deAPI
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Production-ready Model Context Protocol (MCP) server for the deAPI REST API. This server exposes all deAPI AI capabilities as MCP tools, enabling LLMs to perform audio transcription, image generation, OCR, video generation, text-to-speech, and more.
deAPI v2 β this server targets the deAPI v2 client API (OpenAI-aligned noun paths under
/api/v2/*). SetDEAPI_API_VERSION=v1if you need to point at the legacy v1 endpoints.
audio_transcription - Transcribe audio files to text using Whisper modelsaudio_transcription_price - Calculate transcription costtext_to_audio - Convert text to natural speech (TTS)text_to_audio_price - Calculate TTS costtext_to_music - Generate music from text description and lyricstext_to_music_price - Calculate music generation costaudio_url_transcription - Transcribe audio from URLs of completed Twitter Spacesaudio_url_transcription_price - Calculate Twitter Spaces transcription costvideo_file_transcription - Transcribe video files to textvideo_file_transcription_price - Calculate video file transcription costvideo_url_transcription - Transcribe videos from URLs (YouTube, Twitter/X, Twitch, Kick)video_url_transcription_price - Calculate video URL transcription costtext_to_image - Generate images from text promptsimage_to_image - Transform images with text guidanceimage_to_text - Extract text from images (OCR)image_remove_background - Remove background from imagesimage_upscale - Upscale images to higher resolutiontext_to_image_price - Calculate image generation costimage_to_image_price - Calculate image transformation costimage_to_text_price - Calculate OCR costimage_remove_background_price - Calculate background removal costimage_upscale_price - Calculate upscaling costtext_to_video - Generate videos from text promptsimage_to_video - Animate static images into videosaudio_to_video - Generate video conditioned on audio contentvideo_replace - Replace a person in a video with a character from a reference imagevideo_remove_background - Remove the background from a videovideo_upscale - Upscale a video to higher resolutiontext_to_video_price - Calculate text-to-video costimage_to_video_price - Calculate image-to-video costaudio_to_video_price - Calculate audio-to-video costvideo_replace_price - Calculate video character replacement costvideo_remove_background_price - Calculate video background-removal costvideo_upscale_price - Calculate video upscaling costtext_to_embedding - Generate text embeddings for semantic searchtext_to_embedding_price - Calculate embedding costprompt_booster - Enhance a prompt for any deAPI inference type using AI guides (synchronous, returns refined prompt directly)prompt_booster_price - Calculate prompt-enhancement costget_balance - Check account balanceget_available_models - List available AI models with specificationscheck_job_status - Query async job status by IDFor running the MCP server:
uv, pip, or conda for package managementFor a deAPI account:
Option A: Using uv (recommended - fastest)
Option B: Using pip
Option C: Using conda
.env file for configuration:The server can run in two modes:
Local Mode (for use with Claude Desktop on the same machine):
The server will start on http://localhost:8000 by default.
Remote Mode (for deployment to a remote server):
See the Remote Deployment section for production deployment options.
Both Claude Desktop and Claude.ai support MCP connectors with built-in OAuth authentication.
For details on the OAuth flow, see AUTH.md.
Best for: Server running on the same machine, quick setup without OAuth.
Edit your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonReplace YOUR_DEAPI_TOKEN with your actual deAPI token. Save the file and restart Claude Desktop.
Authentication is handled at the connection level, not per-tool-call. Tools do NOT accept a deapi_api_token parameter.
Here's an example workflow:
Note: When calling tools via Claude Desktop or MCP SDK, authentication is handled automatically through the server connection (OAuth or HTTP headers). See AUTH.md for detailed OAuth setup.
src/deapi_client.py): HTTP client with auth forwarding and retry logicsrc/polling_manager.py): Smart adaptive polling for async jobssrc/schemas.py): Pydantic models for type safetysrc/tools/): Organized tool implementations
audio.py - Audio transcription, TTS & music generation toolsimage.py - Image generation, transformation, OCR, background removal & upscalingvideo.py - Video generation, audio-to-video & video replace toolsembedding.py - Text embedding toolsutility.py - Balance, models, status toolsThe server uses job-type-specific polling strategies:
| Job Type | Initial Delay | Max Delay | Timeout |
|---|---|---|---|
| Audio | 1s | 5s | 5 min |
| Image | 2s | 8s | 5 min |
| Video | 5s | 30s | 15 min |
Polling uses exponential backoff with a configurable multiplier (default: 1.5x).
Configuration can be set via environment variables (prefixed with DEAPI_):
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/deapi-mcp-server)<a href="https://allmcps.com/mcp/deapi-mcp-server"><img src="https://allmcps.com/api/badge/deapi-mcp-server?style=directory" alt="DeAPI MCP Server on AllMCPs" /></a>