wgpu-mcp
Provides tools for searching and retrieving live wgpu crate documentation, including crate items, full item documentation, individual members, filtered listings, and crate version/index information.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
wgpu-mcp
An MCP (Model Context Protocol) server that gives AI agents live access to the wgpu crate documentation — the Rust implementation of WebGPU.
Zero dependencies. Runs on Node.js ≥ 18. Always serves the latest wgpu release straight from docs.rs, with in-memory caching.
Tools
Tool | Description |
| Search wgpu items (structs, enums, traits, functions, …) by name |
| Full documentation for an item as Markdown: declaration, description, variants/fields, methods |
| Documentation for a single method / variant / field / associated item |
| Enumerate items, filtered by kind or module ( |
| Crate version, index statistics, usage cheat-sheet |
Typical flow:
wgpu_search("buffer")
→ wgpu_docs("Buffer")
→ wgpu_member("Buffer", "map_async")Item references accept short names (Buffer), paths (util::DeviceExt, wgpu::Queue),
the empty string for the crate root, or full docs.rs URLs.
Related MCP server: docs.rs MCP
Install & run
node server.mjsIt speaks MCP over stdio (newline-delimited JSON-RPC), so any MCP client can launch it.
opencode
Add to ~/.config/opencode/opencode.json (adjust the node path to your system):
{
"mcp": {
"wgpu": {
"type": "local",
"command": ["node", "/absolute/path/to/wgpu-mcp/server.mjs"],
"enabled": true
}
}
}Claude Desktop / other clients
{
"mcpServers": {
"wgpu": {
"command": "node",
"args": ["/absolute/path/to/wgpu-mcp/server.mjs"]
}
}
}How it works
The item index is built by parsing rustdoc's
all.html(every item in the crate).Documentation pages are fetched on demand from docs.rs and converted to Markdown (declaration, doc text, variants/fields, inherent methods with docs, compact trait-impl list).
Trait/synthetic/blanket implementation sections are collapsed to a summary so big pages like
Bufferstay within useful context sizes;wgpu_memberretrieves the details of a single member instead.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Scrape, crawl and search the web for AI agents via MCP.
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.33-
- AlicenseAqualityDmaintenanceAn MCP server that enables searching for Rust crates and their documentation from docs.rs, allowing AI agents to find required crates and access the latest documentation.429 npm38MIT
- AlicenseAqualityDmaintenanceProvides tools for AI agents to search, browse, and retrieve the full documentation for the mcp-framework. It enables agents to access documentation sections and page content directly within MCP-compatible environments like Claude Code and Cursor.3MIT
- AlicenseNot gradedqualityDmaintenanceProvides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.78 PyPIMIT