MySQL Query
Provides a secure, read-only bridge to MySQL databases, enabling natural language querying across mu...
Gather Your MySQL Database Credentials
- For each environment (local, development, staging, production) you want to connect, you will need the following:
- Host (e.g., localhost, dev.example.com)
- User (database username for the environment)
- Password (database user password)
- Database Name (the database you want to query)
- (Optional) Port (default is 3306)
- (Optional) SSL and certificate-related settings, if your DB requires secure connections
- For each environment (local, development, staging, production) you want to connect, you will need the following:
Access Your Database Provider or Server for Credentials
- If you're self-hosting MySQL: Log in to your server or hosting control panel to retrieve or set up usernames and passwords.
- If using a managed service (e.g. AWS RDS, Azure Database, PlanetScale, Vercel, DigitalOcean):
- Log in to the respective service dashboard.
- Go to the database instance and find the "Connection Details" or similar section to get host, user, password, and database name.
- For most providers, you can create new users and passwords if needed.
Ensure User Has Read-Only Permissions (Recommended)
- For security, use a user account limited to SELECT, SHOW, and DESCRIBE privileges.
- In MySQL, you can create a read-only user with a command similar to:
CREATE USER 'readonly_user'@'%' IDENTIFIED BY 'your_password'; GRANT SELECT, SHOW VIEW ON your_database.* TO 'readonly_user'@'%'; FLUSH PRIVILEGES; - Replace
'readonly_user','your_password', andyour_databaseappropriately.
Copy Values Into FastMCP Connection Interface
- Open your FastMCP environment.
- Click the “Install Now” (or equivalent) button for MySQL Query MCP.
- In the FastMCP connection interface, fill in the required values for each environment you wish to enable:
- LOCAL_DB_HOST, LOCAL_DB_USER, LOCAL_DB_PASS, LOCAL_DB_NAME, LOCAL_DB_PORT (default 3306)
- DEVELOPMENT_DB_HOST, DEVELOPMENT_DB_USER, etc. (if using dev)
- STAGING_DB_HOST, STAGING_DB_USER, etc. (if using staging)
- PRODUCTION_DB_HOST, PRODUCTION_DB_USER, etc. (if using production)
- Optional: Set DEBUG to
trueif you need extra logging. - Optional: Set MCP_MYSQL_SSL to
trueif you’re connecting to a database that requires SSL. - Optional: Set MCP_MYSQL_REJECT_UNAUTHORIZED to
falseif you encounter certificate errors (not recommended for production).
Save and Test the Connection
- Save the configuration.
- Use the query tool or environment info features from your AI assistant to confirm connectivity and access.
Notes:
- Do not abbreviate environment values (must use LOCAL_, DEVELOPMENT_, etc.).
- For sensitive/production environments, manage credentials securely and rotate if compromised.
- Only read-only operations are supported.
Quick Start
Choose Connection Type for
Authentication Required
Please sign in to use FastMCP hosted connections
Run MCP servers without
local setup or downtime
Access to 1,000+ ready-to-use MCP servers
Skip installation, maintenance, and trial-and-error.
No local setup or infra
Run MCP servers without Docker, ports, or tunnels.
Always online
Your MCP keeps working even when your laptop is off.
One secure URL
Use the same MCP from any agent, anywhere.
Secure by default
Encrypted connections. Secrets never stored locally.
Configuration for
Environment Variables
Please provide values for the following environment variables:
HTTP Headers
Please provide values for the following HTTP headers:
started!
The MCP server should open in . If it doesn't open automatically, please check that you have the application installed.
Copy and run this command in your terminal:
Make sure Gemini CLI is installed:
Visit Gemini CLI documentation for installation instructions.
Make sure Claude Code is installed:
Visit Claude Code documentation for installation instructions.
Installation Steps:
Configuration
Installation Failed
More for Database
View All →Supabase MCP Server
Connect Supabase projects directly with AI assistants using the Model Context Protocol (MCP). This server standardizes communication between Large Language Models and Supabase, enabling AI to manage tables, query data, and interact with project features like edge functions, storage, and branching. Customize access with read-only or project-scoped modes and select specific tool groups to fit your needs. Integrated tools cover account management, documentation search, database operations, debugging, and more, empowering AI to assist with development, monitoring, and deployment tasks in your Supabase environment efficiently and securely.
Svelte
Official Svelte documentation access and code analysis server that provides up-to-date reference material, playground link generation, and intelligent autofixer capabilities for detecting common patterns, anti-patterns, and migration opportunities in Svelte 5 and SvelteKit projects.