Documentation Index
Fetch the complete documentation index at: https://docs.akool.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
AKOOL provides a Model Context Protocol (MCP) server that exposes face swap, image generation, TTS, and more as native tools inside AI assistants — no manual API calls needed.Credentials
MCP uses the same credentials as the CLI. Get them from your AKOOL dashboard:| Header | Description |
|---|---|
x-client-id | Your Client ID (clientId) |
x-client-secret | Your Client Secret (clientSecret) |
Server Config
Available Tools
| Category | Description | Tool |
|---|---|---|
| Account | Get account credit balance | account_credit |
| List available AI models | account_models | |
| Image | Generate image from text or reference image | image_create |
| Get image generation result | image_info | |
| Upscale or create variants of an image | image_upscale | |
| Voice | List available TTS voices | voice_list |
| Convert text to speech | audio_tts | |
| Get TTS result | voice_result | |
| Face Swap | Swap face in an image | faceswap_image |
| Swap face in a video | faceswap_video | |
| Enhanced face swap (multi-face) | faceswap_plus | |
| Get face swap result | faceswap_result | |
| Delete a face swap record | faceswap_delete | |
| Live streaming face swap | faceswap_live | |
| Avatar | List digital avatars | avatar_list |
| Get avatar detail | avatar_detail | |
| Submit character swap task | character_swap_create | |
| Get character swap result | character_swap_result | |
| Image to Video | Create a video from an image | video_image2video_create |
| Get image-to-video result | video_image2video_results | |
| List available video effects | video_image2video_effects | |
| Update audio on a video | video_image2video_update_audio | |
| Delete an image-to-video record | video_image2video_delete | |
| Face Detection | Detect faces in an image | facedetect_detect |
| Analyze faces across multiple frames | facedetect_analyze |
Setup Guides
CLI quick-add is only supported by Claude Code. All other clients
(Cursor, Windsurf, Codex, Kiro) require editing a JSON config file.
Claude Code
Install~/.claude/mcp_servers.json directly:
Claude Desktop
Install Download and install from claude.ai/download. Add AKOOL MCP Open Claude Desktop → Settings → Developer → Edit Config, then add:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor
Install Download from cursor.com, install and open. Add AKOOL MCP Go to Settings → MCP → Add new global MCP server, or edit~/.cursor/mcp.json:
Windsurf
Install Download from codeium.com/windsurf, install and open. Add AKOOL MCP Go to Windsurf Settings → MCP → Add Server, or edit~/.codeium/windsurf/mcp_config.json:
OpenAI Codex
Install~/.codex/mcp_servers.json:
Kiro
Install Download from kiro.dev, install and open. Add AKOOL MCP Create or edit~/.kiro/settings/mcp.json (global) or .kiro/settings/mcp.json in your project root:
Usage Examples
Once configured, describe tasks in natural language: Face swap (image)Tips
- Never commit
x-client-id/x-client-secretto source control. Store them in environment variables and reference via your MCP client’s env substitution (e.g.$AKOOL_CLIENT_ID). - Run
akool-cli creditfirst to confirm your credentials are valid before configuring any MCP client. - Most AKOOL tools are async — the assistant will call
*_resulttools automatically to poll until the job completes. - If a tool call returns
401 Unauthorized, verify credentials at the AKOOL dashboard.