● Сообщество
hyper-mcp-rs
⚡ Сразу
hyper-mcp
автор hyper-mcp-rs · hyper-mcp-rs/hyper-mcp
A Rust-based MCP server whose tools are WebAssembly plugins — sandboxed, signed via OCI, and loaded dynamically at runtime.
hyper-mcp is a fast, memory-safe MCP server where every tool is a WASM plugin pulled from an OCI registry. Plugins run in a sandbox with explicit host-function grants, and signatures verified via sigstore. Best for teams that want to ship tools to agents without trusting random npm packages.
Зачем использовать
Ключевые функции
- Rust host + WASM plugin architecture — memory safe by construction
- Plugins distributed as signed OCI artifacts (ghcr.io, Docker Hub)
- Dynamic load/unload of plugins at runtime without restart
- Fine-grained capability grants (network, filesystem, memory)
Живое демо
Как выглядит на практике
Сценарии использования
Реальные сценарии: hyper-mcp
Когда использовать: You need to give engineers a curated toolset and can't trust them to vet every npm MCP package.
Предварительные требования
- hyper-mcp binary installed — Download release from github.com/hyper-mcp-rs/hyper-mcp/releases
- An OCI registry to host plugins — GHCR or a private Harbor/ECR
Поток
-
Publish a signed plugin
I've built a WASM plugin at ./my-plugin.wasm. Push it to ghcr.io/acme/my-plugin:v1 and sign with sigstore.✓ Скопировано
→ Plugin available on registry with signature
-
Configure hyper-mcp to pull and verify it
Edit ~/.config/hyper-mcp/config.json to add the plugin URL with required signer identity.✓ Скопировано
→ Plugin appears in hyper_mcp-list_plugins after restart
-
Call the tool from Claude
Use the tool exposed by my-plugin to do <X>.✓ Скопировано
→ Tool runs sandboxed; attempts to exceed granted capabilities are denied
Итог: A locked-down internal toolbelt where every plugin is signed, versioned, and sandboxed.
Подводные камни
- Granting network access to all plugins by default — Configure per-plugin
allowed_hosts; deny-by-default - Plugin signed by the wrong identity — hyper-mcp will reject — check sigstore/rekor logs for signer mismatch
Когда использовать: You're testing a tool and want to iterate without killing the MCP session every 30 seconds.
Поток
-
Load a new version
Call hyper_mcp-load_plugin with the URL of my-plugin:v2. Confirm it loaded.✓ Скопировано
→ Plugin v2 shows in list_plugins
-
Unload old version if needed
Call hyper_mcp-unload_plugin on my-plugin:v1.✓ Скопировано
→ Only v2 remains
Итог: A tight inner loop for plugin development.
Комбинации
Сочетайте с другими MCP — эффект x10
Run hyper-mcp as the only MCP host inside Claude Code and route all custom tools through it
Replace my 5 npx-based MCPs with hyper-mcp pointing at my internal plugin registry.✓ Скопировано
Debug plugin tool surface before Claude sees it
Use mcp tools to enumerate what hyper-mcp currently advertises.✓ Скопировано
Стоимость и лимиты
Во что обходится
- Квота API
- None — local host
- Токенов на вызов
- Depends on plugin — typically 100–1000
- Деньги
- Free; OCI registry hosting may cost if private
- Совет
- Share a single hyper-mcp host across clients instead of running many npm-based MCPs
Безопасность
Права, секреты, радиус поражения
Хранение учётных данных: Plugin secrets injected via config; OCI registry creds via standard docker/ghcr login
Исходящий трафик: Only to hosts listed in each plugin's allowed_hosts
Никогда не давайте: unrestricted filesystem unrestricted network
Устранение неполадок
Частые ошибки и исправления
Plugin fails signature verification
Check the sigstore signer identity matches config. Re-sign with cosign sign using the correct identity
Проверить: cosign verify <oci-url>
Plugin loads but tool not visible to Claude
Claude caches the tool list at session start — restart the MCP client after loading
Проверить: hyper_mcp-list_plugins shows the plugin and its advertised tools
WASM execution trap / panic
Plugin exceeded a resource limit or hit an unsafe op. Check logs; raise limit in config only if trusted
Альтернативы
hyper-mcp в сравнении
| Альтернатива | Когда использовать | Компромисс |
| Arcade | You want a Python framework instead of WASM plugins | Less isolation; Python runtime instead of sandboxed WASM |
| Golf | Python-first, auto-discovery of tool files | Not plugin-isolated; all tools run in one process |
| FastMCP | Simple Python MCP, no registry/sandbox needs | No distribution story; you redeploy the whole server for each change |