McpUiResourceCspSchema | MCP Apps
https://apps.extensions.modelcontextprotocol.io/api/variables/app.McpUiResourceCspSchema.html • 12 KB fetched Open original page
McpUiResourceCspSchema | MCP Apps
MCP Apps GitHub Specification
Preparing search index...
* app
* McpUiResourceCspSchema
Variable McpUiResourceCspSchema Const
McpUiResourceCspSchema : ZodObject <
{
baseUriDomains : ZodOptional < ZodArray < ZodString > > ;
connectDomains : ZodOptional < ZodArray < ZodString > > ;
frameDomains : ZodOptional < ZodArray < ZodString > > ;
resourceDomains : ZodOptional < ZodArray < ZodString > > ;
} ,
$strip ,
> = ...
Description
Content Security Policy configuration for UI resources.
Servers declare which origins their UI requires. Hosts use this to enforce appropriate CSP headers.
Important
MCP App HTML runs in a sandboxed iframe with no same-origin server.
All origins must be declared—including where your bundled JS/CSS is
served from ( localhost in dev, your CDN in production).
* Defined in src/generated/schema.ts:215
Settings
Member Visibility
* Protected
* Inherited
* External
Theme OS Light Dark
GitHub Specification MCP Apps
* Loading...
Generated using TypeDoc with typedoc-github-theme
Links found on this page
- MCP Apps [direct]
- GitHub [direct]
- Specification [direct]
- app [direct]
- McpUiResourceCspSchema [direct]
- src/generated/schema.ts:215 [direct]
- MCP Apps [direct]
- TypeDoc [direct]
- typedoc-github-theme [direct]
|
|