Back to Home
dungngo4520 icon

mcp-zig

Verified Safe

by dungngo4520

Overview

Provides Zig language features (completions, hover, definitions, references) to MCP-compatible clients by integrating with the Zig Language Server (zls).

Installation

Run Command
npx -y @dungngo4520/mcp-zig

Environment Variables

  • WORKSPACE_ROOT

Security Notes

The server acts as a proxy for the trusted `zls` (Zig Language Server) executable. It spawns `zls` as a child process, with the working directory configurable via `WORKSPACE_ROOT`. The inputs to the tools are structured and do not allow arbitrary command injection or dangerous operations within the server itself. Reliance on `zls` and responsible configuration of `WORKSPACE_ROOT` are key assumptions for safety. No `eval`, hardcoded secrets, or obvious malicious patterns found.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2025-11-24

Tags

MCPZigLSPLanguage ServerDevelopment Tools