Skip to main content
Glama

MySQL MCP Server

MIT License
1
1
  • Apple
  • Linux
types.ts942 B
export interface MySQLConfig { host: string; port: number; user: string; password: string; database?: string; connectionLimit?: number; timeout?: number; } export interface DatabaseInfo { name: string; charset: string; collation: string; } export interface TableInfo { name: string; engine: string; rows: number; dataLength: number; indexLength: number; comment: string; } export interface ColumnInfo { field: string; type: string; null: string; key: string; default: string | null; extra: string; comment: string; } export interface QueryResult { rows: any[]; fields: any[]; affectedRows?: number; insertId?: number; } export interface ExportOptions { format: 'csv' | 'json'; filePath: string; includeHeaders?: boolean; } export interface ImportOptions { format: 'csv' | 'json'; filePath: string; tableName: string; createTable?: boolean; truncateFirst?: boolean; }

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