onasis-mcp-server
by lanonasis
Overview
Provides a unified API gateway and Model Context Protocol (MCP) server for enterprise memory management (Memory as a Service - MaaS), AI agent integration, and secure API key management, with real-time updates and workflow orchestration capabilities.
Installation
node dist/unified-mcp-server.jsEnvironment Variables
- SUPABASE_URL
- SUPABASE_KEY
- SUPABASE_SERVICE_KEY
- JWT_SECRET
- API_KEY_ENCRYPTION_KEY
- OPENAI_API_KEY
- REDIS_URL
- OAUTH_CLIENT_SECRET
- EMERGENCY_BOOTSTRAP_TOKEN
- ONASIS_CORE_URL
- LANONASIS_MAAS_URL
- NODE_ENV
- PORT
- HOST
Security Notes
The server has critical security vulnerabilities. The '2025-08-23-PROGRESS-UPDATE.md' explicitly flags 'Authentication & Authorization Issues ⚠️' noting 'Current MCP implementation bypasses Core authentication entirely' and 'MCP calls database directly without proper JWT validation'. The `src/netlify/mcp.js` Netlify function hardcodes `organizationId: 'ADMIN_ORG'` and `userId: null`, allowing unauthenticated creation of memories and API keys. The `src/middleware/_middleware.js` includes a 'WARNING: Placeholder implementation - DO NOT DEPLOY TO PRODUCTION' for JWT validation. The `src/routes/emergency-admin.ts` creates an admin API key without login and warns to 'Remove this file after initial setup!'. Weak default `JWT_SECRET` and `EMERGENCY_BOOTSTRAP_TOKEN` values are present. The `EncryptionUtils` uses a hardcoded 'salt' which is a security anti-pattern. While `src/middleware/auth-aligned.ts` attempts to fix some authentication issues, the overall system, especially in its Netlify function deployments, is highly insecure and not safe for production as-is.
Similar Servers
claude-flow
AI Agent Orchestration and Development Platform for Claude Code
zen-mcp-server
A server for coordinating and managing AI agents, likely for simulations or complex task execution, leveraging Claude LLMs.
emceepee
A proxy server enabling AI agents to dynamically connect to and interact with multiple Model Context Protocol (MCP) backend servers, exposing the full MCP protocol via a simplified tool interface or a sandboxed JavaScript execution environment.
mcp-gateway
A unified gateway for managing and monitoring MCP (Model Context Protocol) servers, capturing traffic logs, and troubleshooting integrations with AI clients like Claude.