Troubleshooting¶
TARGET_API_BASE_URL is unresolved¶
The generated runtime could not resolve a real base URL.
Fix one of:
- pass
--target-api-base-url - pass
--env-source - ensure the spec contains a usable server URL
- set
TARGET_API_BASE_URLin the environment
--env-source fails to parse¶
Check whether the value is one of:
- a valid JSON object string,
- a real
.jsonfile path, - a real
.envfile path.
npm start fails in a generated project¶
Check:
.envexistsTARGET_API_BASE_URLis real, not placeholder textnpm installandnpm run buildalready succeeded- the generated project has a usable Node runtime available
test-server usage error¶
Common causes:
- missing
--transport - missing
--server-cmdforstdio - invalid
--mcp-endpoint --tool-argswithout--tool-name- neither
--list-toolsnor--tool-name
just e2e-generated fails¶
Use:
KEEP_TMP=1 just e2e-generated
Then inspect the preserved logs in the temp directory.
just e2e-cli fails¶
Use:
KEEP_TMP=1 just e2e-cli
Then inspect the preserved command output and generated temp directories.
Docs build fails¶
Run:
just docs-build
Typical causes:
- broken Markdown links
- pages added under
docs/but not wired intomkdocs.yml
Release workflow fails¶
Check:
- the package version in
pyproject.toml - whether the matching tag already points at a different commit
- whether
uv buildproduces both a wheel and a source tarball locally