← Back to directory
A

Agent LSP

Community
Orchestrates language servers into code intelligence workflows for AI agents.
Category
Dev Tools #282 of 751
Stars
★ 192 Very popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Prebuilt binary
Credentials
No credential needed
License
MIT
Last commit
53FMRS · D

The source describes Agent LSP as an MCP orchestration layer for language servers, providing AI agents with code navigation, analysis, refactoring, and edit-preview workflows. The project claims 66 tools and CI verification across 33 languages; actual availability still depends on local language-server setup.

Strongest · Documentation 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
10/20
Maintenance
10/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 8/20
The manifest declares an npm package and stdio transport, and the README describes tools and workflows. The supplied material includes no server implementation, tool list, committed tests, or CI workflow to verify initialization, handshake, or actual behavior. The README claims CI verification, but this static review cannot verify that claim, so the score is limited.
Security and permissions 10/20
The material describes workflows that can edit files and run builds or tests, and says safe editing previews and verifies changes first; implementation evidence is absent, so permissions, confirmation, and isolation cannot be checked. The README recommends a token for HTTP mode and says not to put it in command-line arguments. The evidence does not support a red-line finding, but also does not establish comprehensive least privilege.
Maintenance 10/20
The material provides an MIT license, version 0.1.2, repository location, and non-archived status. It provides no release dates, commit history, dependency-update evidence, issue-response record, or security-response channel. Star and open-issue counts do not add maintenance points.
Documentation 13/20
The README gives several installation routes, mainstream client setup guidance, language-server prerequisites, tool and skill overviews, and HTTP-token and Docker instructions. Detailed tool parameters, troubleshooting, and limitations are mostly referred to in other documents that were not supplied. Performance and coverage figures cannot be independently verified from this material, so the score is not higher.
Setup experience 12/20
The README lays out installation, language-server installation, a doctor check, client configuration, and startup, with multiple platforms and distribution channels listed. Users must install the relevant language servers, some client configuration is manual, and the supplied material contains no verifiable execution evidence.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Coding-agent workflows that need language-server semantics, batch operations, or safer editing procedures.
  • Developers willing to install and configure the language servers their projects need.

Not for

  • Users who need only a language-server protocol endpoint without an MCP orchestration layer.
  • Projects without the relevant language servers available or configured.

Required permissions

  • Needs access to workspace files for language-server analysis; editing workflows may write files.
  • In stdio mode, the client starts a local agent-lsp process; the relevant language servers must also be available in the environment.
  • HTTP mode supports a bearer token. Configure a token and restrict network access as appropriate when exposing the service to other clients.

Risks and side effects

  • Language support depends on the relevant language server and project configuration; the README's CI verification claim does not guarantee every local setup will work.
  • Applying edits writes to disk; review previews and diagnostics and ensure workspace and client permissions are appropriate.
  • Indexing or previews may time out or remain incomplete, which can prevent some operations from being verified or returning complete results.

Setup

Before you start

Runtime:Prebuilt binary

AGENT_LSP_TOKEN optionalsecret Bearer token for HTTP mode; set it when starting the server with --http.
Other optional settings (1)
AGENT_LSP_OUTPUT_FORMAT optional Set to json to change tool responses to JSON; the default is GCF.

Install agent-lsp and the language servers needed by your project. Run agent-lsp doctor to check the configured servers, then agent-lsp init to generate client configuration. The README's stdio example configures gopls, TypeScript Language Server, and Pyright. The npm package is @blackwell-systems/agent-lsp. For HTTP use, the README also documents starting the server with Streamable HTTP.

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

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "agent-lsp": {
      "type": "stdio",
      "command": "agent-lsp",
      "args": [
        "go:gopls",
        "typescript:typescript-language-server,--stdio",
        "python:pyright-langserver,--stdio"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.agent-lsp]
command = "agent-lsp"
args = ["go:gopls", "typescript:typescript-language-server,--stdio", "python:pyright-langserver,--stdio"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add agent-lsp -- agent-lsp go:gopls typescript:typescript-language-server,--stdio python:pyright-langserver,--stdio

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the agent-lsp tools appear in your client's tool list, then ask it to run start_lsp for the workspace and inspect project diagnostics.

Troubleshooting

  1. Run agent-lsp doctor to check whether configured language servers start and report capabilities.
  2. Confirm required language servers are installed, available on PATH, and given the correct startup arguments.
  3. For first use, check that workspace indexing has completed; Python and TypeScript projects may use a persistent daemon for indexing.
  4. Check the client's MCP configuration for the command, language mappings, and arguments; for HTTP mode, also check the port, listen address, and bearer token.

Things to try

Once connected, you can ask your AI assistant things like:

  • Find all callers of a function in this project and separate test from non-test callers.
  • Preview the diagnostic impact of a rename, then apply it if it is safe.
  • Audit this Go type for concurrent access to fields without synchronization.

Use cases

Navigate symbols, analyze impact, and refactor large codebases or multiple projects.
Preview the diagnostic impact of edits before writing them to disk.
Add code intelligence to CI or polyglot development workflows.

Supported clients

Claude Code
Cursor
Windsurf
Gemini CLI
Codex
ChatGPT desktop app
ContinuePartial support
Cline
PiPartial support

Listed from the project's documentation, not tested by this site.

Overview

Agent LSP is an MCP orchestration server that manages existing language servers and exposes batch code analysis, safe edit previews, and multi-step workflows through MCP. The project describes 66 tools, 24 agent workflows, and CI verification for 33 languages. It is not itself a language server; language servers must be installed separately.

Similar servers

Source revision f1c87cc55a11 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/agent-lsp.svg)](https://followmcp.com/en/servers/agent-lsp)