Class: MCPClient

MCPClient()

MCP Client for Semem UI Handles communication with the MCP server and manages the UI state

Constructor

new MCPClient()

Source:

Classes

MCPClient

Methods

(async) connect()

Connect to MCP server

.

Connect to MCP server

Source:

(async) disconnect()

Disconnect from MCP server

.

Disconnect from MCP server

Source:

formatUptime()

Format uptime in a human-readable format

.

Format uptime in a human-readable format

Source:

(async) loadCapabilities()

Load server capabilities (tools, resources, prompts)

.

Load server capabilities (tools, resources, prompts)

Source:

setupTabs()

Setup MCP internal tabs

.

Setup MCP internal tabs

Source:

(async) toggleConnection()

Toggle connection to MCP server

.

Toggle connection to MCP server

Source:

updatePromptsList()

Update prompts list display

.

Update prompts list display

Source:

updateResourcesList()

Update resources list display

.

Update resources list display

Source:

updateServerInfo()

Update server information display

.

Update server information display

Source:

updateStatus()

Update connection status display

.

Update connection status display

Source:

updateToolsList()

Update tools list display

.

Update tools list display

Source:

updateUI()

Update the UI state

.

Update the UI state

Source: