Назад к каталогу
hyper-mcp

hyper-mcp

Сообщество

от tuananh

0.0
0 отзывов

📦️ A fast, secure MCP server that extends its capabilities through WebAssembly plugins.

Описание

<div align="center"> <picture> <img alt="hyper-mcp logo" src="./assets/logo.png" width="50%"> </picture> </div> <div align="center"> [![Rust](https://img.shields.io/badge/rust-%23000000.svg?logo=rust&logoColor=white)](https://crates.io/crates/hyper-mcp) [![License](https://img.shields.io/badge/License-Apache--2.0-blue)](#license) [![Issues - hyper-mcp](https://img.shields.io/github/issues/tuananh/hyper-mcp)](https://github.com/tuananh/hyper-mcp/issues) ![GitHub Release](https://img.shields.io/github/v/release/tuananh/hyper-mcp) <a href="https://trendshift.io/repositories/13451" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13451" alt="tuananh%2Fhyper-mcp | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a> </div> # hyper-mcp A fast, secure MCP server that extends its capabilities through WebAssembly plugins. ## What is it? hyper-mcp makes it easy to add AI capabilities to your applications. It works with Claude Desktop, Cursor IDE, and other MCP-compatible apps. Write plugins in your favorite language, distribute them through container registries, and run them anywhere - from cloud to edge. ## Features - Write plugins in any language that compiles to WebAssembly - Distribute plugins via standard OCI registries (like Docker Hub) - Built on [Extism](https://github.com/extism/extism) for rock-solid plugin support - Sanboxing with WASM: ability to limit network, filesystem, memory access - Lightweight enough for resource-constrained environments - Support all 3 protocols in the spec: `stdio`, `sse` and `streamble-http`. - Deploy anywhere: serverless, edge, mobile, IoT devices - Cross-platform compatibility out of the box - Support tool name prefix to prevent tool names collision ## Security Built with security-first mindset: - Sandboxed plugins that can't access your system without permission - Memory-safe execution with resource limits - Secure plugin distribution through container registries - Fine-grained access control for host functions - OCI plugin images are signed at publish time and verified at load time with [sigstore](https://www.sigstore.dev/). ## Getting Started 1. Create your config file: - Linux: `$HOME/.config/hyper-mcp/config.json` - Windows: `{FOLDERID_RoamingAppData}`. Eg: `C:\Users\Alice\AppData\Roaming` - macOS: `$HOME/Library/Application Support/hyper-mcp/config.json` ```json { "plugins": { "time": { "url": "oci://ghcr.io/tuananh/time-plugin:latest" }, "qr_code": { "url": "oci://ghcr.io/tuananh/qrcode-plugin:latest" }, "hash": { "url": "oci://ghcr.io/tuananh/hash-plugin:latest" }, "myip": { "url": "oci://ghcr.io/tuananh/myip-plugin:latest", "runtime_config": { "allowed_hosts": ["1.1.1.1"] } }, "fetch": { "url": "oci://ghcr.io/tuananh/fetch-plugin:latest", "runtime_config": { "allowed_hosts": ["*"], "memory_limit": "100 MB", } } } } ``` > 📖 **For detailed configuration options including authentication setup, runtime configuration, and advanced features, see [RUNTIME_CONFIG.md](./RUNTIME_CONFIG.md)** Supported URL schemes: - `oci://` - for OCI-compliant registries (like Docker Hub, GitHub Container Registry, etc.) - `file://` - for local files - `http://` or `https://` - for remote files - `s3://` - for Amazon S3 objects (requires that you have your AWS credentials set up in the environment) 2. Start the server: ```sh $ hyper-mcp ``` - By default, it will use `stdio` transport. If you want to use SSE, use flag `--transport sse` or streamable HTTP with `--transport streamable-http`. - If you want to debug, use `RUST_LOG=info`. - If you're loading unsigned OCI plugin, you need to set `insecure_skip_signature` flag or env var `HYPER_MCP_INSECURE_SKIP_SIGNATURE` to `true` ## Using with Cursor IDE You can configure hyper-mcp either globally for all projects or specifically for individual projects. 1. For project-scope configuration, create `.cursor/mcp.json` in your project root: ```json { "mcpServers": { "hyper-mcp": { "command": "/path/to/hyper-mcp" } } } ``` 2. Set up hyper-mcp in Cursor's settings: ![cursor mcp](./assets/cursor-mcp.png) 3. Start using tools through chat: ![cursor mcp chat](./assets/cursor-mcp-1.png) ## Available Plugins We maintain several example plugins to get you started: ### V1 Plugins These plugins use the v1 plugin interface. While still supported, new plugins should use the v2 interface. - [time](https://github.com/tuananh/hyper-mcp/tree/main/examples/plugins/v1/time): Get current time and do time calculations (Rust) - [qr_code](https://github.com/tuananh/hyper-mcp/tree/main/examples/plugins/v1/qr-code): Generate QR codes (Rust) - [hash](https://github.com/tuananh/hyper-mcp/tree/main/examples/plugins/v1/hash): Generate various types of hashes (Rust) - [myip](https://github.com/tuananh/hyper-mcp/tree/main/examples/plugins/v1/my

Отзывы (0)

Пока нет отзывов. Будьте первым!