Skip to main content
Glama
Nam088

Multi-Database MCP Server

by Nam088
server.ts989 B
#!/usr/bin/env node import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { PluginRegistry } from '@nam088/mcp-core'; import { RedisPlugin } from '../src/index.js'; /** * Redis MCP Server * Standalone server for Redis plugin */ async function main(): Promise<void> { const server = new McpServer( { name: 'mcp-redis', version: '0.2.5', }, { capabilities: { tools: {}, }, }, ); // Create plugin registry const registry = new PluginRegistry(server); // Register Redis plugin await registry.registerPlugin(RedisPlugin); // Connect transport const transport = new StdioServerTransport(); await server.connect(transport); console.log('[INFO] [MCPRedisServer] Redis MCP Server running on stdio'); } main().catch((error) => { console.error('[ERROR] [MCPRedisServer] Fatal error:', error); process.exit(1); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nam088/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server