The All in One AI MCP server in Cursor, Windsurf and Cline: the file for each one

All in One AI·· 6 views· 4 min read

The All in One AI MCP server gives your editor tools to create images, video and voice, ask other models and check your balance. In Cursor, Windsurf and Cline, you add it in a JSON file, with the address https://api.mozout.com/mcp and the key in the Authorization header. The editor keeps the model it already uses. For Claude Code and Codex, see the All in One AI MCP server.

Before you start

1 Create a key in the API Center with the ai:read and ai:write permissions. Use a sandbox_ key to check the setup without spending and a prod_ key to work. The fields are explained in creating an API key.
2 Have AI credits or an active Coding Plan in All in One AI.

On Windows, open Command Prompt or PowerShell and type (with your key in quotes):

setx MOZOUT_API_KEY "prod_..."

setx saves the variable for the windows you open afterwards. Close the terminal and the tool, then open them again.

On Linux and macOS, type in the terminal:

export MOZOUT_API_KEY="prod_..."

To have the variable in every new terminal, add the same line at the end of ~/.bashrc or ~/.zshrc.

Cursor

The file is ~/.cursor/mcp.json, for all projects, or .cursor/mcp.json, for one project only. On Linux and macOS, create the folder and open the file:

mkdir -p ~/.cursor
nano ~/.cursor/mcp.json

In Windows PowerShell:

New-Item -ItemType Directory -Force "$HOME\.cursor"
notepad "$HOME\.cursor\mcp.json"

Notepad asks whether to create the file: answer yes. Paste this and save:

{
"mcpServers": {
"mozout-ai": {
"url": "https://api.mozout.com/mcp",
"headers": { "Authorization": "Bearer ${env:MOZOUT_API_KEY}" }
}
}
}

Cursor replaces ${env:MOZOUT_API_KEY} with the value of the variable. Close and reopen Cursor. In the list of MCP servers in the settings, check that the server is enabled and that the tools show up.

Windsurf

1 In the Cascade panel, open the MCP menu and choose Open MCP config file. This opens mcp_config.json.
2 Add the server inside mcpServers. Note that here the field is serverUrl:

{
"mcpServers": {
"mozout-ai": {
"serverUrl": "https://api.mozout.com/mcp",
"headers": { "Authorization": "Bearer ${env:MOZOUT_API_KEY}" }
}
}
}

Save and click the refresh button in the list of MCP servers. On Windsurf team plans, remote servers only show up after an admin allows them.

Cline

1 Click the MCP Servers icon in the top bar of Cline.
2 In the Configure tab, click Configure MCP Servers. This opens cline_mcp_settings.json.
3 Add the server inside mcpServers, with your key:

{
"mcpServers": {
"mozout-ai": {
"type": "streamableHttp",
"url": "https://api.mozout.com/mcp",
"headers": { "Authorization": "Bearer prod_..." },
"disabled": false,
"autoApprove": []
}
}
}

type must be streamableHttp: without it, Cline uses the old transport and cannot reach the server. Here the key is written in the file, so keep it on your own computer only. Leave autoApprove empty: that way Cline asks before each generation, which spends credits.

If it does not work

If authentication fails (401), the editor shows an error for the server. Check the key and the header, and open the editor again after saving the variable. The key needs ai:read and ai:write: with only ai:read, the editor sees the models and the balance, but cannot generate anything. With a sandbox_ key, the server answers in the same format without spending: a generation is ready at once, with a sample file.

Never put the key in a file that goes into the repository. Use the environment variable where the editor accepts it. If a key ends up in Git, see what to do, in the right order.

Want images, video and voice inside your editor? Visit the Coding with AI page.

See Coding with AI

SEE ALSO

The All in One AI MCP server: images, video and voice inside Claude Code, Codex and ChatGPT

Adding the All in One AI MCP server to Claude Desktop as a custom connector

Cursor with All in One AI: your key, our address and the models to add

Cline with All in One AI: the OpenAI Compatible provider, field by field

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from ₦9,900.00/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.