Duplicate Variable Names
Yes, in different scopes. A variable either applies to all servers or is scoped to one MCP server. A name must be unique within a scope, so you can have:- one
API_GITHUB_COM_ACCESS_TOKENfor all servers, and - one
API_GITHUB_COM_ACCESS_TOKENfor each server that needs a different value.
409 Conflict.
Strategy
To use different credentials for the same provider, for example a staging and a production GitHub account:- Create an MCP server for each environment.
- Give each server its own value for the same variable name. On the server’s Configuration tab, use Override or turn on This server only when adding the variable.