-
Notifications
You must be signed in to change notification settings - Fork 1.3k
mcp env gets ignored #26
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
same mcp works with every other cli tool so the mcp iteself is NOT the problem 😏
{
"mcpServers": {
"mysql_client": {
"type": "local",
"command": "mysql_mcp_server",
"tools": [
"*"
],
"args": [],
"env": {
"MYSQL_HOST": "xxxxx",
"MYSQL_PORT": "xxx",
"MYSQL_USER": "xxxx",
"MYSQL_PASSWORD": "xxxxxxxx",
"MYSQL_DATABASE": "xxxxx"
}
}
}
}2025-09-25T22:20:49.336Z [LOG] [mcp server mysql_client stderr] 2025-09-26 00:20:49,335 - mysql_mcp_server - ERROR - Missing required database configuration. Please check environ
│ ment variables:
8 │ 2025-09-26 00:20:49,335 - mysql_mcp_server - ERROR - MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE are required
9 │ Traceback (most recent call last):
10 │ File "/home/micha/.local/bin/mysql_mcp_server", line 8, in <module>
11 │ sys.exit(main())MCP: https://github.com/designcomputer/mysql_mcp_server
Affected version
0.0.327
Steps to reproduce the behavior
setup the mysql_mcp_server with correct env
Expected behavior
env variables should be used
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for Bug.