MCP Language Server

Created By
isaacphia year ago
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
Overview

what is MCP Language Server?

MCP Language Server is a Model Context Protocol (MCP) server that runs a language server, providing tools for effective communication with it, especially in large projects.

how to use MCP Language Server?

To use the MCP Language Server, install Go, fetch the server, install a compatible language server for your codebase, and configure your MCP-enabled client with the appropriate settings.

key features of MCP Language Server?

  • Retrieves complete source code definitions of symbols.
  • Locates all usages and references of a symbol throughout the codebase.
  • Provides diagnostic information for specific files, including warnings and errors.
  • Supports code lens hints for additional context and actions.
  • Allows programmatic text edits to files.

use cases of MCP Language Server?

  1. Enhancing code navigation and understanding in large projects.
  2. Facilitating refactoring and code maintenance tasks.
  3. Improving collaboration in multi-file codebases.

FAQ from MCP Language Server?

  • What language servers are compatible with MCP Language Server?

It has been tested with pyright (Python), tsserver (TypeScript), gopls (Go), and rust-analyzer (Rust), but should work with many more.

  • Is there a specific setup required?

Yes, you need to install Go, a language server for your codebase, and configure your MCP-enabled client accordingly.

  • What is the current status of the MCP Language Server?

The project is currently in pre-beta quality.

Server Config

{
  "mcpServers": {
    "language-server": {
      "command": "go",
      "args": [
        "run",
        "github.com/isaacphi/mcp-language-server@latest",
        "--workspace",
        "/path/to/codebase/",
        "--lsp",
        "language-server-executable"
      ],
      "env": {
        "LOG_LEVEL": "INFO"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
isaacphi
Star
403
Language
Go
License
BSD-3-Clause license
Category
Tags

Recommend Servers

View All
Payai X402 Tools

an hour ago
Payai X402 Tools

an hour ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

a day ago