You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`list_builtin_functions`** - Lists all available Zig builtin functions. Builtin functions are provided by the compiler and are prefixed with '@'. The comptime keyword on a parameter means that the parameter must be known at compile time. Use this to discover what functions are available, then use 'get_builtin_function' to get detailed documentation.
18
+
-**`get_builtin_function`** - Search for Zig builtin functions by name and get their documentation, signatures, and usage information. Returns all matching functions ranked by relevance.
19
+
-**`search_std_lib`** - Search the Zig standard library for declarations by name. Returns a list of matching items with their fully qualified names. Use this to discover available types, functions, and constants in the standard library.
20
+
-**`get_std_lib_item`** - Get detailed documentation for a specific standard library item by its fully qualified name (e.g., "std.ArrayList.init"). Returns comprehensive documentation including function signatures, parameters, errors, examples, and source code. Set `get_source_file: true` to retrieve the entire source file where the item is implemented.
claude mcp add zig-docs bunx zig-mcp@latest --version master --update-policy manual
91
70
```
92
71
72
+
### Roo Code
73
+
74
+
1. Click the **MCP** button in Roo Code
75
+
2. Select **"Edit Global MCP"** or **"Edit Project MCP"**
76
+
3. Add the configuration from the JSON template below
77
+
78
+
### Augment Code
79
+
80
+
Navigate to **Settings → MCP Servers → Add Server** and use the JSON template below.
81
+
93
82
### Claude Desktop
94
83
95
-
Add to your MCP configuration:
84
+
Add the JSON configuration below to your MCP settings file.
96
85
97
-
Using Node:
86
+
### JSON Configuration Template
98
87
88
+
**Node.js:**
99
89
```json
100
90
{
101
91
"mcpServers": {
@@ -107,8 +97,7 @@ Using Node:
107
97
}
108
98
```
109
99
110
-
Using Bun:
111
-
100
+
**Bun:**
112
101
```json
113
102
{
114
103
"mcpServers": {
@@ -118,48 +107,3 @@ Using Bun:
118
107
}
119
108
}
120
109
}
121
-
```
122
-
123
-
## Tools
124
-
125
-
-**`list_builtin_functions`** - Lists all available Zig builtin functions. Builtin functions are provided by the compiler and are prefixed with '@'. The comptime keyword on a parameter means that the parameter must be known at compile time. Use this to discover what functions are available, then use 'get_builtin_function' to get detailed documentation.
126
-
-**`get_builtin_function`** - Search for Zig builtin functions by name and get their documentation, signatures, and usage information. Returns all matching functions ranked by relevance.
127
-
-**`search_std_lib`** - Search the Zig standard library for declarations by name. Returns a list of matching items with their fully qualified names. Use this to discover available types, functions, and constants in the standard library.
128
-
-**`get_std_lib_item`** - Get detailed documentation for a specific standard library item by its fully qualified name (e.g., "std.ArrayList.init"). Returns comprehensive documentation including function signatures, parameters, errors, examples, and source code. Set `get_source_file: true` to retrieve the entire source file where the item is implemented.
129
-
130
-
## Commands
131
-
132
-
The CLI provides flexible options for version control and update management:
133
-
134
-
```bash
135
-
# Start MCP server with defaults (master branch, manual updates)
136
-
zig-mcp
137
-
138
-
# Use specific Zig version
139
-
zig-mcp --version 0.13.0
140
-
141
-
# Enable automatic daily updates
142
-
zig-mcp --update-policy daily
143
-
144
-
# Update documentation without starting server
145
-
zig-mcp update --version 0.14.1
146
-
147
-
# Start local web server to view documentation
148
-
zig-mcp view --version 0.14.1
149
-
```
150
-
151
-
**Version options**:
152
-
-`master` (default) - Latest development version from Zig's master branch
153
-
-`0.14.1`, `0.14.0`, etc. - Specific Zig release versions
154
-
155
-
**Update policies**:
156
-
-`manual` (default) - No automatic updates, manual control only
157
-
-`daily` - Check for documentation updates once per day
158
-
-`startup` - Update documentation every time the server starts
159
-
160
-
## Cache
161
-
162
-
Documentation is fetched from ziglang.org and cached in platform-specific directories:
0 commit comments