Skip to main content
Glama

MySQL MCP Server

MIT License
1
1
  • Apple
  • Linux
index.ts663 B
#!/usr/bin/env node import { MySQLMCPServer } from './server.js'; async function main() { const server = new MySQLMCPServer(); // 处理进程退出信号 process.on('SIGINT', async () => { console.error('收到 SIGINT 信号,正在关闭服务器...'); process.exit(0); }); process.on('SIGTERM', async () => { console.error('收到 SIGTERM 信号,正在关闭服务器...'); process.exit(0); }); try { await server.run(); } catch (error) { console.error('服务器启动失败:', error); process.exit(1); } } main().catch((error) => { console.error('未处理的错误:', error); process.exit(1); });

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/pickstar-2002/mysql-mcp'

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