LSP Tools MCP Server
LSP 도구 MCP 서버
텍스트 분석을 위한 언어 서버 프로토콜과 유사한 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.
특징
정규식 위치 찾기 : 파일에서 정규식 패턴 일치의 0부터 인덱스된 줄과 열 위치 찾기
허용된 디렉토리 목록 : 서버가 액세스할 수 있는 디렉토리 목록을 가져옵니다.
Related MCP server: TokenScope
설치
지엑스피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
Available Tools
2 toolsfind_regex_positionA
Find the positions (line and column) of regex pattern matches in a file. Returns an array of matches with their positions. Line and column numbers are 0-indexed (first line is 0). Each match includes: match (matched text), line (starting line), column (starting column), endLine (ending line), and endColumn (ending column, exclusive). IMPORTANT: The path parameter must be an absolute path. Relative paths are not supported.
Inputs: path (required), regex (required).
list_allowed_directoriesA
Lists all directories that this server is allowed to access. Use this to understand which paths are accessible before trying to access files. Returns an array of absolute paths to allowed directories.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes with no overlap. find_regex_position performs a specific text search operation on files, while list_allowed_directories provides metadata about server permissions. An agent would never confuse these tools as they serve fundamentally different functions in the workflow.
Both tools follow a clear verb_noun naming pattern (find_regex_position, list_allowed_directories) with consistent snake_case formatting. The naming is logical and predictable, though with only two tools it's difficult to assess full consistency across a larger set.
With only 2 tools, this server feels severely underpowered for an LSP (Language Server Protocol) context. LSP servers typically handle numerous language operations like diagnostics, completions, definitions, and references. This minimal toolset suggests either an incomplete implementation or a very narrow specialization that doesn't match typical LSP expectations.
For an LSP server, this toolset is severely incomplete. While the two provided tools are useful (file search and directory listing), they represent only a tiny fraction of expected LSP functionality. Missing are core language features like code completion, hover information, go-to-definition, references, diagnostics, formatting, and other standard LSP capabilities that agents would expect from such a server.
Maintenance
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for Studex tools, notifications, and profile integrations
Repository knowledge graph MCP server for codebase understanding and debugging.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.640MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables token-aware directory exploration and file analysis for LLMs, helping them understand codebases through intelligent scanning and reporting.4MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides powerful regex-based code refactoring and search tools for Coding Agents.264 npm8MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables keyword search within files, returning matching lines with line numbers.11MIT