MCP-MultilspyLSP

by asimihsan
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Supports language intelligence for Dart code through the Dart Language Server, offering completions, definitions, and static analysis capabilities

  • Provides language intelligence features for JavaScript code including completions, definitions, references, and document symbols through TypeScriptLanguageServer

  • Required for JavaScript/TypeScript language server support, enabling intelligence features for Node.js projects

MCP-MultilspyLSP

multilspy를 통해 언어 서버 프로토콜(LSP) 기능을 제공하는 MCP 서버입니다.

이게 뭔가요?

이 프로젝트는 언어 모델이 언어 서버 프로토콜(LSP)의 언어 지능 기능에 접근할 수 있도록 하는 MCP(모델 컨텍스트 프로토콜) 서버를 제공합니다. 다양한 언어 서버와의 인터페이스를 간소화하는 Python 라이브러리인 multilspy를 사용합니다.

특징

  • 언어 지능 : 코드 완성, 정의, 참조 등을 찾아보세요
  • 다국어 지원 : Python, Java, TypeScript 등 여러 프로그래밍 언어와 호환됩니다.
  • 간편한 통합 : Claude Desktop과 같은 모든 MCP 호환 클라이언트와 호환됩니다.
  • 정적 분석 : 코드 이해를 위해 언어 서버의 힘 활용

설치

지엑스피1

용법

서버를 직접 시작하세요:

mcp-multilspy

또는 Claude Desktop에 설치하세요:

mcp install mcp-multilspy

지원 언어

  • 자바(Eclipse JDTLS)
  • 파이썬(제다이 언어 서버)
  • 녹(녹 분석기)
  • C#(OmniSharp/RazorSharp)
  • 타입스크립트(TypeScriptLanguageServer)
  • JavaScript(TypeScriptLanguageServer)
  • 가다(gopls)
  • Dart(Dart 언어 서버)
  • 루비(솔라그래프)

MCP 클라이언트와 함께 이 서버를 사용하는 방법은 다음과 같습니다.

# Initialize a TypeScript language server session session = await initialize_language_server( session_id="ts-session", project_root="/path/to/project", language="typescript" ) # Find where a symbol is defined definitions = await request_definition( session_id="ts-session", file_path="src/index.ts", line=10, # 0-indexed column=15 # 0-indexed ) # Find all references to a symbol references = await request_references( session_id="ts-session", file_path="src/index.ts", line=10, column=15 ) # Get code completion suggestions completions = await request_completions( session_id="ts-session", file_path="src/index.ts", line=10, column=15 ) # Get hover information hover_info = await request_hover( session_id="ts-session", file_path="src/index.ts", line=10, column=15 ) # Get document symbols symbols = await request_document_symbols( session_id="ts-session", file_path="src/index.ts" ) # Clean up when done await shutdown_language_server(session_id="ts-session")

요구 사항

  • Python 3.12 이상
  • 언어별 요구 사항:
    • Java의 경우: JDK 17.0.6 이상
    • JavaScript/TypeScript의 경우: Node.js v18.16.0 이상

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

언어 서버 프로토콜을 통해 언어 모델이 여러 프로그래밍 언어에서 완성, 정의, 참조와 같은 코드 인텔리전스 기능에 액세스할 수 있도록 하는 MCP 서버입니다.

  1. What is this?
    1. Features
      1. Installation
        1. Usage
          1. Supported Languages
            1. Example
              1. Requirements
                1. License
                  ID: fiqpd5q1l6