Skip to main content

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:

Server Config


Available Tools


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
Add AKOOL MCP
Or edit ~/.claude/mcp_servers.json directly:
Verify:

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
Restart Claude Desktop. A hammer icon (🔨) will appear in the chat input when MCP tools are ready.

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:
Restart Cursor. In the Agent panel, AKOOL tools will appear under Available Tools.

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:
Restart Windsurf and open the Cascade panel. AKOOL tools will be listed under available tools.

OpenAI Codex

Install
Add AKOOL MCP Edit ~/.codex/mcp_servers.json:
Codex will automatically load MCP servers on startup.

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:
Restart Kiro. In the Agent panel, AKOOL tools will be listed under MCP Tools.

Usage Examples

Once configured, describe tasks in natural language: Face swap (image)
Face swap (video)
Enhanced face swap
Character swap
Generate image
Image to video
Text to speech
Face detection
Check account

Tips

  • Never commit x-client-id / x-client-secret to source control. Store them in environment variables and reference via your MCP client’s env substitution (e.g. $AKOOL_CLIENT_ID).
  • Run akool-cli credit first to confirm your credentials are valid before configuring any MCP client.
  • Most AKOOL tools are async — the assistant will call *_result tools automatically to poll until the job completes.
  • If a tool call returns 401 Unauthorized, verify credentials at the AKOOL dashboard.