Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-deapi-ai-mcp-server-deapi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.deapi.ai/mcp"
]
}
}
}
Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-deapi-ai-mcp-server-deapi": {
"url": "https://mcp.deapi.ai/mcp"
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-deapi-ai-mcp-server-deapi": {
"type": "http",
"url": "https://mcp.deapi.ai/mcp"
}
}
}
The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-deapi-ai-mcp-server-deapi": {
"type": "http",
"url": "https://mcp.deapi.ai/mcp"
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-deapi-ai-mcp-server-deapi": {
"serverUrl": "https://mcp.deapi.ai/mcp"
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-deapi-ai-mcp-server-deapi": {
"type": "streamableHttp",
"url": "https://mcp.deapi.ai/mcp"
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| MCP_HOST | No | Host to bind the MCP server to. Default is 0.0.0.0. Set to 127.0.0.1 for local mode, which may run without DEAPI_JWT_SECRET_KEY. Default: 0.0.0.0 |
| MCP_PORT | No | Port to bind the MCP server to. Default is 8000. Default: 8000 |
| DEAPI_REDIS_DB | No | Redis database number. Default is 11. Default: 11 |
| DEAPI_REDIS_HOST | No | Redis host for the shared OAuth authorization code store. Unset uses an in-memory store, which only works with a single replica. |
| DEAPI_REDIS_PORT | No | Redis port. Default is 6379. Default: 6379 |
| DEAPI_API_VERSION | No | deAPI API version. Default is v2. Default: v2 |
| DEAPI_MAX_RETRIES | No | Maximum number of HTTP retries. Default is 3. Default: 3 |
| DEAPI_API_BASE_URL | No | deAPI API base URL. Default is https://api.deapi.ai. Default: https://api.deapi.ai |
| DEAPI_HTTP_TIMEOUT | No | HTTP client timeout in seconds. Default is 30.0. Default: 30.0 |
| DEAPI_REDIS_SCHEME | No | Redis connection scheme: plain or tls. tls needs DEAPI_REDIS_CA_FILE. Default is plain. Default: plain |
| DEAPI_REDIS_CA_FILE | No | Path to the CA file for a TLS Redis connection. Needed when DEAPI_REDIS_SCHEME is tls. |
| DEAPI_TOOL_MAX_WAIT | No | Seconds one tool call waits before returning done=false and the job_id. Default is 45.0. Default: 45.0 |
| DEAPI_JWT_SECRET_KEY | No | Fixed signing key for OAuth tokens. Required when the server binds beyond loopback (the default host is 0.0.0.0) or uses Redis; without it the server refuses to start. On loopback it may run without a key, in which case it signs OAuth tokens with a per-process key and a restart logs clients out. |
| DEAPI_REDIS_PASSWORD | No | Redis password. |
| DEAPI_REDIS_REQUIRED | No | If true, refuse to start without a Redis host. Default is false. Default: false |
| DEAPI_WEBHOOK_SECRET | No | Secret the API signs callbacks with; 32-255 characters. Required when DEAPI_WEBHOOKS_INTERNAL is true, along with DEAPI_WEBHOOK_RECEIVER_URL. |
| DEAPI_WEBHOOKS_INTERNAL | No | Enable internal completion webhooks. Default is false. Default: false |
| DEAPI_WEBHOOK_RECEIVER_URL | No | Receiver URL for internal completion webhooks. Must be reachable from api.deapi.ai. Required when DEAPI_WEBHOOKS_INTERNAL is true, along with DEAPI_WEBHOOK_SECRET. |
| DEAPI_POLLING_AUDIO__TIMEOUT | No | Timeout in seconds for audio job polling. Default is 300.0. Default: 300.0 |
| MCP_GRACEFUL_SHUTDOWN_SECONDS | No | Seconds in-flight tool calls may run after SIGTERM before they are cancelled. Keep it below your platform's termination grace period. Default is 930. Default: 930 |
| DEAPI_POLLING_AUDIO__MAX_DELAY | No | Maximum delay in seconds for audio job polling. Default is 5.0. Default: 5.0 |
| DEAPI_POLLING_AUDIO__INITIAL_DELAY | No | Initial delay in seconds for audio job polling. Default is 1.0. Default: 1.0 |
| DEAPI_WEBHOOK_FALLBACK_POLL_INTERVAL | No | Fallback poll interval in seconds for internal webhooks. Default is 45.0. Default: 45.0 |