How do I install and build the server?
Run `npm install` to install dependencies, then `npm run build` to compile the TypeScript project. For development with auto-rebuild, use `npm run watch`.
@xianzong85
基本情報
概要はまだありません
Execute SQL queries
The mysql-server MCP Server is a TypeScript-based Model Context Protocol server that provides tools for querying MySQL databases. It connects to a MySQL server using environment variables and is intended for use with MCP-compatible hosts like Claude Desktop.
Install dependencies with npm install, then build the server with npm run build. Configure the environment variables MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE in your MCP host configuration (e.g., Claude Desktop’s claude_desktop_config.json). Invoke the query tool with a SQL query string to execute queries and receive results.
query toolRun `npm install` to install dependencies, then `npm run build` to compile the TypeScript project. For development with auto-rebuild, use `npm run watch`.
Set the environment variables MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE in your MCP server configuration file (e.g., Claude Desktop’s `claude_desktop_config.json`).
The `query` tool takes a SQL query string as a required parameter and returns the results of executing that query against the configured MySQL database.
Use the MCP Inspector by running `npm run inspector`. The Inspector provides a URL with debugging tools for the server, which communicates over stdio.
The server is a TypeScript project and requires Node.js to install dependencies and run the compiled JavaScript.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
MCP server for interacting with Neon Management API and databases
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
コメント