Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ป Developer Tools
  3. Lsp MCP
L
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Lsp MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository

Universal LSP MCP server

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lsp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lsp-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Documentation Overview

Universal LSP MCP Server

One MCP server to rule all Language Servers โ€” automatic language detection, zero-config setup.

License: Apache-2.0 npm version Node.js Platform

Overview

A Model Context Protocol (MCP) server that gives language models access to Language Server Protocol (LSP) functionality across all major programming languages. Unlike existing LSP-MCP servers, this project supports 13 languages out of the box with zero manual configuration โ€” it automatically detects your codebase, selects the right language server, and exposes all LSP operations through a stable, language-independent tool interface.

Supported Languages

LanguageLanguage ServerAuto-Detected Via
Pythonpyright / pylsppyproject.toml, setup.py
TypeScripttypescript-language-servertsconfig.json
JavaScripttypescript-language-serverpackage.json
C#omnisharp*.csproj, *.sln
Javavscode-java / jdtlspom.xml, build.gradle
Gogoplsgo.mod
Rustrust-analyzerCargo.toml
C / C++clangd*.c, *.cpp, *.h
RubysolargraphGemfile
PHPintelephensecomposer.json
Kotlinkotlin-language-serverbuild.gradle.kts
Swiftsourcekit-lspPackage.swift

Features

  • ๐Ÿ” Automatic Language Detection โ€” Scans project root for language markers (package.json, Cargo.toml, go.mod, etc.)
  • ๐Ÿ”„ Auto Language Server Selection โ€” Hardcoded mapping with fallback servers; installs missing LSPs automatically
  • ๐Ÿค– Hands-Free Initialization โ€” Clients that support MCP Roots auto-initialize on connect โ€” lsp_init disappears from the tool list once all servers start cleanly
  • ๐Ÿ’พ Cross-Session Persistence โ€” Initialized workspaces and their ready languages are remembered across server restarts
  • ๐Ÿ” Graceful Degradation โ€” lsp_init reappears if a previously-working server starts failing (e.g. language added, binary missing)
  • ๐Ÿ›  12 LSP Tools โ€” Definition, references, symbols, diagnostics, rename, code actions, formatting, and more
  • ๐Ÿ“ Read & Write Operations โ€” Both inspection and modification of code via LSP
  • ๐ŸŒ Polyglot Support โ€” Multiple language servers run simultaneously in the same project
  • ๐Ÿ“‹ Hybrid Responses โ€” Human-readable text field + raw LSP data in raw field
  • ๐Ÿ”Œ MCP Stdio Protocol โ€” Works with any MCP-compatible client
  • โšก Zero Config โ€” Install and run, no per-language setup required

Installation

Important: Install lsp-mcp on the same machine where your code lives. The language servers it manages need direct filesystem access to your codebase โ€” they cannot work over a remote connection or on a different machine than your source files.

bash
# npm
npm install -g @theupsider/lsp-mcp@latest

# bun
bun install -g @theupsider/lsp-mcp@latest

Quickstart

VS Code / Cursor

Add to your workspace .vscode/mcp.json (recommended โ€” ensures the server runs on the same machine as your code, including SSH remotes, WSL, and Dev Containers):

config.json
{
  "servers": {
    "lsp-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@theupsider/lsp-mcp@latest"]
    }
  }
}

Why workspace config? VS Code runs servers defined in .vscode/mcp.json wherever the workspace lives. Servers defined in your user profile always run locally โ€” which breaks LSP when your code is on a remote machine.

CLI

bash
# Run the server (reads from stdin, writes to stdout)
lsp-mcp

The server starts with no active project. Most clients auto-initialize when they support the MCP Roots protocol (VS Code, Copilot, etc.), but lsp_init remains available as a manual override.

For clients without Roots support, the first action the model must take is calling lsp_init:

Code
lsp_init({ root: "/path/to/your/project" })

lsp_init will:

  1. Scan the root for language markers and start matching language servers (best-effort)
  2. Disappear from the tool list when you called it explicitly โ€” subsequent calls to any LSP tool trigger lazy server startup for that file's language if no server was detected at init time
  3. Return health status for all servers that were started eagerly

Optional: pre-warm specific languages (skips detection, faster cold start):

Code
lsp_init({ root: "/path/to/project", languages: ["python", "typescript"] })

