Skip to main content
Glama

MCP-MultilspyLSP

by asimihsan

MCP-多信令链路监控

通过 multilspy 公开语言服务器协议 (LSP) 功��的 MCP 服务器。

这是什么?

该项目提供了一个MCP(模型上下文协议)服务器,使语言模型能够访问来自语言服务器协议 (LSP) 的语言智能功能。它使用了multilspy ,这是一个简化与各种语言服务器接口的 Python 库。

特征

  • 语言智能:获取代码补全、查找定义、引用等
  • 多语言支持:支持多种编程语言,包括 Python、Java、TypeScript 等
  • 轻松集成:可与任何兼容 MCP 的客户端(如 Claude Desktop)配合使用
  • 静态分析:利用语言服务器的强大功能来理解代码

安装

pip install mcp-multilspy

用法

直接启动服务器:

mcp-multilspy

或者在 Claude Desktop 中安装:

mcp install mcp-multilspy

支持的语言

  • Java(Eclipse JDTLS)
  • Python(绝地语言服务器)
  • Rust(锈蚀分析仪)
  • C#(OmniSharp/RazorSharp)
  • TypeScript(TypeScript语言服务器)
  • JavaScript(TypeScript语言服务器)
  • Go(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 或更高版本

执照

麻省理工学院

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP 服务器使语言模型能够通过语言服务器协议访问跨多种编程语言的代码智能功能,如完成、定义和引用。

  1. 这是什么?
    1. 特征
      1. 安装
        1. 用法
          1. 支持的语言
            1. 例子
              1. 要求
                1. 执照

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.
                    Last updated -
                    3
                    4
                    JavaScript
                    MIT License
                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
                    Last updated -
                    179
                    Python
                    MIT License
                    • Apple
                    • Linux
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A server that enables communication with multiple unichat-based MCP servers simultaneously, allowing users to query different language models and combine their responses for more comprehensive results.
                    Last updated -
                    JavaScript
                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that analyzes codebases and generates contextual prompts, making it easier for AI assistants to understand and work with code repositories.
                    Last updated -
                    10
                    Python
                    MIT License

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/asimihsan/mcp-multilspy'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server