metamcp
MCP ServerFreeMCP Aggregator, Orchestrator, Middleware, Gateway in one docker
Capabilities14 decomposed
multi-server mcp aggregation with namespace-based tool curation
Medium confidenceDynamically aggregates tools from multiple MCP servers into isolated namespaces, applying server-to-namespace-to-endpoint three-tier configuration abstraction. Uses a session pool management system that pre-allocates persistent connections to backend MCP servers, eliminating cold-start latency on each client request. The aggregation engine maintains a tool registry synchronized via discovery mechanisms, enabling administrators to selectively expose, override, or filter tools per namespace without modifying upstream servers.
Implements a three-tier configuration model (MCP Servers → Namespaces → Endpoints) with persistent session pools that pre-allocate connections, eliminating per-request cold starts. Tool discovery is synchronized into a PostgreSQL-backed registry with namespace-specific overrides applied via middleware, enabling tool customization without upstream server modification.
Faster than direct MCP client connections due to session pooling, more flexible than static tool lists because it dynamically discovers and aggregates tools, and more scalable than per-client connections because it multiplexes pooled sessions across many concurrent clients.
middleware pipeline system for tool transformation and filtering
Medium confidenceApplies a composable middleware stack to tool definitions and invocations at the namespace level, enabling schema modification, parameter validation, access control filtering, and request/response transformation without modifying upstream MCP servers. Middleware executes in sequence during tool discovery (for schema transformation) and at invocation time (for request/response interception). The system supports both built-in middleware (filtering, renaming, schema override) and custom middleware via plugin interfaces.
Implements a composable middleware pipeline that operates at both schema discovery time and invocation time, allowing namespace-specific tool customization without modifying upstream servers. Middleware is applied sequentially with early-exit filtering, enabling efficient access control and schema transformation in a single pass.
More flexible than static tool allowlists because middleware can apply complex transformation logic, more maintainable than forking servers because customizations are centralized in MetaMCP configuration, and more performant than per-request server modifications because transformations are cached at discovery time.
nested metamcp support with tool name parsing and disambiguation
Medium confidenceSupports chaining MetaMCP instances (MetaMCP connecting to another MetaMCP as an MCP server), enabling hierarchical tool aggregation and delegation. When a MetaMCP instance connects to another MetaMCP, it discovers tools from the downstream instance and can aggregate them into its own namespaces. Tool names are parsed to disambiguate which MetaMCP instance a tool belongs to, enabling multi-level tool hierarchies.
Supports chaining MetaMCP instances by treating downstream MetaMCP as an MCP server, enabling hierarchical tool aggregation. Tool name parsing disambiguates tools across multiple MetaMCP levels, enabling multi-level tool hierarchies and delegation.
More flexible than flat aggregation because it enables hierarchical organization, more scalable than single-instance deployments because it distributes load across multiple instances, and more maintainable than manual tool routing because tool name parsing is automatic.
error handling and crash recovery with automatic reconnection
Medium confidenceImplements comprehensive error handling for MCP server failures, network issues, and invalid tool invocations. When an MCP server becomes unreachable, the session pool detects the failure via health checks and automatically reconnects. Tool invocation errors are caught, logged, and returned to clients with detailed error messages. The system distinguishes between transient errors (network timeouts, temporary unavailability) and permanent errors (invalid tool, authentication failure), applying appropriate recovery strategies.
Implements automatic error detection and recovery via health checks, with classification of transient vs permanent errors to apply appropriate recovery strategies. Errors are logged with detailed context for operational monitoring and debugging.
More resilient than manual error handling because recovery is automatic, more informative than silent failures because errors are logged with context, and more intelligent than retry-all approaches because transient vs permanent errors are classified.
trpc type-safe api procedures for configuration and management
Medium confidenceImplements backend business logic via tRPC procedures, providing end-to-end type safety from frontend UI to database. tRPC procedures handle configuration mutations (create/update/delete MCP servers, namespaces, endpoints), tool discovery, and session management. Type definitions are shared between frontend and backend, eliminating type mismatches and enabling IDE autocomplete for API calls.
Uses tRPC for end-to-end type safety between frontend and backend, with shared type definitions and compile-time type checking. tRPC procedures handle all configuration mutations and management operations, eliminating type mismatches.
More type-safe than REST APIs because types are enforced at compile time, more developer-friendly than GraphQL because it requires less boilerplate, and more maintainable than manual type definitions because types are shared between frontend and backend.
drizzle orm data persistence with postgresql repository layer
Medium confidenceUses Drizzle ORM to define database schema and implement repository layer for all data persistence (MCP server configurations, namespaces, endpoints, tool registry, API keys, audit logs). Drizzle provides type-safe SQL queries with compile-time validation, migrations for schema evolution, and query builders for complex queries. All data is persisted in PostgreSQL, enabling multi-instance deployments with shared state.
Uses Drizzle ORM for type-safe SQL with compile-time validation, providing a repository layer for all data persistence. Schema is defined in TypeScript with migrations for evolution, enabling type-safe database access without manual SQL.
More type-safe than raw SQL because queries are validated at compile time, more maintainable than manual migrations because Drizzle handles schema evolution, and more flexible than ORMs like Sequelize because Drizzle provides fine-grained control over SQL generation.
public endpoint exposure with multi-protocol transport support
Medium confidenceExposes aggregated MCP servers as public endpoints via three simultaneous transport protocols: Server-Sent Events (SSE) for streaming, Streamable HTTP for request-response, and OpenAPI for REST clients. Each endpoint is independently configurable with its own authentication scheme (API key, OAuth, public), namespace binding, and session lifecycle. The system maintains separate session pools per endpoint, allowing different clients to connect via their preferred protocol without interference.
Simultaneously exposes the same aggregated MCP servers via three independent transport protocols (SSE, HTTP, OpenAPI) with per-endpoint session pools and authentication schemes. OpenAPI projection automatically generates REST schemas from MCP tool definitions, enabling REST clients to consume MCP tools without protocol translation logic.
More flexible than single-protocol gateways because it supports SSE, HTTP, and REST simultaneously, more accessible than raw MCP because REST clients don't need MCP libraries, and more efficient than separate gateway instances because all protocols share the same aggregation engine and session pools.
api key and oauth authentication with multi-tenant access control
Medium confidenceImplements a multi-tenant authentication and authorization layer supporting both API key and OAuth flows, with per-endpoint and per-namespace access control. API keys are stored in PostgreSQL with scoping rules (allowed endpoints, namespaces, tools), and OAuth integrates with external providers via standard OIDC/OAuth2 flows. The system enforces access control at the endpoint level (which clients can connect) and tool level (which tools a client can invoke), with audit logging of all authenticated requests.
Combines API key and OAuth authentication in a single system with per-endpoint and per-tool access scoping, persisted in PostgreSQL with audit logging. Supports both static API keys (for service-to-service) and dynamic OAuth tokens (for user-based access), enabling flexible multi-tenant deployments.
More flexible than API-key-only systems because it supports OAuth for user-based access, more granular than endpoint-level auth because it enforces tool-level access control, and more auditable than in-memory auth because all decisions are logged to persistent storage.
tool discovery and synchronization with persistent registry
Medium confidenceAutomatically discovers tools from connected MCP servers via the MCP list_tools protocol, persists tool definitions in PostgreSQL, and maintains a synchronized registry that updates when upstream servers change. Discovery runs on-demand or on a schedule, comparing upstream tool lists against the persisted registry to detect additions, removals, and schema changes. Tool metadata (name, description, input schema, output schema) is stored with namespace-specific overrides applied at query time, enabling tool customization without modifying the canonical definition.
Implements a persistent tool registry in PostgreSQL that synchronizes with upstream MCP servers via scheduled or on-demand discovery, detecting tool additions/removals/schema changes. Namespace-specific overrides are applied at query time via a middleware layer, enabling tool customization without duplicating definitions or modifying upstream servers.
More maintainable than manual tool lists because discovery is automated, more auditable than in-memory registries because all changes are persisted, and more flexible than static tool configurations because overrides are applied dynamically per namespace.
session pool management with cold-start optimization
Medium confidencePre-allocates and maintains a pool of persistent connections to each MCP server, eliminating per-request connection overhead and cold-start latency. The session pool manager maintains a configurable pool size per server, reuses connections across multiple client requests, and implements connection health checks with automatic reconnection on failure. Sessions are borrowed from the pool on client request and returned after tool invocation completes, with idle timeout and maximum lifetime policies to prevent resource leaks.
Implements a pre-allocation session pool per MCP server with configurable min/max sizes, health checks, and automatic reconnection. Sessions are borrowed/returned via a pool manager, enabling connection reuse across multiple concurrent clients without per-request connection overhead.
Faster than per-request connections because sessions are pre-allocated, more efficient than unlimited connections because pool size is bounded, and more resilient than single persistent connections because health checks enable automatic recovery from transient failures.
configuration management with declarative namespace and endpoint definitions
Medium confidenceProvides a declarative configuration system for defining MCP servers, namespaces, and endpoints via a Next.js UI and tRPC backend, with all configurations persisted in PostgreSQL via Drizzle ORM. Administrators define which MCP servers to connect to, which tools to aggregate into which namespaces, and which endpoints to expose publicly. Configuration changes are applied dynamically without requiring server restart, with validation and conflict detection to prevent invalid configurations.
Implements a declarative configuration system with a Next.js UI and tRPC backend, persisting all configurations in PostgreSQL. Configuration changes are applied dynamically without server restart, with validation and conflict detection to prevent invalid states.
More user-friendly than file-based configuration because it provides a UI, more dynamic than static config files because changes apply without restart, and more type-safe than JSON config because tRPC provides end-to-end type checking.
mcp inspector interface for tool testing and debugging
Medium confidenceProvides a web-based inspector UI for testing tool invocations, viewing tool schemas, and debugging MCP server behavior. The inspector allows administrators to select a tool from any namespace, construct input parameters via a form or JSON editor, invoke the tool, and view the response. Request/response history is maintained for debugging, with detailed error messages and server logs visible in the UI.
Provides a web-based inspector UI integrated into the MetaMCP admin interface, enabling tool testing without client code. Inspector maintains request/response history and displays detailed error messages, enabling rapid debugging of tool integration issues.
More accessible than command-line testing because it provides a UI, more integrated than external testing tools because it's built into MetaMCP, and more informative than raw MCP logs because it provides structured request/response inspection.
tool override and customization system with namespace-specific modifications
Medium confidenceEnables namespace-specific tool customization via a declarative override system that modifies tool names, descriptions, input/output schemas, and visibility without forking upstream servers. Overrides are applied at query time via the middleware pipeline, allowing different namespaces to present different versions of the same tool. The system supports renaming tools, hiding tools, modifying parameter schemas, and adding custom metadata.
Implements a declarative override system applied at query time via middleware, enabling namespace-specific tool customization without duplicating tool definitions or modifying upstream servers. Overrides support renaming, hiding, schema modification, and metadata enrichment.
More flexible than static tool lists because overrides can be applied dynamically, more maintainable than forking servers because customizations are centralized, and more efficient than per-client customization because overrides are namespace-scoped.
docker containerization with self-hosted deployment
Medium confidencePackages MetaMCP as a Docker container with all dependencies (Node.js, PostgreSQL client, MCP libraries) included, enabling single-command deployment. The Docker image includes the Next.js frontend, Node.js backend, and all configuration management logic. Environment variables control database connection, authentication providers, and MCP server endpoints, enabling configuration without rebuilding the image.
Packages MetaMCP as a single Docker image with all dependencies included, enabling one-command deployment. Environment variables control all configuration, eliminating the need to rebuild the image for different deployments.
More portable than source-based deployment because it includes all dependencies, more flexible than SaaS because it enables self-hosting, and more scalable than single-instance deployments because it supports horizontal scaling with external PostgreSQL.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with metamcp, ranked by overlap. Discovered automatically through the match graph.
MCP Aggregator
** - An MCP (Model Context Protocol) aggregator that allows you to combine multiple MCP servers into a single endpoint allowing to filter specific tools.
Plugged.in
** - A comprehensive proxy that combines multiple MCP servers into a single MCP. It provides discovery and management of tools, prompts, resources, and templates across servers, plus a playground for debugging when building MCP servers.
MBro
** - A powerful interactive terminal **M**CP **Bro**wser client with tab completion and automatic documentation that allows you to work with multiple MCP servers, manage tools, and create complex workflows using AI assistants.
mcporter
TypeScript runtime and CLI for connecting to configured Model Context Protocol servers.
🧲 Magg 🧲
** - A meta-MCP server that acts as a universal hub, allowing LLMs to autonomously discover, install, and orchestrate multiple MCP servers - essentially giving AI assistants the power to extend their own capabilities on-demand.
cyrus-mcp-tools
Runner-neutral MCP tool servers for Cyrus
Best For
- ✓teams managing multiple MCP servers and needing centralized tool governance
- ✓enterprises requiring multi-tenant tool access with per-namespace customization
- ✓LLM application builders wanting to abstract away MCP server complexity
- ✓teams needing to standardize tool interfaces across heterogeneous MCP servers
- ✓organizations with strict access control requirements per team or role
- ✓builders wanting to add observability or validation layers without forking servers
- ✓large organizations with multiple teams, each running their own MetaMCP instance
- ✓enterprises needing hierarchical access control and tool delegation
Known Limitations
- ⚠session pool pre-allocation requires upfront memory/connection overhead proportional to pool size
- ⚠tool discovery synchronization is eventually consistent — newly added tools on upstream servers may have propagation delay
- ⚠namespace isolation is logical, not cryptographic — relies on authentication layer for true security boundaries
- ⚠middleware execution adds latency per pipeline stage — complex pipelines may add 50-200ms per invocation
- ⚠custom middleware requires TypeScript knowledge and recompilation/redeployment
- ⚠middleware state is not persisted — stateful transformations require external storage
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Feb 8, 2026
About
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker
Categories
Alternatives to metamcp
Are you the builder of metamcp?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →