> For the complete documentation index, see [llms.txt](https://legisratio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legisratio.gitbook.io/docs/legisratio-mcp-server/troubleshooting.md).

# Troubleshooting

## How to connect to MCP Inspector

The MCP Inspector is your primary tool for debugging MCP servers. It acts as a client interface, allowing you to manually execute tools, inspect resources, and test prompts in a controlled environment before connecting your server to a real AI client (like Claude Desktop or Mistral LeChat).

{% stepper %}
{% step %}

### Launching the MCP Inspector

Run the inspector standalone:

```bash
npx @modelcontextprotocol/inspector
```

Open the provided URL (usually works better in incognito mode).
{% endstep %}

{% step %}

### Connect to the MCP Server

In the connection panel, select and insert the following values in the correct fields:

* Transport Type: **Streamable HTTP**
* URL: <kbd>**<http://mcp.legisratio.com/mcp>**</kbd>
* Connection Type: **Via Proxy**

Click on **Open Auth Settings** to connect your Plus subscription for authentication and follow the steps.

After the authentication click **Connect**.

<figure><picture><source srcset="/files/2z3xPWFDDpGjoTYoB4IZ" media="(prefers-color-scheme: dark)"><img src="/files/xPkp2O5dpfNxR6nvXDKU" alt=""></picture><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Ensure the Server connection is working

Select a Tool from the Tools List and run it.

<figure><picture><source srcset="/files/VTId97aL42lMmzGbGblm" media="(prefers-color-scheme: dark)"><img src="/files/kmrevoyjVn5AN6MChZke" alt=""></picture><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
