{"library":"omnibase-mcp","title":"Omnibase MCP Server for AI Agents","description":"Omnibase-MCP (Multi-Agent Communication Protocol) is a server designed to provide universal database access for AI agents. It acts as a central control plane, enabling agents to interact with various SQL databases such as PostgreSQL, MySQL, and SQLite. The package, currently in version 0.1.30, is under rapid and active development with frequent minor releases, often multiple times a month, indicating a project in its early, evolving stages. Key differentiators include a dynamic driver plugin architecture, comprehensive CLI tools for lifecycle management (e.g., upgrade, status monitoring), and support for user-defined custom tools. Its core purpose is to abstract database-specific complexities, allowing AI agents to perform complex data queries and management tasks through a unified interface.","language":"javascript","status":"active","last_verified":"Wed Apr 22","install":{"commands":["npm install omnibase-mcp"],"cli":{"name":"omnibase","version":null}},"imports":["import { startMcp } from 'omnibase-mcp';","import { Server } from 'omnibase-mcp';","import type { McpConfig } from 'omnibase-mcp';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { startMcp } from 'omnibase-mcp';\nimport path from 'path';\n\nasync function main() {\n  // Example configuration for the MCP server. Real applications would fetch this securely.\n  const config = {\n    // Ensure your database drivers are available at runtime or via plugins.\n    databases: [\n      {\n        name: 'my_app_db',\n        type: 'sqlite',\n        connectionString: 'sqlite://' + path.join(process.cwd(), 'my_app.sqlite'),\n      },\n      // Add more database configurations here (e.g., PostgreSQL, MySQL)\n    ],\n    // The port on which the MCP server will listen.\n    port: process.env.MCP_SERVER_PORT ? parseInt(process.env.MCP_SERVER_PORT) : 8000,\n    // Enable or disable specific features, e.g., custom tools.\n    enableCustomTools: true,\n    logLevel: 'info'\n  };\n\n  try {\n    console.log(`Starting Omnibase MCP server on port ${config.port}...`);\n    // Start the MCP server programmatically\n    const server = await startMcp(config);\n    console.log('Omnibase MCP server started successfully.');\n\n    // Keep the process alive, or set up graceful shutdown handlers\n    process.on('SIGINT', async () => {\n      console.log('Stopping Omnibase MCP server...');\n      // Assuming server.close() exists for graceful shutdown\n      // await server.close(); \n      console.log('Omnibase MCP server stopped.');\n      process.exit(0);\n    });\n    process.on('SIGTERM', async () => {\n      console.log('Stopping Omnibase MCP server...');\n      // await server.close();\n      console.log('Omnibase MCP server stopped.');\n      process.exit(0);\n    });\n\n  } catch (error) {\n    console.error('Failed to start Omnibase MCP server:', error);\n    process.exit(1);\n  }\n}\n\nmain();","lang":"typescript","description":"This quickstart demonstrates how to programmatically start the Omnibase MCP server with a basic SQLite database configuration, showing typical server setup and graceful shutdown handling.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}