Skip to content

Commit 1938d08

Browse files
authored
Update README.md
1 parent c7dc34f commit 1938d08

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,33 @@ Or if you don't want to use smithery, use this
107107
```
108108
npx mcprunner MYSQL_HOST=127.0.0.1 MYSQL_PORT=3306 MYSQL_USER=root MYSQL_PASS=root MYSQL_DB=demostore ALLOW_INSERT_OPERATION=true ALLOW_UPDATE_OPERATION=true ALLOW_DELETE_OPERATION=false -- npx -y @benborla29/mcp-server-mysql
109109
```
110-
Don't forget to replace the `env` values on that command.
110+
Don't forget to replace the `env` values on that command. If you have the latest version of Cursor, just copy and paste the config below:
111+
112+
`mcp.json`
113+
```json
114+
{
115+
"mcpServers": {
116+
"MySQL": {
117+
"command": "npx",
118+
"args": [
119+
"mcprunner",
120+
"MYSQL_HOST=127.0.0.1",
121+
"MYSQL_PORT=3306",
122+
"MYSQL_USER=root",
123+
"MYSQL_PASS=root",
124+
"MYSQL_DB=demostore",
125+
"ALLOW_INSERT_OPERATION=true",
126+
"ALLOW_UPDATE_OPERATION=true",
127+
"ALLOW_DELETE_OPERATION=false",
128+
"--",
129+
"npx",
130+
"-y",
131+
"@benborla29/mcp-server-mysql"
132+
]
133+
}
134+
}
135+
}
136+
```
111137

112138
### Using MCP Get
113139

0 commit comments

Comments
 (0)