Self-host Metorial
MCP gateway and identity layer for AI agents
- Stars
- 3 370
- Requires
- Docker, MongoDB
What is Metorial?
Metorial is an open-source identity and access layer that connects AI agents to external systems through the Model Context Protocol. The metorial repository holds its integration catalog, covering SaaS tools, enterprise systems and custom MCP servers, while the companion Metorial Platform repo contains the engine you can run yourself. It centralises OAuth and API-key credential handling, adds RBAC, SAML SSO and per-agent scoped permissions, and keeps audit logs that trace every action back to the acting agent and the credential owner. Developers use TypeScript or Python SDKs, complete API coverage, or a single Magic MCP URL that works with clients such as Claude Code, Codex and Cursor, and can test servers in an embedded MCP Explorer inside the dashboard. Self-hosting means deploying the Metorial Platform stack: a TypeScript/Bun core, a Go MCP engine, PostgreSQL, Redis, MongoDB and Docker for containerised MCP servers. A hosted platform offers a free Dev plan, paid Scale plans and enterprise options such as on-prem deployment.
Should you self-host Metorial?
Metorial scores 55/100 on selfhost.directory (how scoring works) and ranks #65 of 209 in AI Agents. It has 3 370 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. It is Other-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is OpenConnector (65/100, 6 112 stars). It scores higher overall, so compare the two before you pick. See Metorial vs OpenConnector side by side.
Features
- Audit Logs
- Built-in web search
- Embedded MCP explorer
- MCP server catalog
- Model Context Protocol support
- Multi-Instance Support
- OAuth credential management
- REST API
- Role-based Access Control
- SAML SSO
- Scoped permissions
- Session Monitoring
- Web Dashboard
Metorial README
More in API Management
mosoomosoo is an open-source Agent runtime for running Codex, Claude, OpenCode, and Pi agents via a unified API with isolated sandboxes and durable sessions.
nodifyNodify is a self-hosted headless CMS with REST/GraphQL APIs, native multilingual support, plugins, and SDKs for Java, Python, Node.js, PHP.
octeliumOpen-source self-hosted zero trust access platform replacing VPNs, tunnels and gateways, with WireGuard/QUIC clients, clientless access and policy-as-code.
Oh My CPAOh My CPA is a self-hosted, open-source web console for managing CLIProxyAPI, an AI gateway. Single Go binary with embedded React UI, SQLite, and CPA management key auth.
open-managed-agentsSelf-hosted open-source agent platform managing sessions, execution, recovery. Supports any model, harness, sandbox via Docker, Node.js, Fly.io, Cloudflare.
openmeterOpenMeter is a self-hosted, open-source metering and billing platform for AI and API products that ingests usage events in real time.
OpenWASelf-hosted, open-source WhatsApp API gateway: a REST API plus web dashboard with multi-session support, webhooks and swappable SQLite/PostgreSQL backends.
OtariA self-hosted, open-source LLM gateway that unifies 40+ model providers behind one OpenAI-compatible endpoint, with virtual keys, budget controls, and usage analytics.
PipelexBuild AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
pRESTOpen-source, self-hosted backend that turns a PostgreSQL or MySQL database into instant REST CRUD endpoints, custom SQL routes, JWT auth and a read-only MCP API.
skrunSkrun is a self-hosted agent runtime turning Agent Skills into POST /run APIs. Supports multiple LLMs, MCP, SSE, webhooks, dashboard. MIT, Node.js, SQLite/Postgres
StrapiSelf-hosted, open-source headless CMS built with JavaScript/TypeScript that generates REST and GraphQL APIs from content models, with a customizable admin panel.

0 comments