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

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

In Claude Code, the All in One AI MCP server does not need a key. It signs in with your Interweb account, through OAuth, and Claude Code takes care of the rest. Before you start, have AI credits or an active Coding Plan in All in One AI.

1. Add the server, without a header

claude mcp add --transport http --scope user interweb-ai https://api.interweb.ao/mcp

--scope user makes the server available in all your projects. Without it, Claude Code keeps it only for the project of the folder you are in (Claude Code docs).

2. Authenticate

1 Open Claude Code and type /mcp. The server shows as needing authentication.
2 Choose the server and then Authenticate. Your browser opens the Meu Interweb sign-in page.
3 Sign in with your account and click Allow on the authorization screen. The browser goes back to Claude Code and the server is active.

Outside Claude Code, claude mcp list shows the server as "Needs authentication" until you sign in. According to the Claude Code docs, claude mcp login interweb-ai runs the same sign-in from the terminal.

What you see on the authorization screen

The app name, your account and the address it returns to. As Claude Code runs on your computer, the screen warns that it returns to localhost. It also shows the permissions: See models, balance and requests (ai:read) and Make AI requests (ai:write), which spends credits. More in the authorization screen and connected apps.

After you sign in

Claude Code keeps the access on your computer and renews it on its own. There is no key to copy, keep or rotate. Requests spend the credits or plan points of the account you signed in with, at the same prices as the API. Access lasts one hour and renews itself. If you do not use the server for 30 days, you have to authorize it again.

With your account, requests are always production. To test at no cost, use a sandbox_ key in the header, as in testing the MCP server in the Sandbox.

Signing out and revoking access

To sign out, choose the server in /mcp and Clear authentication, or run claude mcp logout interweb-ai. The Claude Code docs warn that claude mcp remove deletes the access stored on your computer, but does not revoke it at the server.

To be sure the access is gone, open All in One AI, the History tab, the Connected apps block, and click Revoke access. It stops at once.
Your key still works in Claude Code, if you prefer. The command with --header is in the All in One AI MCP server.

Want images, videos and voice in Claude Code without keeping keys? See the Coding with AI page.

See Coding with AI

SEE ALSO

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

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

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

Using Claude Code with All in One AI: the variables, the model and common errors

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

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