Skip to the content.

Troubleshooting

Start with mcpsonar doctor. It checks Python, the MCP SDK, your config file, the database, TLS, the running instance, your API token and risky settings, without changing anything and without printing a credential. For the demo, see demo/troubleshooting.md.

Installing

Starting the monitor

Signing in

The dashboard

A server’s status

What you see What it means What to do
up · auth required The server answers 401/403: it is alive but needs credentials (e.g. OAuth). Tools are not listed. Add an Authorization header to check it fully.
degraded · rate limited (429) The server is throttling the checks. Raise check_interval_seconds.
degraded · unreviewed tool change A tool definition changed since it was pinned. Review it: mcpsonar diff NAME, or Review in the dashboard.
down · header ‘X’: ‘${env:…}’: environment variable not set (or file not found) A secret reference could not be resolved. Set the variable or create the file (see secret references).
down · outbound policy blocked HOST: … The outbound policy refused the address (cloud metadata, or a MCPSONAR_OUTBOUND_DENY match). Check the outbound policy.
down · TLS / certificate error The certificate is not trusted from this host. mcpsonar doctor checks TLS. Enterprise CAs: see the TLS note in the configuration.

stdio servers

In CI

Exit code Meaning
0 No findings at or above --fail-on, and no change from the lockfile.
1 Findings, or the tools changed since the lockfile. If the change is legitimate, accept it with --update-lock and commit the lockfile.
2 Could not run: server unreachable, or a usage error. Check the URL, the headers (secrets), and whether the runner can reach the server.

Still stuck?

Open an issue. Include the output of mcpsonar doctor and mcpsonar version; neither prints credentials.