MetaMCP Details

MetaMCP is a MCP proxy that lets you dynamically aggregate MCP servers into a unified MCP server, and apply middlewares. MetaMCP itself is a MCP server so it can be easily plugged into ANY MCP clients. It functions as an MCP Aggregator, Orchestrator, Middleware, and Gateway all in one docker image, enabling scalable, configurable hosting of multiple MCP servers behind a single endpoint with flexible authentication, tooling, and annotations. This README introduces core concepts such as MCP Server configurations, Namespaces, Endpoints, Middleware, Inspector, and Tool Overrides & Annotations, and provides quick-start guidance for running MetaMCP with Docker, building a development environment, and integrating with clients like Claude Desktop via proxies. It also covers MCP protocol compatibility, authentication options (including API keys, OAuth, and OIDC), and integration guidance for developers looking to remix MCP tool flows and middleware pipelines.

Use Case

MetaMCP serves as infrastructure to host dynamically composed MCP servers behind a unified endpoint. It enables grouping MCP servers into namespaces, hosting them as a meta-MCP, applying middlewares, and optionally overriding tool metadata per namespace. This is useful for organizations wanting to aggregate tools, prompts, and resources from multiple MCP servers, then expose a single endpoint with configurable authentication (API keys or OAuth) and transport options (SSE or Streamable HTTP). Example usage includes configuring a MetaMCP endpoint that aggregates multiple underlying MCP servers, then calling tools across those servers via the aggregated interface. See code examples for mcp.json configuration and client integrations (Claude Desktop and others) to illustrate how to connect and use the proxy. For example, a simple mcp.json to point to a MetaMCP endpoint looks like:

{
"mcpServers": {
"MetaMCP": {
"url": "http://localhost:12008/metamcp/<YOUR_ENDPOINT_NAME>/sse"
}
}
}

To connect Claude Desktop or other stdio clients, you can proxy the remote MCP endpoint with mcp-proxy as shown in the docs:

Using Streamable HTTP

{
"mcpServers": {
"MetaMCP": {
"command": "uvx",
"args": [\
"mcp-proxy",\
"--transport",\
"streamablehttp",\
"http://localhost:12008/metamcp/<YOUR_ENDPOINT_NAME>/mcp"\
],
"env": {
"API_ACCESS_TOKEN": "<YOUR_API_KEY_HERE>"
}
}
}
}

Using SSE

{
"mcpServers": {
"ehn": {
"command": "uvx",
"args": [\
"mcp-proxy",\
"http://localhost:12008/metamcp/<YOUR_ENDPOINT_NAME>/sse"\
],
"env": {
"API_ACCESS_TOKEN": "<YOUR_API_KEY_HERE>"
}
}
}
}

Local development guidance also includes steps to install dependencies and run the project locally via pnpm, and Docker-based quick-start instructions for running the full stack in production.

Available Tools (4)

Examples & Tutorials

Code examples directly from the documentation:

MCP JSON example for a single STDIO MCP server:

"HackerNews": {
"type": "STDIO",
"command": "uvx",
"args": ["mcp-hn"]
}

Example mcp.json for Cursor via MetaMCP endpoint (E.g., SSE):

{
"mcpServers": {
"MetaMCP": {
"url": "http://localhost:12008/metamcp/<YOUR_ENDPOINT_NAME>/sse"
}
}
}

Claude Desktop integration (Using Streamable HTTP):

{
"mcpServers": {
"MetaMCP": {
"command": "uvx",
"args": [\
"mcp-proxy",\
"--transport",\
"streamablehttp",\
"http://localhost:12008/metamcp/<YOUR_ENDPOINT_NAME>/mcp"\
],
"env": {
"API_ACCESS_TOKEN": "<YOUR_API_KEY_HERE>"
}
}
}
}

Claude Desktop integration (Using SSE):

{
"mcpServers": {
"ehn": {
"command": "uvx",
"args": [\
"mcp-proxy",\
"http://localhost:12008/metamcp/<YOUR_ENDPOINT_NAME>/sse"\
],
"env": {
"API_ACCESS_TOKEN": "<YOUR_API_KEY_HERE>"
}
}
}
}

