MCPServerStreamableHttp
此内容尚不支持你的语言。
Extends
Section titled “Extends”BaseMCPServerStreamableHttp
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MCPServerStreamableHttp(options): MCPServerStreamableHttp;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”MCPServerStreamableHttp
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.constructorProperties
Section titled “Properties”cacheToolsList
Section titled “cacheToolsList”cacheToolsList: boolean;Inherited from
Section titled “Inherited from”BaseMCPServerStreamableHttp.cacheToolsListtoolFilter?
Section titled “toolFilter?”optional toolFilter: | MCPToolFilterStatic | MCPToolFilterCallable;Inherited from
Section titled “Inherited from”BaseMCPServerStreamableHttp.toolFilterAccessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get name(): string;Returns
Section titled “Returns”string
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.nameMethods
Section titled “Methods”callTool()
Section titled “callTool()”callTool(toolName, args): Promise<object[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<object[]>
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.callToolclose()
Section titled “close()”close(): Promise<void>;Returns
Section titled “Returns”Promise<void>
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.closeconnect()
Section titled “connect()”connect(): Promise<void>;Returns
Section titled “Returns”Promise<void>
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.connectinvalidateToolsCache()
Section titled “invalidateToolsCache()”invalidateToolsCache(): Promise<void>;Returns
Section titled “Returns”Promise<void>
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.invalidateToolsCachelistTools()
Section titled “listTools()”listTools(): Promise<object[]>;Returns
Section titled “Returns”Promise<object[]>
Overrides
Section titled “Overrides”BaseMCPServerStreamableHttp.listTools