> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Inspector

> Test and debug the Autype MCP server with the official inspector tool

The MCP Inspector is an official debugging tool for testing MCP servers. Use it to verify your Autype MCP connection, explore available tools, and test tool calls interactively.

## Installation

Install the MCP Inspector globally via npm:

```bash theme={null}
npm install -g @modelcontextprotocol/inspector
```

Or use npx to run it without installing:

```bash theme={null}
npx @modelcontextprotocol/inspector
```

## Connecting to Autype MCP

```bash theme={null}
mcp-inspector \
  --transport http \
  --url https://mcp.autype.com/mcp/ \
  --header "X-API-Key: YOUR_API_KEY"
```

Replace `YOUR_API_KEY` with your actual API key from the [Dashboard](https://app.autype.com).

## Using the Inspector

Once connected, the Inspector opens a web interface (usually at `http://localhost:5173`) where you can:

1. **View available tools** — See all 17 Autype tools with their parameters and descriptions
2. **Read resources** — Inspect the document schema resources (`autype://schemas/document`, etc.)
3. **Test tool calls** — Call tools interactively and see the responses
4. **Debug errors** — View detailed error messages and request/response logs

## Example workflow

1. **List tools** — Verify all Autype tools are available
2. **Read schema** — Open `autype://schemas/document` to see the full document structure
3. **Test render** — Call `render_markdown` with sample content:
   ```json theme={null}
   {
     "content": "# Test Document\n\nThis is a test.",
     "document_type": "pdf"
   }
   ```
4. **Check response** — Verify you receive a `downloadUrl` in the response

## Troubleshooting

### 401 Unauthorized

If you see "401 Unauthorized":

* Verify your API key is correct
* Check the header format: `--header "X-API-Key: YOUR_API_KEY"` (with quotes)
* Ensure the API key is active in the [Dashboard](https://app.autype.com)

### Tools not showing up

If no tools appear in the Inspector:

* Try reconnecting with the Inspector
* Verify the URL is exactly `https://mcp.autype.com/mcp/` (trailing slash required)

## Next steps

Once you've verified the connection with the Inspector, you can connect your AI agent or IDE using the same URL and API key.

<CardGroup cols={2}>
  <Card title="Claude Desktop" icon="message-square" href="/automation/integrations/mcp/claude-desktop">
    Connect to Claude Desktop app
  </Card>

  <Card title="Cursor" icon="code" href="/automation/integrations/mcp/cursor">
    Connect to Cursor IDE
  </Card>

  <Card title="Windsurf" icon="wind" href="/automation/integrations/mcp/windsurf">
    Connect to Windsurf IDE
  </Card>

  <Card title="VS Code" icon="code-2" href="/automation/integrations/mcp/vscode">
    Connect to VS Code with Copilot
  </Card>
</CardGroup>
