-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Known rough edges and their fixes. If yours is not here, please open an issue.
The MCP server ships in the mcp extra. Install with the extra:
pip install "lcf-strain-life[mcp]"If you use the uvx route instead, the command is
uvx --from "lcf-strain-life[mcp]" lcf-mcp and only
uv needs to be
installed.
- Restart the client after editing its MCP configuration. Most clients read the file at startup.
- Check the JSON syntax. A trailing comma or missing brace makes the whole entry silently invalid in some clients.
- VS Code uses the key
serversin.vscode/mcp.json. ThemcpServerskey from other clients does not work there. - Run the launch command yourself in a terminal. If
uvx --from "lcf-strain-life[mcp]" lcf-mcpprints an error, the client sees the same failure without showing it.
The package requires Python 3.11 or newer. Check with python --version
and point your environment at a newer interpreter if needed.
The release exe is currently unsigned, so SmartScreen warns on first run. Choose "More info", then "Run anyway". See the FAQ for why, and for the pip alternative.
Expected for now. The exe unpacks itself on every launch. The pip
install, pip install "lcf-strain-life[gui]" then lcf-gui, starts much
faster.
The app serves on a local port and normally opens the browser itself. If
it does not, open the Local URL printed in the terminal, usually
http://localhost:8501.
In the store directory: the LCF_STORE_DIR environment variable if set,
otherwise .lcfstore in the working directory of whatever launched the
server or app. Deleting that directory deletes the saved results, and
nothing else.
By design. The toolkit maps non-finite floats, NaN or infinity, to null at the MCP and store boundary so every result stays valid JSON. A null in a field means the quantity was not finite for that input, and the result's warnings usually say why.
lcf-strain-life, by David Fieser and Hugh Shortt, both authors contributed equally. MIT license. Cite via CITATION.cff or DOI 10.5281/zenodo.21222820.
Getting started
Reference
Help
Elsewhere