# deAPI MCP server

> Enables AI clients to perform audio transcription, image and video generation, OCR, text-to-speech, and music generation via the deAPI REST API.

- Repository: https://github.com/deapi-ai/mcp-server-deapi
- Page: https://hostedmcp.org/servers/deapi-ai/mcp-server-deapi
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 0.6.3

## Install

### Claude Code

```sh
claude mcp add --transport http mcp-server-deapi https://mcp.deapi.ai/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp-server-deapi": {
      "url": "https://mcp.deapi.ai/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp-server-deapi": {
      "type": "http",
      "url": "https://mcp.deapi.ai/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp-server-deapi","type":"http","url":"https://mcp.deapi.ai/mcp"}'
```

### Codex

```sh
codex mcp add mcp-server-deapi --url https://mcp.deapi.ai/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp-server-deapi]
url = "https://mcp.deapi.ai/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http mcp-server-deapi https://mcp.deapi.ai/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp-server-deapi": {
      "url": "https://mcp.deapi.ai/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DEAPI_API_BASE_URL` | no | no |  |
| `DEAPI_API_VERSION` | no | no |  |
| `DEAPI_HTTP_TIMEOUT` | no | no |  |
| `DEAPI_JWT_SECRET_KEY` | no | no |  |
| `DEAPI_MAX_RETRIES` | no | no |  |
| `DEAPI_POLLING_AUDIO__INITIAL_DELAY` | no | no |  |
| `DEAPI_POLLING_AUDIO__MAX_DELAY` | no | no |  |
| `DEAPI_POLLING_AUDIO__TIMEOUT` | no | no |  |
| `DEAPI_REDIS_DB` | no | no |  |
| `DEAPI_REDIS_PORT` | no | no |  |
| `DEAPI_REDIS_REQUIRED` | no | no |  |
| `DEAPI_REDIS_SCHEME` | no | no |  |
| `DEAPI_TOOL_MAX_WAIT` | no | no |  |
| `DEAPI_WEBHOOKS_INTERNAL` | no | no |  |
| `DEAPI_WEBHOOK_FALLBACK_POLL_INTERVAL` | no | no |  |
| `MCP_GRACEFUL_SHUTDOWN_SECONDS` | no | no |  |
| `MCP_HOST` | no | no |  |

## Tools (43)

- `audio_transcription`
- `audio_transcription_price`
- `text_to_audio`
- `text_to_audio_price`
- `text_to_music`
- `text_to_music_price`
- `audio_url_transcription`
- `audio_url_transcription_price`
- `video_file_transcription`
- `video_file_transcription_price`
- `video_url_transcription`
- `video_url_transcription_price`
- `text_to_image`
- `image_to_image`
- `image_to_text`
- `image_remove_background`
- `image_upscale`
- `text_to_image_price`
- `image_to_image_price`
- `image_to_text_price`
- `image_remove_background_price`
- `image_upscale_price`
- `text_to_video`
- `image_to_video`
- `audio_to_video`
- `video_description`
- `video_upscale`
- `text_to_video_price`
- `image_to_video_price`
- `audio_to_video_price`
- `video_description_price`
- `video_upscale_price`
- `text_to_embedding`
- `text_to_embedding_price`
- `prompt_booster`
- `prompt_booster_price`
- `get_balance`
- `get_available_models`
- `check_job_status`
- `prompt`
- `model`
- `audio`
- `include_ts`

## FAQ

### What AI capabilities does deAPI provide?

The server provides 39 tools including audio transcription, video description, image and video generation, OCR, text-to-speech, and music generation.

### How do I authenticate with the deAPI MCP server?

You can use OAuth 2.0 via Claude Desktop/Claude.ai connectors or use a Bearer Token in your local configuration file.

### Does the server support API version 1?

No, the server specifically targets the deAPI v2 client API and does not support API v1.

### Can I check my account balance using the server?

Yes, there is a utility tool called `get_balance` specifically for checking your account balance.
