mcp-use TypeScript API
    Preparing search index...

    Class ReleaseMCPServerConnectionTool

    Deactivates the current MCP server without closing its client session.

    Hierarchy

    • MCPServerTool<typeof ReleaseConnectionSchema>
      • ReleaseMCPServerConnectionTool
    Index
    description: string = "Disconnect from the currently active MCP (Model Context Protocol) server"

    Tool description exposed to the model.

    name: string = "disconnect_from_mcp_server"

    Tool name exposed to the model.

    schema: ZodObject<{}, $strip> = ReleaseConnectionSchema

    Empty input schema.

    • get manager(): IServerManager

      Returns IServerManager

      The server manager operated by this tool.

    • Returns Promise<string>

      A message identifying the deactivated server, or stating there is none.