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.
Using ChatGPT, Claude, Claude Code or Codex? Sign in with your AKOOL account instead of using API credentials. See Plugin.

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 config file.

Claude Code

Install
Add AKOOL MCP
Verify:

Claude Desktop

Install Download and install from claude.ai/download. Add AKOOL MCP
  1. Go to Customize → Connectors → + Add → Add custom connector.
  2. Name it akool-mcp and enter https://openapi.akool.com/mcp/v1 as the URL.
  3. Under Request headers, add x-client-id and x-client-secret with your credentials.
  4. Choose No sign in, then add the connector.

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/config.toml:
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
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.