hyperlane-plugin-mcp 23.0.0

A Model Context Protocol (MCP) Streamable HTTP server plugin for the Hyperlane framework with tool, resource, and prompt registries, session lifecycle management, DNS-rebinding Origin validation, and an opt-in ServerHook.
Documentation

hyperlane-plugin-mcp

Model Context Protocol (MCP) Server Plugin

crates.io docs.rs Rust 2024 License: MIT

Workspace Overview · API Docs


Overview

Opt-in Streamable HTTP Model Context Protocol server with tools/resources/prompts registries, Mcp-Session-Id management, and Origin DNS-rebinding protection.

This crate is a member of the hyperlane unified Rust 2024 workspace. All plugin crates are opt-in and transparent (Status::Continue) when unconfigured.

Responsibilities & Module Layout

  • struct / fn / impl — McpHook, JSON-RPC session handling, and tool/resource/prompt registries

Installation

cargo add hyperlane-plugin-mcp

Verification

Run crate-scoped formatting, lint, and test gates from the workspace root:

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-mcp --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-mcp --all-features

Documentation & Governance

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.