Back to Home
Entropy-Is-Software-Development icon

zed-shell-mcp-server

Verified Safe

by 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

Run Command
node /path/to/your/zed-shell-mcp/dist/index.js

Security 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-11-28

Tags

MCP ServerZed IDEShell ExtensionCommand ExecutionFile System Access