Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Semantic Code Server

БесплатноНе проверен

Bridges MCP and LSP to enable semantic code analysis, including go-to-definition, find references, hover info, and function call relationship checks.

GitHubEmbed

Описание

Bridges MCP and LSP to enable semantic code analysis, including go-to-definition, find references, hover info, and function call relationship checks.

README

This is a Model Context Protocol (MCP) server that provides semantic code analysis capabilities using the Language Server Protocol (LSP).

Features

  • Semantic Navigation: Go to definition, find references, hover info.
  • Relationship Analysis: Check if function A calls function B (using LSP references).

Architecture

This server acts as a bridge between MCP and LSP. It spawns a typescript-language-server instance and translates MCP tool calls into LSP JSON-RPC requests.

Tools

  • get_definition: Find where a symbol is defined.
  • get_references: Find all usages of a symbol.
  • search_in_file: Search for a string in a file to find its line and character position.
  • check_function_call: Analyze if one function calls another.

Usage

Installation

  1. Clone the repository:

    git clone [email protected]:thousandmiles/lsp-mcp-server.git
    cd lsp-mcp-server
    
  2. Run the setup script to build the project and generate the configuration:

    ./setup.sh
    
  3. Copy the output JSON and paste it into your MCP client configuration file.

Manual Setup

  1. Install dependencies and build:

    npm install
    npm run build
    
  2. Configure your MCP client (e.g. Claude Desktop) to run this server:

    {
      "mcpServers": {
        "semantic-code": {
          "command": "node",
          "args": ["/path/to/code_node/build/index.js"]
        }
      }
    }
    

from github.com/thousandmiles/lsp-mcp-server

Установка Semantic Code Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/thousandmiles/lsp-mcp-server

FAQ

Semantic Code Server MCP бесплатный?

Да, Semantic Code Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Semantic Code Server?

Нет, Semantic Code Server работает без API-ключей и переменных окружения.

Semantic Code Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Semantic Code Server в Claude Desktop, Claude Code или Cursor?

Открой Semantic Code Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Semantic Code Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development