All files / src mcp-apps.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12    20x           20x      
/** MCP Apps (SEP-1865): the extension under which ui:// resources render as interactive views. */
 
export const MCP_APP_MIME_TYPE = 'text/html;profile=mcp-app';
 
/**
 * Server capability declaring MCP Apps. Extensions are negotiated (SEP-1724): a host renders
 * ui:// resources only from a server that declares the extension with their MIME type.
 */
export const MCP_APPS_EXTENSION = {
  'io.modelcontextprotocol/ui': { mimeTypes: [MCP_APP_MIME_TYPE] },
};