
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.interweb.co.mz/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
|
|
On Windows, open Command Prompt or PowerShell and type (with your key in quotes):
setx INTERWEB_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 INTERWEB_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": {
"interweb-ai": {
"url": "https://api.interweb.co.mz/mcp",
"headers": { "Authorization": "Bearer ${env:INTERWEB_API_KEY}" }
}
}
}
Cursor replaces ${env:INTERWEB_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
|
|
{
"mcpServers": {
"interweb-ai": {
"serverUrl": "https://api.interweb.co.mz/mcp",
"headers": { "Authorization": "Bearer ${env:INTERWEB_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
|
|
|
{
"mcpServers": {
"interweb-ai": {
"type": "streamableHttp",
"url": "https://api.interweb.co.mz/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 |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from 321,75 MT/mo (3-year plan, with coupon) See plans |











