The MCP server address and the two ways in: an API key or your account

Coding with AIMCP Server·· 8 views· 3 min read

The All in One AI MCP server lives at the same address as the API, on the /mcp path. There is no program to install. There are two ways in: your API key or your MozOut account. This article helps you choose.

The address

https://api.mozout.co.mz/mcp

The transport is Streamable HTTP, the remote MCP transport. In the examples, the server is named mozout-ai. You can give it another name: it is only the name the agent shows.

With your API key

The key goes in the Authorization: Bearer header. We also accept x-api-key. Create it in the API Center with the ai:read and ai:write permissions. With only ai:read, the agent sees the models, the generations and the balance, but cannot generate or chat.

Authorization: Bearer prod_...

Keep the key in the MOZOUT_API_KEY variable so you do not write it in config files. It works in any client that accepts a remote server with headers: Claude Code, Codex, Cursor, Cline and Windsurf.

With your account (OAuth)

No key and no variable. The client opens the Meu MozOut sign-in page, you sign in and click Allow on the authorization screen. ChatGPT only works this way. Claude Code works both ways. Other clients that sign in through OAuth only need the address. You just need AI credits or an active Coding Plan in All in One AI.

The differences

API key Your account (OAuth)
Where it works Clients that accept headers: Claude Code, Codex, Cursor, Cline, Windsurf ChatGPT, Claude Code and other clients with OAuth
Testing at no cost Yes, with a sandbox_ key No: requests are always production
Requests per minute limit Per key For the whole account, adding up the authorized apps
How long it lasts Until you revoke the key or it reaches the validity you gave it One hour, renewed on its own. After 30 days without use, you authorize again
Cutting access Revoke the key in the API Center Revoke access in Connected apps

What about the rest of the API?

OAuth only serves the MCP server, at https://api.mozout.co.mz/mcp. The rest of the API still needs a key. And the key still works on the MCP, in the header, as before.

Choose the key if you want to test with sandbox_ or you use Codex, Cursor, Cline or Windsurf. Choose your account if you use ChatGPT or would rather not keep keys in Claude Code.

Want images, videos and voice inside your tool? See 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

The MCP server in Claude Code without a key: signing in with your account

The authorization screen and connected apps: what an app can do and how to revoke it

Creating an API key: name, mode, permissions, validity, IP list and spending limit

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 $6.60/mo (3-year plan, with coupon)

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