unreal.MCPServerConfig

class unreal.MCPServerConfig

Bases: StructBase

Configuration for a single MCP server connection.

C++ Source:

  • Plugin: MCPClientToolset

  • Module: MCPClientToolset

  • File: MCPToolsetSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • api_key (str): [Read-Write] Optional API key sent as “Authorization: Bearer <ApiKey>”.

  • auth (MCPAuth): [Read-Write] Authentication method to use when connecting to this server.

  • description (str): [Read-Write] Human-readable description of this toolset, surfaced to the AI as context. If empty, the name is used instead.

  • enabled (bool): [Read-Write] Whether this server config is active. Disabled configs are skipped on startup.

  • name (str): [Read-Write] Display name for this MCP server (used as the toolset name).

  • o_auth_client_id (str): [Read-Write] OAuth 2.0 client ID. Leave empty to use RFC 7591 dynamic client registration (the server assigns a client ID automatically — no app registration required).

  • o_auth_scope (str): [Read-Write] OAuth 2.0 scope string, e.g. “read:me offline_access” (required when Auth = OAuth2).

  • server_url (str): [Read-Write] Base URL of the MCP server (e.g., http://localhost:3000).

  • transport (MCPTransport): [Read-Write] Transport protocol to use when connecting to this server.