relace-mcp
Verified Safeby possible055
Overview
Provides AI-powered code editing and intelligent codebase exploration using a Language Server Protocol (LSP) interface.
Installation
uv tool run relace-mcpEnvironment Variables
- RELACE_API_KEY
- RELACE_CLOUD_TOOLS
- MCP_BASE_DIR
- MCP_DOTENV_PATH
- MCP_LOGGING
- APPLY_PROVIDER
- APPLY_ENDPOINT
- APPLY_MODEL
- APPLY_API_KEY
- SEARCH_PROVIDER
- SEARCH_ENDPOINT
- SEARCH_MODEL
- SEARCH_API_KEY
- OPENAI_API_KEY
- RELACE_DEFAULT_ENCODING
Security Notes
The server implements robust security measures, particularly for its 'bash' tool, which uses extensive blacklisting (e.g., `rm`, `sudo`, `curl`, `eval`, `exec`, pipes, redirects) and whitelisting for safe commands (e.g., `ls`, `cat`, `grep`, read-only `git` subcommands). Path validation prevents traversal attacks and access outside the designated base directory. Symlink following is blocked for dangerous commands. Network access is restricted to configured LLM/Relace API endpoints. File operations are generally confined and validated. While the 'bash' tool inherently introduces more risk, the implementation makes a strong effort to mitigate it, earning a high score.
Similar Servers
mcp-language-server
Serves as an MCP (Model Context Protocol) gateway, enabling LLMs to interact with Language Servers (LSPs) for codebase navigation, semantic analysis, and code editing operations.
code-index-mcp
Intelligent code indexing and analysis for Large Language Models, enabling tasks such as code review, refactoring, documentation generation, debugging assistance, and architectural analysis.
cclsp
Integrate LLM-based coding agents with Language Server Protocol (LSP) servers to enable robust code navigation, symbol resolution, and refactoring across various programming languages.
Lynkr
Lynkr is an AI orchestration layer that acts as an LLM gateway, routing language model requests to various providers (Ollama, Databricks, OpenAI, etc.). It provides an OpenAI-compatible API and enables AI-driven coding tasks via a rich set of tools and a multi-agent framework, with a strong focus on security, performance, and token efficiency. It allows AI agents to interact with a defined workspace (reading/writing files, executing shell commands, performing Git operations) and leverages long-term memory and agent learning to enhance task execution.