pub struct McplsServer { /* private fields */ }Expand description
MCP server that exposes LSP capabilities as tools.
Implementations§
Source§impl McplsServer
impl McplsServer
Sourcepub fn new(translator: Arc<Mutex<Translator>>) -> Self
pub fn new(translator: Arc<Mutex<Translator>>) -> Self
Create a new MCP server with the given translator.
Sourcepub fn get_hover_tool_attr() -> Tool
pub fn get_hover_tool_attr() -> Tool
Generated tool metadata function for get_hover
Sourcepub fn get_definition_tool_attr() -> Tool
pub fn get_definition_tool_attr() -> Tool
Generated tool metadata function for get_definition
Sourcepub fn get_references_tool_attr() -> Tool
pub fn get_references_tool_attr() -> Tool
Generated tool metadata function for get_references
Sourcepub fn get_diagnostics_tool_attr() -> Tool
pub fn get_diagnostics_tool_attr() -> Tool
Generated tool metadata function for get_diagnostics
Sourcepub fn rename_symbol_tool_attr() -> Tool
pub fn rename_symbol_tool_attr() -> Tool
Generated tool metadata function for rename_symbol
Sourcepub fn get_completions_tool_attr() -> Tool
pub fn get_completions_tool_attr() -> Tool
Generated tool metadata function for get_completions
Sourcepub fn get_document_symbols_tool_attr() -> Tool
pub fn get_document_symbols_tool_attr() -> Tool
Generated tool metadata function for get_document_symbols
Sourcepub fn format_document_tool_attr() -> Tool
pub fn format_document_tool_attr() -> Tool
Generated tool metadata function for format_document
Sourcepub fn workspace_symbol_search_tool_attr() -> Tool
pub fn workspace_symbol_search_tool_attr() -> Tool
Generated tool metadata function for workspace_symbol_search
Sourcepub fn get_code_actions_tool_attr() -> Tool
pub fn get_code_actions_tool_attr() -> Tool
Generated tool metadata function for get_code_actions
Sourcepub fn prepare_call_hierarchy_tool_attr() -> Tool
pub fn prepare_call_hierarchy_tool_attr() -> Tool
Generated tool metadata function for prepare_call_hierarchy
Sourcepub fn get_incoming_calls_tool_attr() -> Tool
pub fn get_incoming_calls_tool_attr() -> Tool
Generated tool metadata function for get_incoming_calls
Sourcepub fn get_outgoing_calls_tool_attr() -> Tool
pub fn get_outgoing_calls_tool_attr() -> Tool
Generated tool metadata function for get_outgoing_calls
Sourcepub fn get_cached_diagnostics_tool_attr() -> Tool
pub fn get_cached_diagnostics_tool_attr() -> Tool
Generated tool metadata function for get_cached_diagnostics
Sourcepub fn get_server_logs_tool_attr() -> Tool
pub fn get_server_logs_tool_attr() -> Tool
Generated tool metadata function for get_server_logs
Sourcepub fn get_server_messages_tool_attr() -> Tool
pub fn get_server_messages_tool_attr() -> Tool
Generated tool metadata function for get_server_messages
Trait Implementations§
Source§impl Clone for McplsServer
impl Clone for McplsServer
Source§fn clone(&self) -> McplsServer
fn clone(&self) -> McplsServer
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more