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

# Get Server Info

> Get information about an MCP server

# Get Server Info

Get information about an MCP server, including its URL and authentication requirements.

## Request

```bash theme={null}
curl "https://api.mcprank.com/v1/mcp/server?server_id=ai.exa/exa" \
  -H "X-API-Key: sk_mcp_rank_..."
```

### Headers

<ParamField header="X-API-Key" type="string" required>
  Your MCP Rank API key
</ParamField>

### Query Parameters

<ParamField query="server_id" type="string" required>
  The MCP Rank server ID (e.g., `ai.exa/exa`)
</ParamField>

## Response

<ResponseField name="id" type="string">
  Server ID
</ResponseField>

<ResponseField name="name" type="string">
  Display name of the server
</ResponseField>

<ResponseField name="description" type="string">
  Description of what the server does
</ResponseField>

<ResponseField name="remote_url" type="string">
  The server's MCP endpoint URL
</ResponseField>

<ResponseField name="auth_required" type="boolean">
  Whether authentication is required to call this server
</ResponseField>

<ResponseField name="auth_type" type="string">
  Type of authentication required (if any)
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.mcprank.com/v1/mcp/server?server_id=ai.exa/exa" \
    -H "X-API-Key: sk_mcp_rank_..."
  ```

  ```python Python theme={null}
  import httpx

  async with httpx.AsyncClient() as client:
      response = await client.get(
          "https://api.mcprank.com/v1/mcp/server",
          params={"server_id": "ai.exa/exa"},
          headers={"X-API-Key": "sk_mcp_rank_..."}
      )
      server = response.json()
      print(f"Server: {server['name']}")
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "ai.exa/exa",
    "name": "Exa Web Search",
    "description": "Search the web with Exa's neural search engine",
    "remote_url": "https://mcp.exa.ai/v1/mcp",
    "auth_required": false,
    "auth_type": null
  }
  ```
</ResponseExample>

## Error Responses

| Status Code | Description                |
| ----------- | -------------------------- |
| 401         | Missing or invalid API key |
| 404         | Server not found           |
| 410         | Server is no longer active |
| 429         | Rate limit exceeded        |
