Back to Home
decocms icon

mesh

Verified Safe

by decocms

Overview

An open-source control plane for Model Context Protocol (MCP) traffic, providing unified authentication, routing, observability, and tool management for AI agents and integrations across various services.

Installation

Run Command
bun run dev

Environment Variables

  • ENCRYPTION_KEY
  • DATABASE_URL
  • PORT
  • NODE_ENV
  • UNSAFE_ALLOW_STDIO_TRANSPORT
  • MESH_URL

Security Notes

The project demonstrates strong security awareness, especially in critical areas. It utilizes `quickjs-emscripten-core` for sandboxed JavaScript execution, carefully limiting tool exposure. Raw SQL execution via `DATABASES_RUN_SQL` is mitigated with `SET LOCAL ROLE` and `SET LOCAL search_path` within transactions for PostgreSQL, providing robust isolation. The OAuth proxy (`oauth-proxy.ts`) includes logic to rewrite URLs and handle `WWW-Authenticate` headers, addressing common OAuth vulnerabilities. Sensitive data is protected using `aes-256-gcm` encryption with a non-hardcoded `ENCRYPTION_KEY`. STDIO connections are disabled by default in production unless explicitly enabled via `UNSAFE_ALLOW_STDIO_TRANSPORT=true`. Overall, the architecture and implementation show a high level of attention to security, but complex systems always have inherent risks.

Similar Servers

Stats

Interest Score71
Security Score9
Cost ClassLow
Stars315
Forks31
Last Update2026-01-19

Tags

AI control planeMCPintegrationsAPI gatewayobservabilityRBACmulti-tenancyTypeScript