MCP.so
Sign In

Zig MCP Server

@nzrsky

Basic information

Category

Other

Author

nzrsky

About Zig MCP Server

Zig ZLS MCP for Claude Code πŸ€–

Zig MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Zig MCP Server tools

14

The one true declaration, followed through imports and aliases. Takes `symbol` or `file`+`line`+`character`

Real usages, scope-aware; skips same-named identifiers, comments and strings. `symbol` mode also searches through re-exports

The type after comptime evaluation and inference β€” invisible in the source text

Errors for one file without building the project, re-synced against disk first

Declarations by name, not every line mentioning it

A file's outline: declarations, kinds, nesting

What can legally follow at a position, with types

The real signature, comptime and generic parameters included

Which files a rename touches, scope-aware

Quick fixes ZLS offers for a range

Every inferred type in a file at once β€” nothing of this is in the source text

The declaration of a value's *type*, not of the value

Code by shape: empty `catch {}`, `catch unreachable`, `undefined` initializers, `unreachable`, `@panic`. Matched over the syntax tree, so comments and string literals never match and multi-line forms always do

Private declarations nothing refers to β€” exact, because a non-`pub` name cannot escape its file

Overview

What is Zig?

Zig ZLS MCP for Claude Code πŸ€–

How to use Zig?

Follow the repository README to install the server and add its MCP configuration to your client.

Key features of Zig

  • Zig 0.17.0-dev.1415+64dfaa568 or newer
  • ZLS (auto-detected from PATH, or specify with --zls-path)
  • main -- reads MCP requests, dispatches tool calls, writes responses
  • reader -- reads LSP responses from ZLS, correlates by request ID
  • stderr -- forwards ZLS stderr to the server log

Use cases of Zig

  • Connect an MCP-compatible client to this repository's service.
  • Review the README-backed setup before enabling it in production.

Frequently asked questions

1

Where is the source code for Zig?

The source code is linked from the repository URL on this page.

2

Does Zig include a standard MCP config?

If the README contains a parseable MCP configuration block, it is shown in the Config tab.

Comments

More Other MCP servers