From 5e9dc8d1abcc73402ac0c7e0f6bf6441776b7a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=85=E0=A4=AE=E0=A4=A8=20=7C=7C=20Aman?= <7098967+amankhandelia@users.noreply.github.com> Date: Thu, 10 Apr 2025 16:26:19 +0530 Subject: [PATCH] add instructions for using with vscode --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index c1f85c3..033acd5 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,31 @@ Add this to your `claude_desktop_config.json`: } ``` +### With Visual Studio Code +Add this to your `mcp.json`: +```json +{ + "servers": { + "mysql": { + "type": "stdio", + "command": "uvx", + "args": [ + "--from", + "mysql-mcp-server", + "mysql_mcp_server" + ], + "env": { + "MYSQL_HOST": "localhost", + "MYSQL_PORT": "3306", + "MYSQL_USER": "your_username", + "MYSQL_PASSWORD": "your_password", + "MYSQL_DATABASE": "your_database" + } + } +} +``` +Note: Will need to install uv for this to work + ### Debugging with MCP Inspector While MySQL MCP Server isn't intended to be run standalone or directly from the command line with Python, you can use the MCP Inspector to debug it.