zed-shell-mcp-server
Verified Safeby Entropy-Is-Software-Development
Overview
Provides a Model Context Protocol (MCP) server for the Zed IDE to securely execute whitelisted shell commands (git, pnpm, npm, yarn, bun, deno) and read workspace files.
Installation
node /path/to/your/zed-shell-mcp/dist/index.jsSecurity Notes
The `execute_command` tool uses `node:child_process.exec` but strictly whitelists commands (`git`, `pnpm`, `npm`, `yarn`, `bun`, `deno`), preventing arbitrary command execution. The `read_many_files` tool uses `node:fs/promises.readFile` and includes a critical path traversal check (`!absolutePath.startsWith(cwd)`) to ensure files are read only within the specified current working directory. No direct `eval` or similar code injection vectors, or hardcoded secrets are present.
Similar Servers
ssh-mcp-server
Bridging AI assistants to remote SSH server operations for command execution, file transfer, and server status retrieval via the Model Context Protocol (MCP).
mcp-server-brave-search
Integrates Brave Search results as a Model Context Protocol server within the Zed editor, providing AI context.
mcp-server-puppeteer
Provides web content context to the Zed editor by wrapping a Puppeteer-based Model Context Protocol (MCP) server.
dev-kit-mcp-server
A Model Context Protocol (MCP) server targeted for agent development tools, providing scoped authorized operations in the root project directory.