/ Каталог / Песочница / hyper-mcp
● Сообщество 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.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

hyper.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "hyper": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/hyper-mcp-rs/hyper-mcp"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "hyper": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/hyper-mcp-rs/hyper-mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "hyper": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/hyper-mcp-rs/hyper-mcp"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "hyper": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/hyper-mcp-rs/hyper-mcp"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "hyper",
      "command": "TODO",
      "args": [
        "See README: https://github.com/hyper-mcp-rs/hyper-mcp"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "hyper": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/hyper-mcp-rs/hyper-mcp"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add hyper -- TODO 'See README: https://github.com/hyper-mcp-rs/hyper-mcp'

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: hyper-mcp

How to ship internal MCP tools securely with hyper-mcp

👤 Platform teams building internal agent tools ⏱ ~45 min advanced

Когда использовать: 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
Поток
  1. 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
  2. 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
  3. 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

Hot-swap agent tools with hyper-mcp without restarting the client

👤 Agent developers iterating on tool APIs ⏱ ~10 min intermediate

Когда использовать: You're testing a tool and want to iterate without killing the MCP session every 30 seconds.

Поток
  1. 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
  2. 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

hyper + claude-code

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.✓ Скопировано
hyper + mcptools

Debug plugin tool surface before Claude sees it

Use mcp tools to enumerate what hyper-mcp currently advertises.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
hyper_mcp-list_plugins Inspect what's loaded; debug missing tools 0
hyper_mcp-load_plugin url: str (oci://...), name?: str Add a plugin at runtime one OCI pull
hyper_mcp-unload_plugin name: str Remove a plugin — release memory and revoke its tools 0

Стоимость и лимиты

Во что обходится

Квота 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 в сравнении

АльтернативаКогда использоватьКомпромисс
ArcadeYou want a Python framework instead of WASM pluginsLess isolation; Python runtime instead of sandboxed WASM
GolfPython-first, auto-discovery of tool filesNot plugin-isolated; all tools run in one process
FastMCPSimple Python MCP, no registry/sandbox needsNo distribution story; you redeploy the whole server for each change

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills