Agent Lsp MCP Server

agent-lsp is an **MCP server** that orchestrates existing LSP servers (gopls, rust-analyzer, jdtls, etc.) into agent-native workflows.

Local serverstdioPython

What is the Agent Lsp MCP Server?

agent-lsp is an MCP server that orchestrates existing LSP servers (gopls, rust-analyzer, jdtls, etc.) into agent-native workflows.

What you get

  • /lsp-refactor → impact analysis → preview → apply → verify build → run tests
  • /lsp-safe-edit → preview → diagnostic diff → apply if safe
  • /lsp-verify → LSP diagnostics → build → test suite

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Agent Lsp MCP Server

{
  "mcpServers": {
    "lsp": {
      "type": "stdio",
      "command": "agent-lsp",
      "args": [
        "go:gopls",
        "typescript:typescript-language-server,--stdio",
        "python:pyright-langserver,--stdio"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Agent Lsp to Documentation.”
  • “Use Agent Lsp to Contributing.”

Frequently asked questions

agent-lsp is an **MCP server** that orchestrates existing LSP servers (gopls, rust-analyzer, jdtls, etc.) into agent-native workflows. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.