MCPVault

close_document

MCP tool from Lsp MCP by Tritlo

Close a file in the LSP server

How to use it

close_document is exposed by the Lsp MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the close_document tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Lsp MCP

$npx tritlo/lsp-mcp <language> /path/to/lsp [lsp-args...]
FULL LSP MCP LISTING