Back to Home
possible055 icon

relace-mcp

Verified Safe

by possible055

Overview

Provides AI-powered code editing and intelligent codebase exploration using a Language Server Protocol (LSP) interface.

Installation

Run Command
uv tool run relace-mcp

Environment 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

Stats

Interest Score49
Security Score9
Cost ClassHigh
Avg Tokens25000
Stars18
Forks2
Last Update2026-01-19

Tags

AI-poweredCode editingCode explorationLSPAgentic