mcp-gateway

Coordinate Model Context Protocol tool calls across HTTP, SSE, WebSocket, and Stdio transports.

104|19|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/majiayu000/litellm-rs --skill mcp-gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-gateway
Source: https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/mcp-gateway
Command: npx skills add https://github.com/majiayu000/litellm-rs --skill mcp-gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The MCP gateway coordinates Model Context Protocol communications across multiple transports, enabling LLMs to request external tools securely and efficiently.

Core Features & Use Cases

  • Multi-transport support: HTTP, SSE, WebSocket, and Stdio for tool calls.
  • Dynamic tool discovery and a centralized tool registry with per-call permissions.
  • Secure, standards-based JSON-RPC 2.0 workflow with initialization and tool invocation.

Quick Start

Begin by configuring a server transport (for example HTTP) and launching the gateway to initialize, discover, and register tools for routing from LLMs.

Frequently Asked Questions about mcp-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route MCP calls across multiple transports like HTTP and WebSocket?

An MCP gateway coordinates routing across HTTP, SSE, WebSocket, and Stdio by enforcing a JSON-RPC 2.0 workflow, allowing LLMs to request external tools securely across different network protocols.

How do I enforce permissions for LLM tool calls using JSON-RPC?

Enforcing permissions for LLM tool calls involves a centralized tool registry that applies per-call permission checks during the JSON-RPC 2.0 workflow, securing tool invocation and initialization.

What is dynamic tool discovery in the Model Context Protocol?

Dynamic tool discovery automatically identifies and registers external tools in a centralized registry, allowing LLMs to route JSON-RPC 2.0 requests efficiently across HTTP, SSE, WebSocket, and Stdio transports.

Does the MCP gateway support Stdio and SSE for tool invocation?

Yes, the MCP gateway supports Stdio and SSE alongside HTTP and WebSocket for tool invocation, managing transport-specific requirements to coordinate model-context protocol calls across varied communication channels.

When do I need a gateway for Model Context Protocol communications?

A gateway is needed when an LLM must coordinate external tool calls across multiple transports like HTTP and WebSocket, requiring dynamic tool discovery, centralized registration, and per-call permission enforcement.