Auto-discovered marketplace from rayanht/metal-lsp
npx claudepluginhub rayanht/metal-lspMetal Shading Language support — diagnostics, go-to-definition, and hover docs for .metal files via clangd
Full language server features for Metal Shading Language in VSCode, Cursor, and Claude Code.
Autocomplete, inline diagnostics, hover documentation, and go-to-definition for .metal files. Powered by clangd with Metal-aware headers.
| Feature | macOS | Linux/Windows |
|---|---|---|
| Autocomplete (stdlib + user code) | Full (real SDK headers) | Full (stubs) |
| Inline diagnostics | Full | Best-effort (C++ mode) |
| Hover documentation | From MSL spec | From MSL spec |
| Go-to-definition | Yes | Yes (into stubs) |
| Syntax highlighting | TextMate + semantic | TextMate + semantic |
| Compile-on-save diagnostics | Yes (opt-in, via xcrun metal) | No |
brew install llvm), or your system package managerInstall from the VS Code Marketplace. The extension activates automatically when your workspace contains .metal files.
Also available on Open VSX for VSCodium and other editors.
/plugin marketplace add rayanht/metal-lsp
/plugin install metal-lsp@rayanht-metal-lsp
Or for local development: claude --plugin-dir /path/to/metal-lsp
Provides clangd-powered diagnostics, hover docs, and go-to-definition for .metal files directly in Claude Code CLI sessions. Requires clangd in PATH.
The extension configures clangd to understand Metal by:
.metal files as the "Metal" language.clangd config that tells clangd to parse .metal as C++ with Metal-compatible flagsdevice, constant, kernel, etc.) to C++ type qualifiers#include <metal_stdlib> resolves — on macOS with Xcode, real SDK headers are used instead| Setting | Default | Description |
|---|---|---|
metal-lsp.metalStdVersion | "metal3.0" | Metal Shading Language standard version (metal1.0 through metal4.0) for compile-on-save |
metal-lsp.compileDiagnostics | "off" | "off" or "onSave" — run xcrun metal for real compiler diagnostics (macOS only) |
metal-lsp.includePaths | [] | Additional include directories for Metal shader compilation (added as -isystem paths) |
metal-lsp.compileFlags | [] | Additional compile flags passed to both clangd and the Metal compiler |
The workspace root is automatically added as an include path, so #include "shared/types.h" works out of the box if shared/ is at your project root. The includePaths setting is only needed for directories outside your workspace.
.clangd configurationMIT
No description available.
Production-ready workflow orchestration with 84 marketplace plugins, 192 local specialized agents, and 156 local skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations