Python configuration
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The mcpgen CLI requires a supported Python interpreter to run. This section
explains how to configure Python for OpenEdge MCP Server.
Initial configuration
On the first run,
mcpgen prompts you to specify the Python interpreter.
Supported versions are Python 3.11 and later.
|
Enter the full path to the executable, for example /usr/bin/python3.11. Your
selection is saved in the ./mcpgen_python file located in the
mcpgen installation directory. This configuration is reused for
all future runs.
Reconfigure python
To change the Python interpreter after initial setup, use the following commands:
| Platform | Command |
|---|---|
| Unix/Linux | ./mcpgen --select-python |
| Windows PowerShell | ./mcpgen.ps1 -SelectPython |
Temporary override
To override the Python interpreter for a single command:
| Platform | Command |
|---|---|
| Unix/Linux/macOS | MCPGEN_PYTHON=/usr/local/bin/python3.12 ./mcpgen list |
| Windows PowerShell | $env:MCPGEN_PYTHON="C:\Python311\python.exe"; ./mcpgen.ps1 list |
Note
The Python configuration is stored in the mcpgen installation directory, not
in the current working directory. This ensures consistent behavior regardless of
where you run mcpgen.