LSP Tools MCP Server
Provides code linting capabilities through ESLint integration, allowing for static code analysis according to configurable rules
Integrates with Jest for running and managing tests, enabling test execution and monitoring during development
Uses npm for package management, installation of dependencies, and running build and development scripts
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LSP Tools MCP Server find all function definitions in my codebase"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LSP Tools MCP Server
A Model Context Protocol (MCP) server providing Language Server Protocol-like functionality for text analysis.
Features
Find Regex Position: Find the 0-indexed line and column positions of regex pattern matches in a file
List Allowed Directories: Get a list of directories the server is allowed to access
Related MCP server: TokenScope
Installation
npm install
npm run buildUsage
# 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/dir3Development
Running Tests
The project uses Jest for testing. Run the tests with:
npm testTo run tests in watch mode during development:
npm run test:watchLinting
Lint the code with ESLint:
npm run lintTool Documentation
find_regex_position
This tool finds the 0-indexed line and column positions of regex pattern matches in a file.
Parameters:
path: The path to the file to search inregex: The regular expression pattern to search for
Returns:
An array of matches with the following properties:
match: The matched textline: The starting line (0-indexed)column: The starting column (0-indexed)endLine: The ending line (0-indexed)endColumn: The ending column (0-indexed, exclusive)
list_allowed_directories
This tool lists all directories that this server is allowed to access.
Parameters:
None
Returns:
An array of absolute paths to allowed directories
License
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.66 npm40MIT
- 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.28 PyPI4MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides powerful regex-based code refactoring and search tools for Coding Agents.248 npm8MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables keyword search within files, returning matching lines with line numbers.11MIT