---
title: "Get MCP server"
url: https://hexelstudio.com/docs/api/titan/tool-registry/get-mcp-server
---

# Get MCP server

**GET** `/titan/tools/mcp-servers/{id}`

A system server or one of the caller's organization; another organization's server is 404.

Requires permission `tool-gateway:tool:read`.

## Path parameters

- `id: string`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

- `X-Workspace-Id: optional string`

  Workspace scope used by permission checks, if applicable.

- `X-Environment-Id: optional string`

  Optional environment scope.

## Returns

`200` OK (`MCPServerDetailResponse`)

- `latest_import: optional MCPImport`

  - `auth_mode: string`

    One of: `"none"`, `"bearer"`, `"connection"`

  - `changes: optional ImportChanges`

    - `added: optional array of string`

    - `retired: optional array of string`

    - `unchanged: optional array of string`

    - `updated: optional array of string`

  - `content_digest: string`

  - `error: optional string`

  - `import_id: string`

  - `protocol_version: optional string`

  - `retrieved_at: string`

  - `server_id: string`

  - `server_info: optional object`

    The server's MCP Implementation object (name, version, ...) from initialize.

  - `server_url: optional string`

    Provenance (migration 000042): the URL called, the negotiated protocol
version, the server's self-description, how tools/list was
authenticated (none, bearer or connection; never the credential), the
tools not imported with their reasons, the change against the tools
already in the registry, and for a successful import the recording
(titan capgen.MCPRecording) itself.

  - `skipped: array of MCPSkippedTool`

    - `reason: string`

    - `tool: string`

  - `status: string`

    One of: `"success"`, `"failed"`

  - `tool_count: integer`

- `server: optional MCPServer`

  - `auth_toolkit: optional string`

  - `created_at: string`

  - `discovery_connection: optional string`

  - `discovery_organization: optional string`

  - `name: string`

  - `official_name: optional string`

  - `official_version: optional string`

  - `owner_organization_id: optional string`

  - `requires_auth: boolean`

    RequiresAuth records that tools/list answered 401/403 without
credentials. DiscoveryConnection and DiscoveryOrganization name the
connection a scheduled re-import authenticates with (the last
connection-authenticated import's); never a token.

  - `scope: string`

    Scope is "system" or "organization"; OwnerOrganizationID is the owner
of an organization server (absent for a system server). The imported
toolkit MCP_<SERVER> has the same owner.

    One of: `"organization"`, `"system"`

  - `server_id: string`

  - `server_slug: string`

  - `source: string`

    One of: `"custom"`, `"official"`

  - `status: string`

    One of: `"registered"`, `"imported"`, `"failed"`

  - `updated_at: optional string`

  - `url: string`

## Errors

- `400` Bad Request
- `401` Unauthenticated: token missing or rejected at the edge
- `403` Forbidden: caller lacks the required permission
- `404` Not Found
- `500` Internal Server Error

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/tools/mcp-servers/{id}' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "latest_import": {
    "auth_mode": "none",
    "changes": {
      "added": [
        "string"
      ],
      "retired": [
        "string"
      ],
      "unchanged": [
        "string"
      ],
      "updated": [
        "string"
      ]
    },
    "content_digest": "string",
    "error": "string",
    "import_id": "00000000-0000-0000-0000-000000000000",
    "protocol_version": "string",
    "retrieved_at": "2026-01-01T00:00:00Z",
    "server_id": "00000000-0000-0000-0000-000000000000",
    "server_info": {},
    "server_url": "string",
    "skipped": [
      {
        "reason": "string",
        "tool": "string"
      }
    ],
    "status": "success",
    "tool_count": 0
  },
  "server": {
    "auth_toolkit": "string",
    "created_at": "2026-01-01T00:00:00Z",
    "discovery_connection": "string",
    "discovery_organization": "string",
    "name": "string",
    "official_name": "string",
    "official_version": "string",
    "owner_organization_id": "string",
    "requires_auth": true,
    "scope": "organization",
    "server_id": "00000000-0000-0000-0000-000000000000",
    "server_slug": "string",
    "source": "custom",
    "status": "registered",
    "updated_at": "2026-01-01T00:00:00Z",
    "url": "string"
  }
}
```

### Response (400)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```

### Response (404)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```

### Response (500)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
