Options
此内容尚不支持你的语言。
Defined in: Server.ts:7
Options for one transport; registrations are built in that transport’s scope.
Properties
Section titled “Properties”cacheHints?
Section titled “cacheHints?”readonly cacheHints?: CacheHints;Defined in: Server.ts:18
description?
Section titled “description?”readonly description?: string;Defined in: Server.ts:10
extensions?
Section titled “extensions?”readonly extensions?: Record<string, unknown>;Defined in: Server.ts:19
icons?
Section titled “icons?”readonly icons?: readonly Icon[];Defined in: Server.ts:12
instructions?
Section titled “instructions?”readonly instructions?: string;Defined in: Server.ts:13
readonly name: string;Defined in: Server.ts:8
protocols
Section titled “protocols”readonly protocols: readonly [ProtocolAdapter<ProtocolVersion, RuntimeDescriptor>, ProtocolAdapter<ProtocolVersion, RuntimeDescriptor>];Defined in: Server.ts:14
registrations
Section titled “registrations”readonly registrations: Layer<never, never, Graft | McpServer>;Defined in: Server.ts:20
version
Section titled “version”readonly version: string;Defined in: Server.ts:9
websiteUrl?
Section titled “websiteUrl?”readonly websiteUrl?: string;Defined in: Server.ts:11