Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • mcp-server-asana
  • DeepSource MCP Server
  • IR Toolshed MCP Server
  • MongoDB MCP Server for LLMs
  • Vertex AI MCP Server
Back to MCP Servers
LSP Tools MCP Server

LSP Tools MCP Server

Public
rajnaveen344/lsp-tools-mcp

Provides Model Context Protocol functionality for text analysis with features to locate regex pattern positions in files and list accessible directories, enhancing code inspection and directory management.

typescript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with LSP Tools MCP Server

MCP Server

Unlock the full potential of LSP Tools MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

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

Installation

npm install npm run build

Usage

# 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

Development

Running Tests

The project uses Jest for testing. Run the tests with:

npm test

To run tests in watch mode during development:

npm run test:watch

Linting

Lint the code with ESLint:

npm run lint

Tool 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 in
  • regex: The regular expression pattern to search for

Returns:

  • An array of matches with the following properties:
    • match: The matched text
    • line: 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

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • mcp-server-asana
    mcp-server-asana

    Enables seamless interaction with Asana API via Model Context Protocol, providing advanced task, pro...

    22 tools
    Added May 30, 2025
  • DeepSource MCP Server
    DeepSource MCP Server

    Integrates AI assistants with code quality analysis by providing access to metrics, issues, security...

    9 tools
    Added May 30, 2025
  • IR Toolshed MCP Server
    IR Toolshed MCP Server

    Provides a Model Context Protocol (MCP) service offering advanced network incident response tools in...

    Added May 30, 2025
  • MongoDB MCP Server for LLMs
    MongoDB MCP Server for LLMs

    Enables LLMs to seamlessly interact with MongoDB databases via Model Context Protocol, offering sche...

    Added May 30, 2025
  • Vertex AI MCP Server
    Vertex AI MCP Server

    Provides a Model Context Protocol server enabling advanced interaction with Google Cloud's Vertex AI...

    20 tools
    Added May 30, 2025