Hi Santiago,
Here's the correct syntax for using env variables in the mcp.json file: ${env:VARIABLE_NAME}.
Make sure to set your env's before starting Bob also.
Here's an example:
{
"mcpServers": {
"postgres": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://${env:DB_USER}:${env:DB_PASSWORD}@localhost:5432/your_database"
]
}
}
}
Hope that helps!
Libby
------------------------------
Libby Lavrova
------------------------------