On this page
Key takeaways
- Chat assistants and coding tools use MCP with the sign-in; scripts, CI jobs and tools without a browser use an API key.
- Both ways reach the same servers at the same prices, and both are limited to 60 calls a minute.
- Give each tool its own key or connection, so that you can revoke one without stopping the others.
Cloudvix has two ways for software to act on your account: the MCP server with a browser sign-in, and an API key. Chat assistants and coding tools use MCP with the sign-in; scripts, CI jobs and tools without a browser use an API key. This article compares them and gives the rules for using both.
The short answer
Use MCP with the sign-in when a person is in the loop: a chat assistant, an editor or a terminal assistant that can open a browser. You see what the connection may do on the sign-in page, you choose the permissions, and the assistant never sees your password. Use an API key when nobody can sign in: a script, a CI job, a cron job or a tool that cannot open a browser.
A key can also be used on the MCP address. The server accepts Authorization: Bearer cvx_YOUR_KEY, which is for a developer tool that cannot sign in. OAuth stays the main way.
The two ways side by side
The table compares what you decide, what you carry and what happens when you stop.
| Compared | MCP with sign-in | API key |
|---|---|---|
| Sign-in | In your browser, with OAuth 2.1 and PKCE. The assistant does not see your password. | You create the key in your dashboard. It is shown once. |
| The secret | Tokens that the app keeps: an access token for 60 minutes and a refresh token for 30 days. | The key itself, which you keep in an environment variable such as CLOUDVIX_API_KEY. |
| What you see before it acts | The sign-in page shows what the connection may do, and you choose the permissions. | Nothing, unless you write the check. A script decides for itself. |
| The rights and limits | What you choose when you connect. | The rights and limits of the key. |
| Revoking | Revoke the connection. Both tokens end together and the next call gets 401 invalid_token. | Revoke the key. It stops working at once. |
| Where it works | The MCP server, with the tools of Tools. | The REST API of the API reference, and the MCP address with the Bearer header. |
The same prices and limits both ways
Plans and prices are the same in the dashboard, the API and the MCP server, and they exclude VAT. The smallest plan, Quartz, costs €0.0067 an hour, €0.17 a day and at most €4.49 in a billing period. In both ways the estimate orders nothing and charges nothing.
Both ways reach the same servers at the same prices, and both are limited to 60 calls a minute. The count is for each connection or key, and the MCP count is kept apart from the REST count. An API key starts with 25 servers and €500 a month, and an order over a limit is refused.
A stopped server is billed whichever way it was created. Deleting ends the charges.
Use a key safely
Create a key in the dashboard under API. It is shown once, so put it straight into an environment variable, and never into a file you commit. Then send it as Authorization: Bearer followed by the key. The first block sets the variable, the second makes a read-only call to the REST API.
Each page of the assistant guides shows where a client puts the header: see Connect an assistant. Give each tool its own key or connection, so that you can revoke one without stopping the others.
export CLOUDVIX_API_KEY=cvx_YOUR_KEYcurl https://api.cloudvix.com/v1/account \
-H "Authorization: Bearer $CLOUDVIX_API_KEY"When to use both
Many setups use both. The assistant in your editor signs in with OAuth for the day-to-day questions and orders. A nightly script has its own key with the limits you choose. Each has its own rights and limits, each is counted on its own and each can be revoked on its own.
Revoking works differently for each: a connection ends both its tokens at once, a key stops at once. More is in Check what your AI assistant did, and cut it off.
Questions people ask
Can an assistant use a key instead of signing in?
Yes, on the MCP address, with Authorization: Bearer cvx_YOUR_KEY. Keep the key in an environment variable. The connection has the rights and limits of the key, and its calls are counted and logged per key.
Which one is safer?
Neither is safe by itself. A connection shows you what it may do on the sign-in page, and the assistant never sees your password. A key is a secret that anyone who holds it can use. That is why OAuth stays the main way and a key needs care.
Good to know
We wrote this from the Cloudvix documentation and from the answers of the team that builds the console. The settings of each client belong to its vendor and change between versions, so compare them with the page of your client.
Where to go next
Limits are the next thing to set: How to cap what an AI assistant can spend on servers. If a connection does not work, start with MCP server not connecting: errors and what they mean.
Runs Cloudvix and is responsible for the guides published here.