serve

Function serve 

Source
pub async fn serve(config: ServerConfig) -> Result<(), Error>
Expand description

Start the MCPLS server with the given configuration.

This is the primary entry point for running the MCP-LSP bridge.

ยงErrors

Returns an error if:

  • LSP server initialization fails
  • MCP server setup fails
  • Configuration is invalid