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-maxbuildog-adanvil": {
"command": "uvx",
"args": [
"adanvil"
],
"env": {
"ADANVIL_CACHE": "<VALUE>",
"ADANVIL_FFMPEG": "<VALUE>",
"ADANVIL_SPEECH": "<VALUE>",
"ADANVIL_FFPROBE": "<VALUE>",
"ADANVIL_WORKERS": "<VALUE>",
"ADANVIL_PROJECTS_DIR": "<VALUE>",
"ADANVIL_SPEECH_MODEL": "base",
"ADANVIL_SPEECH_PROMPT": "<VALUE>",
"ADANVIL_VOICE_THREADS": "<VALUE>",
"ADANVIL_FFMPEG_THREADS": "<VALUE>",
"ADANVIL_VOICE_PERSISTENT": "<VALUE>",
"ADANVIL_VOICE_CHECK_MODEL": "<VALUE>",
"ADANVIL_ALLOW_PRIVATE_URLS": "<VALUE>",
"ADANVIL_VOICE_CHECK_CONFIDENCE": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
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-maxbuildog-adanvil": {
"command": "uvx",
"args": [
"adanvil"
],
"env": {
"ADANVIL_CACHE": "<VALUE>",
"ADANVIL_FFMPEG": "<VALUE>",
"ADANVIL_SPEECH": "<VALUE>",
"ADANVIL_FFPROBE": "<VALUE>",
"ADANVIL_WORKERS": "<VALUE>",
"ADANVIL_PROJECTS_DIR": "<VALUE>",
"ADANVIL_SPEECH_MODEL": "base",
"ADANVIL_SPEECH_PROMPT": "<VALUE>",
"ADANVIL_VOICE_THREADS": "<VALUE>",
"ADANVIL_FFMPEG_THREADS": "<VALUE>",
"ADANVIL_VOICE_PERSISTENT": "<VALUE>",
"ADANVIL_VOICE_CHECK_MODEL": "<VALUE>",
"ADANVIL_ALLOW_PRIVATE_URLS": "<VALUE>",
"ADANVIL_VOICE_CHECK_CONFIDENCE": "<VALUE>"
}
}
}
}
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-maxbuildog-adanvil": {
"command": "uvx",
"args": [
"adanvil"
],
"env": {
"ADANVIL_CACHE": "<VALUE>",
"ADANVIL_FFMPEG": "<VALUE>",
"ADANVIL_SPEECH": "<VALUE>",
"ADANVIL_FFPROBE": "<VALUE>",
"ADANVIL_WORKERS": "<VALUE>",
"ADANVIL_PROJECTS_DIR": "<VALUE>",
"ADANVIL_SPEECH_MODEL": "base",
"ADANVIL_SPEECH_PROMPT": "<VALUE>",
"ADANVIL_VOICE_THREADS": "<VALUE>",
"ADANVIL_FFMPEG_THREADS": "<VALUE>",
"ADANVIL_VOICE_PERSISTENT": "<VALUE>",
"ADANVIL_VOICE_CHECK_MODEL": "<VALUE>",
"ADANVIL_ALLOW_PRIVATE_URLS": "<VALUE>",
"ADANVIL_VOICE_CHECK_CONFIDENCE": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-maxbuildog-adanvil": {
"command": "uvx",
"args": [
"adanvil"
],
"env": {
"ADANVIL_CACHE": "<VALUE>",
"ADANVIL_FFMPEG": "<VALUE>",
"ADANVIL_SPEECH": "<VALUE>",
"ADANVIL_FFPROBE": "<VALUE>",
"ADANVIL_WORKERS": "<VALUE>",
"ADANVIL_PROJECTS_DIR": "<VALUE>",
"ADANVIL_SPEECH_MODEL": "base",
"ADANVIL_SPEECH_PROMPT": "<VALUE>",
"ADANVIL_VOICE_THREADS": "<VALUE>",
"ADANVIL_FFMPEG_THREADS": "<VALUE>",
"ADANVIL_VOICE_PERSISTENT": "<VALUE>",
"ADANVIL_VOICE_CHECK_MODEL": "<VALUE>",
"ADANVIL_ALLOW_PRIVATE_URLS": "<VALUE>",
"ADANVIL_VOICE_CHECK_CONFIDENCE": "<VALUE>"
}
}
}
}
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-maxbuildog-adanvil": {
"command": "uvx",
"args": [
"adanvil"
],
"env": {
"ADANVIL_CACHE": "<VALUE>",
"ADANVIL_FFMPEG": "<VALUE>",
"ADANVIL_SPEECH": "<VALUE>",
"ADANVIL_FFPROBE": "<VALUE>",
"ADANVIL_WORKERS": "<VALUE>",
"ADANVIL_PROJECTS_DIR": "<VALUE>",
"ADANVIL_SPEECH_MODEL": "base",
"ADANVIL_SPEECH_PROMPT": "<VALUE>",
"ADANVIL_VOICE_THREADS": "<VALUE>",
"ADANVIL_FFMPEG_THREADS": "<VALUE>",
"ADANVIL_VOICE_PERSISTENT": "<VALUE>",
"ADANVIL_VOICE_CHECK_MODEL": "<VALUE>",
"ADANVIL_ALLOW_PRIVATE_URLS": "<VALUE>",
"ADANVIL_VOICE_CHECK_CONFIDENCE": "<VALUE>"
}
}
}
}
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-maxbuildog-adanvil": {
"command": "uvx",
"args": [
"adanvil"
],
"env": {
"ADANVIL_CACHE": "<VALUE>",
"ADANVIL_FFMPEG": "<VALUE>",
"ADANVIL_SPEECH": "<VALUE>",
"ADANVIL_FFPROBE": "<VALUE>",
"ADANVIL_WORKERS": "<VALUE>",
"ADANVIL_PROJECTS_DIR": "<VALUE>",
"ADANVIL_SPEECH_MODEL": "base",
"ADANVIL_SPEECH_PROMPT": "<VALUE>",
"ADANVIL_VOICE_THREADS": "<VALUE>",
"ADANVIL_FFMPEG_THREADS": "<VALUE>",
"ADANVIL_VOICE_PERSISTENT": "<VALUE>",
"ADANVIL_VOICE_CHECK_MODEL": "<VALUE>",
"ADANVIL_ALLOW_PRIVATE_URLS": "<VALUE>",
"ADANVIL_VOICE_CHECK_CONFIDENCE": "<VALUE>"
}
}
}
}
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 |
|---|---|---|
| ADANVIL_CACHE | No | Moves the cache folder. |
| ADANVIL_FFMPEG | No | Full path to the ffmpeg binary (absolute path; otherwise it is looked up on PATH, never in the current folder). |
| ADANVIL_SPEECH | No | Set to off to stop library_index from transcribing on its own (transcribe="auto"); transcribe=true still does. |
| ADANVIL_FFPROBE | No | Full path to the ffprobe binary (absolute path; otherwise it is looked up on PATH, never in the current folder). |
| ADANVIL_WORKERS | No | How many files, thumbnails or segments are processed at once. Default max(1, min(4, cpus // 2)), and at most 2 when the machine has under 12 GB of RAM. |
| ADANVIL_PROJECTS_DIR | No | The folder that holds your projects: the server then refuses any project outside it. Projects are subfolders of it (for example ~/AdAnvil/summer-ad). |
| ADANVIL_SPEECH_MODEL | No | The model used to transcribe speech during indexing. Default base: fast, good enough to search. Default: base |
| ADANVIL_SPEECH_PROMPT | No | An optional text that biases the transcriber, for example towards keeping hesitations. |
| ADANVIL_VOICE_THREADS | No | The torch and Whisper threads (default: usable cores). |
| ADANVIL_FFMPEG_THREADS | No | Threads of each ffmpeg decoder or encoder. Default max(1, cpus // workers). |
| ADANVIL_VOICE_PERSISTENT | No | Set to 0 to go back to one process per step instead of one worker per job. |
| ADANVIL_VOICE_CHECK_MODEL | No | The Whisper model of the pronunciation check (unless the voice spec sets check_model). |
| ADANVIL_ALLOW_PRIVATE_URLS | No | Set to 1 to let brand_onboard and the downloads reach localhost and the local network (development only). |
| ADANVIL_VOICE_CHECK_CONFIDENCE | No | The word confidence from 0 to 1 above which the alignment transcript replaces the check model (off to always run the check model; the spec's check_confidence wins). |