Persistence: Once initialized, the workspace configuration (detected languages) is saved to your OS-standard config directory (~/.config/lsp-mcp/ on Linux, ~/Library/Application Support/lsp-mcp/ on macOS, %APPDATA%\lsp-mcp\ on Windows). On subsequent server startups, the MCP server will automatically reconnect using the last-known root, so you rarely need to call lsp_init again.

Re-emergence: If a language server that was previously healthy fails to start (e.g. you added a new language or removed a binary), lsp_init will reappear in the tool list, signaling the model should re-initialize.

Available Tools

Read-Only Tools

ToolDescriptionKey ParametersVisibility
lsp_initInitialize server for a project rootroot (required), languages (optional string array)Conditional โ€” hidden after a successful explicit lsp_init call
lsp_definitionGo to definitionfile, line, characterAlways
lsp_referencesFind all referencesfile, line, characterAlways
lsp_document_symbolsList symbols in a filefileAlways
lsp_workspace_symbolsSearch symbols across workspacequery (limit: 100โ€“500 results)Always
lsp_diagnosticsGet errors & warningsfile (scope: file or workspace)Always
lsp_type_definitionGo to type definitionfile, line, characterAlways
lsp_implementationFind implementationsfile, line, characterAlways
lsp_healthCheck status of all LSP servers(none)Always

Write Tools

ToolDescriptionKey Parameters
lsp_renameRename symbolfile, line, character, newName
lsp_code_actionApply / list code actionsfile, line, character, apply
lsp_formattingFormat documentfile
lsp_range_formattingFormat code rangefile, range

Configuration

Environment VariableDescriptionDefault
LSP_MCP_LOG_LEVELLog level: error, info, debuginfo

Setup Scripts

Two helper scripts are included for setting up a development environment:

  • setup-languages-ubuntu24.sh โ€” Installs all language runtimes, compilers, and toolchains on Ubuntu 24.04 (Python, Node.js, Java, Go, Rust, Ruby, PHP, Kotlin, Swift, etc.)
  • setup-lsp.sh โ€” Installs all language servers (pyright, typescript-language-server, omnisharp, jdtls, gopls, rust-analyzer, clangd, solargraph, intelephense, kotlin-language-server)
bash
# 1. Install language runtimes
chmod +x setup-languages-ubuntu24.sh
./setup-languages-ubuntu24.sh

# 2. Install language servers
chmod +x setup-lsp.sh
./setup-lsp.sh

# 3. Reload PATH
source ~/.bashrc

Troubleshooting

Language server not found

If a language server cannot be auto-installed, the server logs a structured error and continues running for other languages. Manually install the missing server:

bash
# Python
pipx install python-lsp-server

# C#
dotnet tool install -g omnisharp-roslyn

# Java
npm install -g vscode-java

# Ruby
gem install solargraph

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    ๐Ÿ’ป Developer Tools1 views
    Compare vs PraisonAI โ†’
  • Universal Blockchain logoUniversal Blockchain

    ZetaChain universal blockchain MCP server

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Universal Blockchain โ†’
  • Blbl147 Xhs MCP logoBlbl147 Xhs MCP

    ๆœ็ดข็ฌ”่ฎฐใ€ๆต่งˆ้ฆ–้กตๆŽจ่ใ€ๆŸฅ็œ‹็ฌ”่ฎฐๅ†…ๅฎนไธŽ่ฏ„่ฎบ๏ผŒๅนถๅ‘่กจไฝ ็š„่ฏ„่ฎบใ€‚็›ดๆŽฅๅœจๅทฅไฝœๆตไธญไธŽๅฐ็บขไนฆๅ†…ๅฎนไบ’ๅŠจ๏ผŒ้ซ˜ๆ•ˆ่ทŸ่ฟ›่ฏ้ข˜ใ€‚

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Blbl147 Xhs MCP โ†’
  • Wix MCP logoWix MCP

    A Model Context Protocol server for Wix AI tools

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Wix MCP โ†’

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Lsp MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "lsp-mcp": { "command": "npx", "args": ["-y", "lsp-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLsp MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lsp-mcp?style=directory)](https://allmcps.com/mcp/lsp-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/lsp-mcp"><img src="https://allmcps.com/api/badge/lsp-mcp?style=directory" alt="Lsp MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
23Quality signal: Emerging ยท 23/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools8/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ป Developer Tools โ†’Best MCP servers for Developers โ†’Alternatives to Lsp MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code