Skip to main content
Glama

Natural Language MySQL Query System

mastra.ts516 B
import { Mastra } from "@mastra/core/mastra"; import { PinoLogger } from "@mastra/loggers"; import { LibSQLStore } from "@mastra/libsql"; import { MySQLAgent } from "./agents/mysql-agent"; export const mastra = new Mastra({ agents: { MySQLAgent }, storage: new LibSQLStore({ // stores telemetry, evals, ... into memory storage, if it needs to persist, change to file:../mastra.db url: `file:${process.cwd()}/mastra.db`, }), logger: new PinoLogger({ name: "Mastra", level: "info", }), });

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/floatDreamWithSong/mysql-mcp-server-qwen-manager'

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