Skip to contentcloudvix
cloudvix
GuideDevelopers & AI

MCP server not connecting: errors and what they mean

Denys DunaievskyiFounder, Cloudvix
  • 6 min read
  • Published
  • LevelIntermediate
Guides
On this page

Key takeaways

  • When an assistant cannot use the Cloudvix MCP server, the error tells you which of four things is wrong: the address, the sign-in, the permissions or a limit.
  • A 401 means the sign-in is missing or has ended, and the fix is to sign in again from the assistant.
  • A 429 with a Retry-After header means more than 60 calls a minute; wait that long.

When an assistant cannot use the Cloudvix MCP server, the error tells you which of four things is wrong: the address, the sign-in, the permissions or a limit. This article reads the errors one by one, with Cloudvix as the worked example, and points to the troubleshooting page for the steps in your client.

Three kinds of error

An error can come from three places, and it helps to know which. The server answers a request with an HTTP status, such as 401 or 429. A tool that ran but was refused answers with a result marked as an error and a code, such as permission_denied. And the app you use shows its own messages, for example when it asks you to confirm a tool call.

Look for the code before you change anything. The table lists the ones Cloudvix returns.

WhereWhat you seeWhat it means and what to do
HTTP401No valid sign-in. Sign in again from the assistant.
HTTP401 invalid_tokenThe connection was revoked or its sign-in ended. Sign in again.
HTTP429 with Retry-AfterMore than 60 calls a minute. Wait for the time in the header.
Tool resultpermission_deniedThe connection lacks the permission, usually Write. Connect again with it.
Tool resultA limit errorThe order would go over a limit of servers or of monthly spend. Change the limit or remove a server.
Tool resultinsufficient_balanceThe balance is too low. Top up in the dashboard yourself.
Tool resulttool_disabledCloudvix has switched the tool off for now. The other tools keep working.

401: the sign-in is missing or has ended

A 401 means the sign-in is missing or has ended, and the fix is to sign in again from the assistant. Without a valid sign-in the server answers 401 to every request and points to the sign-in page, which a normal app opens for you. If you only see the error, start the sign-in yourself, and check that the address ends with /mcp.

If it worked before and now shows 401 invalid_token, one of four things ended the sign-in. You revoked the connection. You changed or reset your password, which revokes all connections. The sign-in ran out: the access token lasts 60 minutes and is renewed with a refresh token that lasts 30 days. Or an old refresh token was used again, and Cloudvix revoked the connection. Sign in again from the assistant. If that fails, remove the server in the assistant, add the address again and sign in. More is in Check what your AI assistant did, and cut it off.

  • Claude Code: /mcp
  • Codex: codex mcp login cloudvix

429: too many calls

A 429 with a Retry-After header means more than 60 calls a minute; wait that long. The limit is for each connection or key and is counted apart from the REST API.

Wait for the time in Retry-After and the assistant can go on. If it keeps happening, ask the assistant to make fewer calls at once, for example to list your servers once and not once for each server.

A tool result with a code

An order is refused before anything is created or charged. The server answers with the same codes as the REST API, as a tool result marked as an error, and a good assistant tells you what to change. Ask it for the exact code it got. The limits behind the refusals are explained in How to cap what an AI assistant can spend on servers.

If the code is tool_disabled, Cloudvix has switched that tool off for now. The other tools keep working, so you can go on with them.

  • permission_denied: the connection has no permission to create servers. Connect again and give the Write permission.
  • A limit error: the order would go over a limit of servers or of monthly spend. Change the limit or remove a server you no longer need.
  • insufficient_balance: top up in your dashboard. The assistant can only hand you a link, and the payment happens on a Cloudvix page.
  • No code, but a refusal: the order asks for something that is done in the dashboard only, a Windows server, a monthly plan or a yearly plan.

Signed in, but no tools show

A connection sees only the tools its permissions allow, so fewer permissions mean fewer tools. Check that the Cloudvix server and its tools are switched on in the assistant, that you chose the permissions you need, and restart the assistant. To change the permissions, connect again and choose others. Every tool and the permission it needs are listed on Tools.

Wrong address and sign-in loops

Use exactly https://mcp.cloudvix.com/mcp, with https at the start and /mcp at the end. The address of the website or of the dashboard is not an MCP server. Where the assistant asks for a transport, choose HTTP or Streamable HTTP, not the older SSE.

If the sign-in window does not open, or opens again and again, finish it in the window the assistant opened, with the account you want to connect. Some command-line tools need a browser on the same computer for the sign-in.

When your company or workspace blocks it

Some organizations switch custom MCP servers off. In Claude Team or Enterprise an Owner adds the connector first, and then each member connects with their own Cloudvix account. A company network can also block the address, so ask your IT team to allow https://mcp.cloudvix.com/mcp.

Not an error: the assistant asks to confirm

Two different questions can appear. The first is meant: the server tells the assistant to show you the price estimate and to wait for your clear yes before it creates a server, and never to delete anything without your explicit yes and the exact name. Keep it that way. The second comes from the app, not from Cloudvix: many apps ask before they run a tool, and some ask even for a tool that only reads. Allow only tools that read.

Questions people ask

Is a 401 always a problem?

Not always. Without a token the server answers 401 on purpose and points to the sign-in page, which a normal app opens for you.

Should I paste my key or token into a support message?

No. Never paste a key or a token. Say which assistant you use and what it shows, and write to us on the contact page.

Where to go next

The steps for your client are on Connection problems. If a connection works but you wonder which way to connect, read MCP or an API key.

About the author

Denys Dunaievskyi

Founder, Cloudvix

Runs Cloudvix and is responsible for the guides published here.

Related guides

Your server is a few clicks away.

Choose the plan and the system in one order form; the location too, when there is more than one.

Create server