---
title: Troubleshooting
description: Fix common Hostino MCP connection and authentication problems
sidebar:
  order: 21
  badge:
    text: Alpha
    variant: success
---

## Status stays "Needs authentication"

- You haven't signed in yet: in Claude Code, `/mcp` → `hostino` → **Authenticate**.
- You signed in but the code never reached the app: if the app is on another machine, click **Copy command** on the "✅ Signed in" page and run it on **the app's machine** ([guide](/en/ai-mcp/connect-claude-code/#case-b-claude-code-on-a-server-or-browserless-terminal)).
- The code expired (over 5 minutes): choose Authenticate again.

## The browser shows "can't connect" to localhost after sign-in

Older versions redirected straight to `localhost`. Now a "✅ Signed in" page is shown on `auth.hostino.ai`. If you still see this error, copy the full address from the address bar and run it on the app's machine: `curl '<address>'`.

## `invalid_client` error

The client the tool registered earlier is no longer recognised. Remove and re-add the server:

```bash
claude mcp remove hostino
claude mcp add --transport http --scope user hostino https://mcp.hostino.ai/mcp
```

## `list_domains` says `Missing permission "domains:read"`

Your connection was created before this tool existed. Re-authenticate once (`/mcp` → `hostino` → Re-authenticate) and approve **both** permissions on the consent page.

## "Sign-in failed" on the login page

- Use your **Hostino panel** email and password.
- With 2FA enabled, you'll be asked for the 6-digit code after your password.
- Several failed attempts in a row may temporarily block sign-in; wait a few minutes.

## `429 Too Many Requests`

You hit the [rate limit](/en/api/rate-limits/) (120 requests per minute per IP). Wait for the `RateLimit-Reset` header.

## Manual health check

```bash
# authorization server metadata
curl -s https://auth.hostino.ai/.well-known/oauth-authorization-server | head -c 200; echo
# MCP metadata
curl -s https://mcp.hostino.ai/.well-known/oauth-protected-resource; echo
# without a token you should get 401 with WWW-Authenticate
curl -si -X POST https://mcp.hostino.ai/mcp -H 'Content-Type: application/json' -d '{}' | grep -i -E '^HTTP|www-authenticate'
```

If these three respond correctly but the tool still doesn't connect, run a tool-independent test with the [browser console or curl](/en/api/getting-started/) to tell whether the issue is with the tool or with the account.

## Usage log and request id

In the panel → **API / MCP** → the **"Usage log"** tab shows which app or token called which tool or endpoint, when, and with what result:

| Column | Description |
|---|---|
| Time | When the request was made |
| App / token | The connected app (Claude, Cursor…) or API token |
| Action | The MCP tool name (when the call came through MCP), otherwise the method and API route template without ids |
| Result | "OK", "No permission" (the app lacks the scope) or "Error" with the HTTP code |
| Duration | Response time in milliseconds |
| Request id | `request_id` |

- Narrow the list with "Errors only" or by app/token; clicking a request ID copies it.
- The last **300 requests** from the **last 30 days** are kept.
- **No request or response content is stored** — only this summary.
- If you don't recognize an app, or it did something you didn't expect, disconnect it in "Connected apps" or revoke the token.

Every API response carries an `X-Request-Id` header, and error responses repeat it as `request_id`. **When you open a ticket about an error, include the `request_id`** (from the error response or from this log); support uses it to find the exact request.

## Getting help

If the problem persists, open a ticket from the [Hostino panel](/en/getting-started/panel-overview/) with: the tool and its version, the time of the attempt, the exact error text and the `request_id`. **Never put your token or password in a ticket.**
