Lanonasis MCP Server
OfficialProvides memory management, API key management, and system tools with Supabase for persistent storage, vector search, and authentication.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lanonasis MCP Server check system health"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lanonasis MCP Server - Standalone Enterprise Edition
Memory-aware AI assistant with 17+ enterprise tools for production deployment. Standards-compliant MCP stdio interface with Supabase integration.
π Features
17+ Production-Ready Tools
Memory Management: Create, search, update, delete memories with vector embeddings
API Key Management: Enterprise-grade key rotation and access control
System Tools: Health monitoring, authentication, organization management
Project Management: Multi-tenant project organization
Configuration Management: Dynamic settings and feature flags
Enterprise Capabilities
π SSL/TLS Security: Supabase SSL certificate integration
π Health Monitoring: Comprehensive health checks and metrics
π Zero Downtime: Hot reloads and graceful shutdowns
π Scalable: PM2 process management with auto-restart
π Multi-Protocol: Stdio, HTTP, WebSocket, Server-Sent Events
Related MCP server: memory-mcp
π Quick Start
Prerequisites
Node.js 18+
PM2 (for production deployment)
Nginx (for reverse proxy)
Valid Supabase project
Local Development
# Clone and setup
git clone https://github.com/lanonasis/onasis-mcp-server.git
cd onasis-mcp-server
# Install dependencies
npm install
# Configure environment
cp .env.example .env.production
# Edit .env.production with your Supabase credentials
# Start development server
npm run dev
# Test MCP connection
npm run testProduction Deployment
# Deploy to VPS (srv896342.hstgr.cloud)
./scripts/deploy-to-vps.sh
# Deploy with Nginx configuration
./scripts/deploy-to-vps.sh --configure-nginx
# Configure SSL certificate
ssh -p 2222 root@168.231.74.29
certbot --nginx -d mcp.lanonasis.comποΈ Architecture
Service Endpoints
π mcp.lanonasis.com
βββ /mcp β Stdio MCP server (port 3001)
βββ /sse β Server-Sent Events (port 3003)
βββ /health β Health monitoring
βββ /ws β WebSocket (port 3002)Directory Structure
lanonasis-mcp-server/
βββ src/
β βββ index.js # Main stdio MCP server
β βββ http-bridge.js # HTTP interface (optional)
β βββ lib/ # Shared libraries
β β βββ websocket-mcp-handler.js
β β βββ enhanced-api-gateway.js
β βββ config/
β βββ prod-ca-2021.crt # Supabase SSL certificate
βββ scripts/
β βββ deploy-to-vps.sh # Production deployment
β βββ test-mcp-connection.js
β βββ test-memory-operations.js
βββ docs/ # Documentation
βββ ecosystem.config.js # PM2 configuration
βββ package.json # Dependencies and scriptsπ§ Configuration
Environment Variables
# Server Configuration
NODE_ENV=production
PORT=3001
MCP_WS_PORT=3002
MCP_SSE_PORT=3003
# Lanonasis Supabase Integration
ONASIS_SUPABASE_URL=https://api.lanonasis.com
ONASIS_SUPABASE_ANON_KEY=your_key_here
ONASIS_SUPABASE_SERVICE_KEY=your_service_key_here
SUPABASE_SSL_CERT_PATH=/opt/certs/prod-ca-2021.crt
# Security & Performance
CORS_ORIGINS=https://lanonasis.com,https://mcp.lanonasis.com
MCP_RATE_LIMIT=100
MCP_MAX_CONNECTIONS=1000PM2 Configuration
// ecosystem.config.js
module.exports = {
apps: [{
name: 'lanonasis-mcp-server',
script: './src/index.js',
instances: 1,
autorestart: true,
max_memory_restart: '512M',
env_production: {
NODE_ENV: 'production',
PORT: 3001
}
}]
};π οΈ Available Tools
Memory Management (6 tools)
create_memory- Create memory with vector embeddingsearch_memories- Semantic vector searchget_memory- Retrieve specific memoryupdate_memory- Update existing memorydelete_memory- Remove memorylist_memories- Paginated memory listing
API Key Management (4 tools)
create_api_key- Generate new API keylist_api_keys- List active keysrotate_api_key- Rotate existing keydelete_api_key- Revoke API key
System & Health (7 tools)
get_health_status- System health checkget_auth_status- Authentication statusget_organization_info- Organization detailscreate_project- New project creationlist_projects- Project listingget_config- Configuration retrievalset_config- Dynamic configuration
π§ͺ Testing & Monitoring
Health Checks
# Local health check
curl http://localhost:3001/health
# Production health check
curl https://mcp.lanonasis.com/health
# Response format
{
"status": "healthy",
"services": {
"mcp": "running",
"supabase": "connected",
"websocket": "ready"
},
"uptime": "24h 15m",
"version": "1.0.0",
"tools_count": 17
}Performance Monitoring
# PM2 monitoring dashboard
pm2 monit
# Service logs
pm2 logs lanonasis-mcp-server
# System metrics
pm2 show lanonasis-mcp-serverMCP Protocol Testing
# Test MCP connection
npm run test
# Test memory operations
npm run test:memory
# Manual stdio test
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node src/index.jsπ Security Features
SSL/TLS Configuration
Supabase SSL certificate integration
TLS 1.2+ enforcement
HSTS headers
XSS protection headers
Access Control
JWT-based authentication
API key management with rotation
Rate limiting (100 req/15min)
CORS policy enforcement
Data Protection
Environment variable encryption
Secure secret management
Audit logging
Connection timeout controls
π Claude Integration
MCP Configuration
{
"mcpServers": {
"lanonasis-mcp": {
"command": "node",
"args": ["/path/to/lanonasis-mcp-server/src/index.js"],
"env": {
"ONASIS_SUPABASE_URL": "https://api.lanonasis.com",
"ONASIS_SUPABASE_ANON_KEY": "your_key_here"
}
}
}
}Remote MCP Connection
{
"mcpServers": {
"lanonasis-mcp-remote": {
"command": "curl",
"args": ["-X", "POST", "https://mcp.lanonasis.com/mcp"],
"env": {
"AUTHORIZATION": "Bearer your_api_key"
}
}
}
}π Deployment Scenarios
Development
npm run dev # Local development with hot reloadTesting
npm run test # Run all tests
npm run test:memory # Test memory operations onlyProduction
./scripts/deploy-to-vps.sh # Deploy to production VPSDocker (Future)
docker build -t lanonasis-mcp-server .
docker run -p 3001:3001 lanonasis-mcp-serverπ CI/CD Pipeline
GitHub Actions
name: Deploy Lanonasis MCP
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to VPS
run: ./scripts/deploy-to-vps.shAutomated Deployments
Trigger: Push to main branch
Process: Test β Build β Deploy β Health Check
Rollback: Automatic on failure (< 5 minutes)
Notifications: Slack/Discord integration ready
π Support & Documentation
Resources
Documentation:
/docsdirectoryAPI Reference: mcp.lanonasis.com/docs
Health Dashboard: mcp.lanonasis.com/health
Issue Tracker: GitHub Issues
Community
Discord: Lanonasis Community
Docs: docs.lanonasis.com
Status: status.lanonasis.com
π License
MIT License - see LICENSE file for details.
π Production Ready Features
β
Standards Compliant - Full MCP protocol support
β
Enterprise Security - SSL, JWT, rate limiting
β
High Availability - PM2, health checks, auto-restart
β
Monitoring - Comprehensive logging and metrics
β
Scalable - Multi-protocol, load balancer ready
β
Documented - Complete API documentation
β
Tested - Unit tests and integration tests
β
Deployable - One-command production deployment
π― Ready for Claude integration with 17+ enterprise tools!
Available Tools
17 toolscreate_api_keyC
Create a new API key
Inputs: name (required), project_id, description, access_level, +1 more.
create_memoryB
Create a new memory entry with vector embedding
Inputs: title (required), content (required), tags, topic_id, +1 more.
create_projectD
Create a new project
Inputs: name (required), description, organization_id.
delete_api_keyB
Delete an API key
Inputs: key_id (required).
delete_memoryB
Delete a memory by ID
Inputs: id (required).
get_auth_statusD
Get authentication status
Inputs: no named parameters.
get_configC
Get configuration settings
Inputs: key.
get_health_statusA
Get system health status
Inputs: no named parameters.
get_memoryB
Get a specific memory by ID
Inputs: id (required).
get_organization_infoB
Get organization information
Inputs: no named parameters.
list_api_keysC
List API keys
Inputs: project_id, active_only.
list_memoriesC
List memories with pagination and filters
Inputs: tags, limit, offset, memory_type.
list_projectsC
List projects
Inputs: organization_id.
rotate_api_keyC
Rotate an API key
Inputs: key_id (required).
search_memoriesC
Search through memories with semantic vector search
Inputs: query (required), tags, limit, threshold, +1 more.
set_configD
Set configuration setting
Inputs: key (required), value (required).
update_memoryC
Update an existing memory
Inputs: id (required), tags, title, content, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 17 tools
Each tool targets a distinct resource and action. Memory tools clearly separate get (by ID), search (semantic), and list (paginated) operations, while API keys, projects, config, and status tools are uniquely scoped. No two tools overlap significantly.
All 17 tools follow a consistent verb_noun snake_case pattern, using plural nouns for list/search and singular for point operations. Verb choices are clear (create, get, update, delete, list, search, rotate, set). No mixing of conventions.
At 17, the tool count is slightly above the typical 3-15 range, but the breadth of domains (memories, API keys, projects, config, status) justifies the extra tools. It feels well-scoped for a general-purpose backend server.
Memory management is fully covered with CRUD plus search. API key lifecycle is also solid. However, project support only includes create and listβno get, update, or deleteβleaving a notable gap in the project resource lifecycle.
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Cloud-hosted MCP server for durable AI memory
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server ecosystem providing Claude AI with 150+ specialized tools across enhanced memory, data analytics, security, design, and infrastructure domains with PostgreSQL, Redis, Qdrant, and Docker orchestration.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that stores project memory in Supabase, allowing AI tools to persist context, notes, and decisions across sessions. Enables Claude Code, Codex, and similar assistants to maintain long-term project continuity through persistent memory storage.2MIT
- AlicenseNot gradedqualityCmaintenanceEnterprise-grade MCP server integrating Claude AI capabilities, enabling AI-powered conversations, file operations, and system tools via the Model Context Protocol.1Apache 2.0
- -licenseNot gradedqualityBmaintenanceEnterprise-grade MCP server for persistent, intelligent memory management across Claude Code sessions.-