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

# Get MCP Server

> Retrieves detailed information about a specific MCP server

## Path Parameters

<ParamField path="id" type="string" required>
  MCP server ID
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Whether the request was successful
</ResponseField>

<ResponseField name="server" type="object">
  MCP server details

  <Expandable title="Server Object">
    <ResponseField name="id" type="string">
      Unique server identifier
    </ResponseField>

    <ResponseField name="projectId" type="string">
      Associated project ID
    </ResponseField>

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

    <ResponseField name="description" type="string | null">
      Server description
    </ResponseField>

    <ResponseField name="url" type="string | null">
      Server URL
    </ResponseField>

    <ResponseField name="transportType" type="string">
      Transport type: `stdio`, `http`, or `sse`
    </ResponseField>

    <ResponseField name="connectionType" type="string">
      Connection type: `direct` or `proxy`
    </ResponseField>

    <ResponseField name="command" type="string | null">
      Command for stdio transport
    </ResponseField>

    <ResponseField name="args" type="string | null">
      Command arguments
    </ResponseField>

    <ResponseField name="status" type="string">
      Server status: `connecting`, `connected`, `disconnected`, or `error`
    </ResponseField>

    <ResponseField name="capabilities" type="object | null">
      Server capabilities
    </ResponseField>

    <ResponseField name="serverImplementation" type="object | null">
      Server implementation details
    </ResponseField>

    <ResponseField name="lastError" type="string | null">
      Last error message if any
    </ResponseField>

    <ResponseField name="lastConnectedAt" type="string | null">
      ISO 8601 timestamp of last connection
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      ISO 8601 timestamp of creation
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      ISO 8601 timestamp of last update
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.example.com/api/mcp/servers/mcp_abc123 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://api.example.com/api/mcp/servers/mcp_abc123',
    {
      method: 'GET',
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    }
  );

  const data = await response.json();
  ```

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

  response = requests.get(
      'https://api.example.com/api/mcp/servers/mcp_abc123',
      headers={'Authorization': 'Bearer YOUR_API_KEY'}
  )

  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "success": true,
    "server": {
      "id": "mcp_abc123",
      "projectId": "proj_123",
      "name": "Production Server",
      "description": "Main production MCP server",
      "url": "https://mcp-server.example.com",
      "transportType": "http",
      "connectionType": "proxy",
      "command": null,
      "args": null,
      "status": "connected",
      "capabilities": {
        "tools": true,
        "resources": true,
        "prompts": true
      },
      "serverImplementation": {
        "name": "Example MCP",
        "version": "1.0.0"
      },
      "lastError": null,
      "lastConnectedAt": "2026-01-17T10:30:00Z",
      "createdAt": "2026-01-01T00:00:00Z",
      "updatedAt": "2026-01-17T10:30:00Z"
    }
  }
  ```

  ```json Not Found theme={null}
  {
    "success": false,
    "message": "MCP server not found"
  }
  ```
</ResponseExample>
