Skip to main content
Glama

LSP Tools MCP Server

by rajnaveen344

LSP 도구 MCP 서버

텍스트 분석을 위한 언어 서버 프로토콜과 유사한 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.

특징

  • 정규식 위치 찾기 : 파일에서 정규식 패턴 일치의 0부터 인덱스된 줄과 열 위치 찾기
  • 허용된 디렉토리 목록 : 서버가 액세스할 수 있는 디렉토리 목록을 가져옵니다.

설치

지엑스피1

용법

# Start the server allowing access to a specific directory node dist/index.js /path/to/allowed/directory # Start the server with multiple allowed directories node dist/index.js /path/to/dir1 /path/to/dir2 /path/to/dir3

개발

테스트 실행

이 프로젝트는 테스트에 Jest를 사용합니다. 다음을 사용하여 테스트를 실행하세요.

npm test

개발 중에 감시 모드에서 테스트를 실행하려면:

npm run test:watch

린팅

ESLint로 코드를 린트합니다.

npm run lint

도구 문서

정규식 위치 찾기

이 도구는 파일에서 정규식 패턴 일치의 0부터 시작하는 줄과 열 위치를 찾습니다.

매개변수:

  • path : 검색할 파일의 경로
  • regex : 검색할 정규 표현식 패턴

보고:

  • 다음 속성을 가진 일치 항목의 배열:
    • match : 일치하는 텍스트
    • line : 시작 라인(0-인덱스)
    • column : 시작 열(0부터 인덱스)
    • endLine : 종료 라인(0부터 인덱스)
    • endColumn : 종료 열(0부터 인덱스, 제외)

허용된 디렉토리 목록

이 도구는 이 서버가 액세스할 수 있는 모든 디렉토리를 나열합니다.

매개변수:

  • 없음

보고:

  • 허용된 디렉토리에 대한 절대 경로 배열

특허

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

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

파일에서 정규식 패턴 위치를 찾고 허용되는 디렉토리를 나열하는 도구를 제공하는 모델 컨텍스트 프로토콜 서버로, LSP와 유사한 기능을 사용하여 텍스트 분석을 가능하게 합니다.

  1. 특징
    1. 설치
      1. 용법
        1. 개발
          1. 테스트 실행
          2. 린팅
        2. 도구 문서
          1. 정규식 위치 찾기
          2. 허용된 디렉토리 목록
        3. 특허

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.
            Last updated -
            1
            8
            7
            JavaScript
            Apache 2.0
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
            Last updated -
            12
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides file system operations, analysis, and manipulation capabilities through a standardized tool interface.
            Last updated -
            1
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A server implementation that exposes grep functionality through the Model Context Protocol, allowing MCP-compatible clients to search for patterns in files using regular expressions.
            Last updated -
            1
            Python
            GPL 3.0

          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/rajnaveen344/lsp-tools-mcp'

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