PlatformMcpSettings
@tsed/platform-mcp
Usage
typescript
import { PlatformMcpSettings } from "@tsed/platform-mcp";See /packages/platform/platform-mcp/src/interfaces/PlatformMcpSettings.ts.
Overview
ts
interface PlatformMcpSettings {
path?: string;
enabled?: boolean;
name?: string;
version?: string;
tools?: TokenProvider[];
resources?: TokenProvider[];
prompts?: TokenProvider[];
transportOptions?: StreamableHTTPServerTransportOptions;
}Description
Configuration fragment accepted under configuration.mcp to wire the Platform MCP module.
path
ts
path?: string;Mount path for the MCP endpoint. Defaults to /mcp.
enabled
ts
enabled?: boolean;Whether the HTTP endpoint should be enabled. Defaults to true.
name
ts
name?: string;Optional name reported to MCP clients. Falls back to the Ts.ED app name.
version
ts
version?: string;Optional version reported to MCP clients. Falls back to the Ts.ED app version.
tools
ts
tools?: TokenProvider[];Optional tokens registered through configuration.
resources
ts
resources?: TokenProvider[];prompts
ts
prompts?: TokenProvider[];transportOptions
ts
transportOptions?: StreamableHTTPServerTransportOptions;Optional transport options for the MCP server.