Skip to content

Commit 5e9dc8d

Browse files
add instructions for using with vscode
1 parent 5cf9d7e commit 5e9dc8d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,31 @@ Add this to your `claude_desktop_config.json`:
6060
}
6161
```
6262

63+
### With Visual Studio Code
64+
Add this to your `mcp.json`:
65+
```json
66+
{
67+
"servers": {
68+
"mysql": {
69+
"type": "stdio",
70+
"command": "uvx",
71+
"args": [
72+
"--from",
73+
"mysql-mcp-server",
74+
"mysql_mcp_server"
75+
],
76+
"env": {
77+
"MYSQL_HOST": "localhost",
78+
"MYSQL_PORT": "3306",
79+
"MYSQL_USER": "your_username",
80+
"MYSQL_PASSWORD": "your_password",
81+
"MYSQL_DATABASE": "your_database"
82+
}
83+
}
84+
}
85+
```
86+
Note: Will need to install uv for this to work
87+
6388
### Debugging with MCP Inspector
6489
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.
6590

0 commit comments

Comments
 (0)