Installation Guide

Step-by-step installation instructions from the documentation:
1) Clone the repository

git clone https://github.com/metatool-ai/metamcp.git

2) Enter the repository and prepare environment
cd metamcp
cp example.env .env

3) Start with Docker Compose (production/deployment)
docker compose up -d

4) For local development with development container or native setup, install dependencies and start the dev server
pnpm install
pnpm dev

5) If you modify APP_URL env vars, ensure you only access from the APP_URL due to CORS policy
<h1 class="text-2xl font-semibold mt-5 mb-3">See docker-compose.yml for details on volumes and services</h1>

Integration Guides

Frequently Asked Questions

Is this your MCP?

Claim ownership and get verified badge

Repository Stats

Sponsored

Ad Space Available
Important Notes

Warnings and important notes from the docs:

  • This process requires a reliable network connection, and it will access Docker Hub, GitHub, and other sites.

  • MetaMCP enforces CORS policy on the APP_URL, so only the configured URL is accessible.

  • For STDIO-based clients like Claude Desktop, use a local proxy (mcp-proxy) rather than mcp-remote, which is designed for OAuth-based authentication.

  • OpenID Connect (OIDC) is supported for enterprise SSO integration; configure OIDC via environment variables as described in the Configuration section.

  • When running in production, consider the potential port and volume naming collisions with PostgreSQL; the docs show example volume naming that may clash with other containers.
  • Prerequisites

    Prerequisites before using MetaMCP:

  • Git installed and network access to clone the repository

  • Docker and Docker Compose installed for Run with Docker Compose workflow

  • Optionally: pnpm for local development

  • An example environment file (example.env) to copy to .env during setup

  • For development: familiarity with Dev Containers (VS Code) if building in a container
  • Details
    Last Updated1/1/2026
    SourceGitHub

    Compare Alternatives

    Similar MCP Tools

    9 related tools
    Graphiti MCP Server

    Graphiti MCP Server

    Graphiti MCP Server is an experimental implementation that exposes Graphiti's real-time, temporally-aware knowledge graph capabilities through the MCP (Model Context Protocol) interface. It enables AI agents and MCP clients to interact with Graphiti's knowledge graph for structured extraction, reasoning, and memory across conversations, documents, and enterprise data. The server supports multiple backends (FalkorDB by default and Neo4j), a variety of LLM providers (OpenAI, Anthropic, Gemini, Groq, Azure OpenAI), and multiple embedder options, all accessible via an HTTP MCP endpoint at /mcp/ for broad client compatibility. It also includes queue-based asynchronous episode processing, rich entity types for structured data, and flexible configuration through config.yaml, environment variables, or CLI arguments.

    Context7 MCP Server

    Context7 MCP Server

    Context7 MCP Server delivers up-to-date, code-first documentation and examples for LLMs and AI code editors by pulling content directly from the source. It supports multiple MCP clients and exposes tools that help you resolve library IDs and retrieve library documentation, ensuring prompts use current APIs and usage patterns. The repository provides installation and integration guides for Cursor, Claude Code, Opencode, and other clients, along with practical configuration samples and OAuth options for remote HTTP connections. This MCP server is designed to keep prompts in sync with the latest library docs, reducing hallucinations and outdated code snippets.

    TrendRadar MCP

    TrendRadar MCP

    TrendRadar MCP is an AI-driven Model Context Protocol (MCP) based analysis server that exposes a suite of specialized tools for cross-platform news analysis, trend tracking, and intelligent push notifications. It integrates with TrendRadar’s multi-platform data aggregation (RSS and trending topics) and provides advanced AI-powered insights, sentiment analysis, and cross-platform correlation. The MCP server enables developers to query, analyze, and compare news across platforms using a consistent toolset, with ongoing updates that expand capabilities such as RSS querying, date parsing, and multi-date trend analysis. This documentation references the MCP module updates, tool additions, and architecture changes that enhance extensibility, cross-platform data handling, and AI-assisted reporting.

    ChainAware Behavioural Prediction MCP

    ChainAware Behavioural Prediction MCP

    The ChainAware Behavioural Prediction MCP is an MCP-based server that provides AI-powered tools to analyze wallet behaviour prediction, fraud detection, and rug pull prediction. Designed for Web3 security and DeFi analytics, it enables developers and platforms to integrate risk assessment, predictive wallet behavior insights, and rug-pull detection through MCP-compatible clients. The server exposes three specialized tools and uses Server-Sent Events (SSE) for real-time responses, helping safeguard DeFi users, monitor liquidity risks, and score wallet or contract trustworthiness. Access to production endpoints is API-key gated, reflecting a private backend architecture that supports secure, scalable risk analytics across wallets, contracts, and pools.

    Playwright MCP

    Playwright MCP

    Playwright MCP server. A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables large language models (LLMs) to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models. The server is designed to be fast, lightweight, and deterministic, offering LLM-friendly tooling and a rich set of browser automation capabilities via MCP tools. It supports standalone operation, containerized deployments, and integration with a variety of MCP clients (Claude Desktop, VS Code, Copilot, Cursor, Goose, Windsurf, and others).

    Sequential Thinking MCP Server

    Sequential Thinking MCP Server

    Sequential Thinking MCP Server provides a dedicated MCP tool that guides problem-solving through a structured, step-by-step thinking process. It supports dynamic adjustment of the number of thoughts and allows revision and branching within a controlled workflow, making it ideal for complex analysis and solution hypothesis development. This server is designed to register a single tool, sequential_thinking, and is integrated with common MCP deployment methods (NPX, Docker) as well as editor integrations like Claude Desktop and VS Code for quick setup. The documentation provides exact configuration snippets, usage patterns, and building instructions to help you deploy and use the MCP server effectively, including Codex CLI, NPX, and Docker installation examples.

    N8N MCP Server

    N8N MCP Server

    An MCP (Model Context Protocol) server designed to integrate Claude Desktop, Claude Code, Windsurf, and Cursor with n8n workflows. This MCP enables users to build, test, and orchestrate complex workflows by exposing a set of tools that bridge Claude’s capabilities with n8n’s automation platform. The project emphasizes robust trigger handling, multi-tenant readiness, and progressive documentation to help developers understand how tools map to real-world workflow tasks. It also outlines future tooling integration points (such as getNodeEssentials and getNodeInfo) to further enhance node-structure awareness within MCP-powered automations.

    Hugging Face MCP Server

    Hugging Face MCP Server

    Hugging Face Official MCP Server connects your large language models (LLMs) to the Hugging Face Hub and thousands of Gradio AI Applications, enabling seamless MCP (Model Context Protocol) integration across multiple transports. It supports STDIO, SSE (to be deprecated but still commonly deployed), StreamableHTTP, and StreamableHTTPJson, with the Web Application allowing dynamic tool management and status updates. This MCP server is designed to be run locally or in Docker, and it provides integrations with Claude Desktop, Claude Code, Gemini CLI (and its extension), VSCode, and Cursor, making it easy to configure and manage MCP-enabled tools and endpoints. Tools such as hf_doc_search and hf_doc_fetch can be enabled to enhance document discovery, and an optional Authenticate tool can be included to handle OAuth challenges when called.

    Shadcn UI MCP Server v4

    Shadcn UI MCP Server v4

    Shadcn UI v4 MCP Server is an advanced MCP (Model Context Protocol) server designed to give AI assistants comprehensive access to shadcn/ui v4 components, blocks, demos, and metadata. It enables multi-framework support (React, Svelte, Vue, and React Native) with fast, cache-friendly access to component source code, demos, and directory structures, empowering AI-driven development workflows. The project emphasizes production-readiness with Docker Compose, SSE transport for multi-client deployments, and smart caching to optimize GitHub API usage while providing rich metadata and usage patterns for rapid prototyping and learning across frameworks.