Skip to main content
Glama
gbrlpzz

zig-docs-mcp

by gbrlpzz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
zig_version_statusA

Compare local zig version with the latest upstream release.

Returns local version/path, latest stable, master, up_to_date flag and, when behind, a suggested next step. Call this before version-sensitive answers and whenever Zig code misbehaves in ways a newer compiler fixes.

zig_updateA

Upgrade the LOCAL zig toolchain to the latest release, safely.

dry_run=True (default): print the exact plan, change nothing. confirm=True AND dry_run=False: apply it (brew upgrade or official tarball). Never pass confirm=True without the user asking for the update.

zig_langrefB

Official Zig Language Reference, fetched fresh for the channel version.

section= returns that full section. query= searches sections. Neither lists all section ids. channel: 'stable' (latest release) or 'master'.

zig_stdA

Standard-library docs from the EXACT released source of the channel.

symbol='std.fs.Dir.openFile' walks real re-exports and returns the /// docs plus the declaration text from that release. query= searches std doc comments. Prefer exact symbols; use query to discover names.

zig_changelogC

Release-notes digest for the current channel version: what changed.

perf_guidanceA

Curated guidance for high-performance lightweight software (Zig-first).

topic=None lists topics. topic='allocation-strategy' returns the guide. query searches across all guides. Principles are universal; snippets are Zig 0.16-era; verify exact APIs with zig_std.

zig_searchB

Unified search across langref, guidance, and std doc comments.

scope: 'all' | 'langref' | 'std' | 'guidance'. Results are grouped per source with short snippets; follow up with zig_langref/zig_std/perf_guidance for full text.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gbrlpzz/zig-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server