DEV Community

Discussion on: MCP Server for MySQL

Collapse
 
benborla profile image
Ben Borla

What’s your configuration looks like and which tool are you using this to?

Collapse
 
madlad_8 profile image
Arpan Bhusal • Edited

config = {
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@benborla29/mcp-server-mysql"
],
"env": {
"DB_HOST": str(DB_HOST),
"DB_PORT": str(DB_PORT),
"DB_USER": str(DB_USER),
"DB_PASSWORD": str(DB_PASSWORD),
"DB_NAME": str(DB_NAME)
}
}
}
}
but instead of configuring in claude desktop , i am trying to have this configured to web-ui (FLASK APP).

Thread Thread
 
madlad_8 profile image
Arpan Bhusal

This works with claude-desktop now, but doesnt work if you have a your own web-ui.