Skip to content

Documentation / @agentick/mcp / CreateMCPAppOptions

Interface: CreateMCPAppOptions ​

Defined in: client/apps.ts:72

Properties ​

enforceVisibility? ​

optional enforceVisibility: boolean

Defined in: client/apps.ts:88

Optional: enforce visibility rules. Default: true. When enabled, tool calls from the iframe are rejected if the tool's _meta.ui.visibility doesn't include "app".


hostCapabilities ​

hostCapabilities: McpUiHostCapabilities

Defined in: client/apps.ts:80

Host capabilities to advertise (display modes, themes, etc.).


hostInfo ​

hostInfo: object

Defined in: client/apps.ts:82

Host implementation info.

name ​

name: string

version ​

version: string


iframe ​

iframe: IframeLike

Defined in: client/apps.ts:78

The iframe element rendering the ui:// resource.


mcpClient ​

mcpClient: MCPClient

Defined in: client/apps.ts:74

The MCPClient that owns the connection to the server hosting the ui:// resource.


serverName ​

serverName: string

Defined in: client/apps.ts:76

The server name to route tool calls to.

Released under the ISC License.