Also available in Français and العربية.
Natiq runs a remote MCP server at https://natiq.studio/mcp. Any AI agent that supports MCP over HTTP can use it to write a voiceover in Algerian Darija or Arabic Fusha, generate it, wait for the clip and download the WAV into your project. You don't need one particular assistant. Claude Code has a plugin, but Cursor, Codex, Antigravity and VS Code connect to the same server with a few lines of config.
This guide covers what the server does, the setup for each agent, a first prompt to test it, and the mistakes that cost tokens.
On this page
- What an MCP server adds to your agent
- The six tools
- Setup: Claude Code, Codex, Cursor, Antigravity, VS Code, other clients
- A first prompt to test the connection
- MCP, REST API or the web studio?
- Five things to know before a long job
- FAQ
What an MCP server adds to your agent
MCP (Model Context Protocol) is a standard way for an AI agent to call outside tools. Without one, your agent can write a script for a video but has no voice to read it. With Natiq connected, the agent can check the voices, generate one clip per scene, poll until each clip is ready, then use the measured length of each clip to time the video.
That last point is the practical gain. An agent that guesses how long a sentence takes to read will cut scenes too early or leave silence. An agent that reads duration_seconds from the finished clip can set scene lengths exactly.
The six tools
| Tool | What it does |
|---|---|
list_voices |
Lists the current voices, with preview audio |
list_purposes |
Lists delivery styles: commercial ad, social reel, storytelling |
check_balance |
Shows your remaining tokens |
generate_speech |
Queues one clip. country is dz for Darija (default) or msa for Fusha |
get_speech |
Polls a job and returns a fresh audio link and the clip duration |
list_speech |
Finds recent jobs, useful after a network error |
Every agent gets the same tools and the same prices as the web studio and REST API.
Before you start: create a key
- Sign up at natiq.studio. New accounts get 100 free tokens with no card.
- Open the API keys page and create a key with write permission. A read-only key can list voices and check your balance, but it can't generate audio.
- For Codex and Cursor, store the key in an environment variable named
NATIQ_API_KEYso it never sits in a file you might commit.
macOS or Linux (add to ~/.zshrc or ~/.bashrc):
export NATIQ_API_KEY="natiq_live_..."
Windows PowerShell:
setx NATIQ_API_KEY "natiq_live_..."
Restart your agent afterwards so it picks the variable up.
Claude Code
Claude Code has the shortest path: a plugin that bundles the server and a voiceover skill for Remotion and FFmpeg projects.
/plugin install natiq-voiceover --marketplace Natiq-studio/natiq-voiceover
The plugin asks for your key once and stores it securely. The Connect Natiq to Claude page has a copy-paste setup prompt, and our Claude Code voiceover guide walks through a full video project.
Codex
Add this to ~/.codex/config.toml. The Codex CLI, its IDE extension and the ChatGPT desktop app all read this file:
[mcp_servers.natiq]
url = "https://natiq.studio/mcp"
bearer_token_env_var = "NATIQ_API_KEY"
Run codex mcp list to check that natiq appears.
Cursor
Add this to ~/.cursor/mcp.json to use Natiq in every project, or to .cursor/mcp.json for one project. Cursor fills in the key from your environment:
{
"mcpServers": {
"natiq": {
"url": "https://natiq.studio/mcp",
"headers": { "Authorization": "Bearer ${env:NATIQ_API_KEY}" }
}
}
}
Antigravity
In the agent panel, open the … menu, then MCP Servers, Manage MCP Servers and View raw config. Add:
{
"mcpServers": {
"natiq": {
"serverUrl": "https://natiq.studio/mcp",
"headers": { "Authorization": "Bearer natiq_live_..." }
}
}
}
Note that Antigravity uses serverUrl, not url. It can't read environment variables in this file, so the key is written into it. Keep it in the global config you opened from the menu, never in a project folder that could end up in git.
VS Code (Copilot agent mode)
Create .vscode/mcp.json. The input prompt asks for the key once and stores it as a secret, so the file itself is safe to commit:
{
"inputs": [
{ "type": "promptString", "id": "natiq-key", "description": "Natiq API key", "password": true }
],
"servers": {
"natiq": {
"type": "http",
"url": "https://natiq.studio/mcp",
"headers": { "Authorization": "Bearer ${input:natiq-key}" }
}
}
}
Any other MCP client
Look for three settings: a remote or HTTP server type (Streamable HTTP, not the older SSE transport), the URL https://natiq.studio/mcp, and a custom header Authorization: Bearer <your key>. Clients that only accept OAuth sign-in for remote servers can't use an API key yet. The full method reference is in the API docs.
A first prompt to test the connection
Paste this into any of the agents above:
Check my Natiq balance and list the voices. Generate one short Algerian Darija
line for a product teaser with a recommended voice, poll until it's ready,
download the WAV into ./audio and tell me its duration_seconds.
If the agent says it has no Natiq tools, restart it. If it gets a 401 error, the key is wrong, inactive, or the header is missing the word Bearer.
To hear the same voice in formal Arabic, ask for country: "msa". Write that script in Fusha: the setting changes the delivery, it doesn't translate your words. Our guide to Fusha and Darija in one tool explains when to use each.
MCP, REST API or the web studio?
| You want to | Use |
|---|---|
| Generate a few clips by ear and pick the best take | The web studio |
| Let an AI agent build a video and time scenes to the audio | The MCP server |
| Generate voice from your own app or backend | The REST API |
All three use the same voices, the same balance and the same prices.
Five things to know before a long job
- Generation is asynchronous. A
pendingresult is normal. The agent should pollget_speechevery couple of seconds, not submit the text again. - There's no idempotency key. After a network error, check
list_speechfirst, or you may pay twice for the same line. - One clip holds up to 600 characters. Split long narration into scenes. That's also how you get one file per scene for editing.
- Audio links expire. Download right away.
get_speechgives you a fresh link later. - There are no word timestamps. Scene timing is exact, but captions inside a clip are an estimate unless you align them separately.
A clip costs 1 token plus 1 per 50 characters, so a short line is 2 tokens and a full 600-character clip is 13. A failed generation is refunded in full.
FAQ
Does the Natiq MCP server only work with Claude?
No. Claude Code has a plugin, but the server is standard MCP over HTTP. Cursor, Codex, Antigravity, VS Code and other clients that can send an Authorization header connect directly.
Can the agent save the audio file by itself?
The remote server can't write to your computer. It returns a temporary download link, and your agent downloads it with curl or Python into your project. No API key is needed for the download.
Which languages does it support?
Algerian Darija (dz, the default) and Arabic Fusha (msa). Any other value returns a 400 error rather than quietly falling back.
Is it free?
New accounts start with 100 free tokens, enough to test the connection with several short clips. After that you buy token packs. The MCP server costs the same as the studio.
Disclosure: Natiq Studio publishes this guide. Client config formats follow each vendor's documentation as of November 2026.