readConfig
readConfig(
env?):ServerConfig
Reads the configuration, or throws ConfigError with a message written for the person editing an MCP client’s JSON — it names the variable and where to get its value, because that is the only thing they can act on.
Parameters
Section titled “Parameters”Record<string, string | undefined> = process.env