You can update the MCP Server configuration without recreating the profile. This step is useful for making changes such as adding scopes, adjusting routing, or enabling mTLS after initial deployment. The process differs slightly depending on whether you are working with development profiles or exported production bundles.

Update configuration for development profiles

Use the mcpgen utility to stop the running profile, edit the configuration file, and restart the profile.
  1. Stop the running profile.
    ./mcpgen stop <profile_name>
  2. Edit the server/mcp_server_config.json file to apply changes such as adding scopes, adjusting routing rules, or enabling mTLS.
  3. Restart the profile with the updated configuration.
    ./mcpgen start <profile_name>

Update configuration for exported bundles

For production bundles, use the launcher scripts provided in the export directory.
  1. Stop the running containers using the appropriate helper script.
    On Linux or macOS:
    ./run.sh stop
    On Windows PowerShell:
    .\run.ps1 stop
  2. Edit the server/mcp_server_config.json file to apply configuration changes.
  3. Restart the containers using the same helper script.
    On Linux or macOS:
    ./run.sh start
    On Windows PowerShell:
    .\run.ps1 start

Notes

  • Always validate the syntax of mcp_server_config.json after editing to avoid startup errors.
  • Restarting the profile or containers is required for changes to take effect.