On this page
Key takeaways
- A connected assistant keeps working until its sign-in ends or you revoke it.
- A revoke ends the access token and the refresh token of that connection together.
- Changing or resetting your Cloudvix password revokes all your connections.
A connected assistant keeps working until its sign-in ends or you revoke it. This article shows what you can look at before you decide, how to revoke a connection or a key, what the assistant shows afterwards and a short review you can repeat every month.
Two ways in, two things to end
An assistant reaches your account either through a connection, which you made with the sign-in in your browser, or with an API key. A connection has two tokens, an access token and a refresh token. A key is one secret. You end a connection by revoking it and a key by revoking the key.
Look first: what did it do?
Before you cut an assistant off, find out what it did. Start with what you can check without trusting the assistant: your list of servers, your balance and the balance history in the dashboard. A server you did not expect, or a charge you cannot explain, is what you are looking for.
A connected assistant can also tell you: ask it which servers it created, started or stopped, and compare the answer with the dashboard. Until you have compared it, the answer is only what the assistant says.
An API key has a record of its own. The activity of a key lists the servers ordered, the actions asked for and the payment pages opened, newest first, and the API keys page of the dashboard shows the activity of all your keys. A request that was refused is not listed. The calls are in the API reference.
Revoke a connection
Revoke the connection in your dashboard. Where to find it is on See and revoke connections. Revoking ends that connection only: your servers and your other connections stay as they are.
A revoke ends access at once. A revoke ends the access token and the refresh token of that connection together. The assistant cannot get a new access token, its next call gets 401 invalid_token, and it has to sign in again.
What the assistant shows afterwards
Expect a 401 or a message that the assistant is not signed in. That is the revoke working. If the assistant offers to sign in again, you can connect it again whenever you want. If you do not want that, remove the server in the assistant as well (see below).
How long a sign-in lasts, and what ends it earlier
An assistant that keeps working keeps renewing its sign-in, so waiting is not a way to end it. Revoke what you no longer use.
- The access token lasts 60 minutes. The assistant renews it with the refresh token.
- The refresh token lasts 30 days, and every renewal gives a new refresh token.
- If an old refresh token is used again, for example from a copy of the settings, Cloudvix revokes the connection.
- Changing or resetting your Cloudvix password revokes all your connections.
Revoke an API key
Revoke a key in the dashboard under API. A revoked key stops working at once, and the API answers that the key is unknown or has been revoked. Then create a new key for any tool that still needs one, and keep it in an environment variable, not in a file you commit.
Use one key for each tool. Then revoking one key does not stop the others. More on the two ways is in MCP or an API key.
Then clean up in the assistant
Revoking in the dashboard ends the access. To tidy up, also remove the Cloudvix server from the assistant, so that it does not keep asking you to sign in. Do both: the revoke ends the access, the remove tidies up the assistant. The steps for every client are on See and revoke connections.
- Claude Code: run
claude mcp remove cloudvix. - Codex: delete the
[mcp_servers.cloudvix]block fromconfig.toml. - Cursor and VS Code: delete the
cloudvixentry from the MCP configuration file. - Claude: remove the connector or the plugin in the settings of the app.
A short monthly review
- Open the connections in your dashboard and revoke every one you do not recognise or no longer use.
- Compare your servers with what you expect. Each one should exist because you or an assistant created it for a reason.
- Read the balance history of the last month. Every charge should belong to a server you know.
- Look at your API keys and revoke the ones no tool uses. One key for each tool makes this easy.
- If you changed your password this month, expect the assistants to have signed in again. That is normal.
Questions people ask
Does a revoke delete my servers?
No. Revoking ends that connection; your servers and your other connections stay as they are. If you want a server gone, delete it yourself in the dashboard.
Do I have to revoke after I change my password?
No. Changing or resetting your password revokes all your connections for you, and the assistants have to sign in again.
How do I know the revoke worked?
Ask the assistant to do something small, such as listing your servers. The call should fail with 401. If it still works, revoke again and look at the list of connections.
Good to know
Do not rely on the activity list alone. Compare your server list and your balance history, and look at what the connections page of your dashboard shows.
Where to go next
To decide how much an assistant may spend before you connect it, read How to cap what an AI assistant can spend on servers. If the assistant shows 401 and you did not revoke anything, see MCP server not connecting: errors and what they mean.
Runs Cloudvix and is responsible for the guides published here.