LSP Tools MCP Server
LSP 工具 MCP 服务器
模型上下文协议 (MCP) 服务器为文本分析提供类似语言服务器协议的功能。
特征
查找正则表达式位置:查找文件中正则表达式模式匹配的 0 索引行和列位置
列出允许的目录:获取服务器允许访问的目录列表
Related MCP server: TokenScope
安装
npm install
npm run build用法
# 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工具文档
find_regex_position
此工具查找文件中正则表达式模式匹配的 0 索引行和列位置。
参数:
path:要搜索的文件的路径regex:要搜索的正则表达式模式
返回:
具有以下属性的匹配数组:
match:匹配的文本line:起始行(从 0 开始)column:起始列(从 0 开始索引)endLine:结束行(从 0 开始)endColumn:结束列(从 0 开始,不包括 0)
列出允许的目录
此工具列出了该服务器允许访问的所有目录。
参数:
没有任何
返回:
允许目录的绝对路径数组
执照
麻省理工学院
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.61339MIT
- Alicense-qualityDmaintenanceA 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.2247MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables keyword search within files, returning matching lines with line numbers.11
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…
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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