Resolve ${VAR} references in one MCP server's supported fields.
Interpolates the command, url, args, env, and headers
fields (see _interpolate_env for the reference syntax); every other
field is copied through verbatim. The input is not mutated.
Server name used in field-specific error messages.
Raw server configuration.