Start with the failed boundary
Decide whether the server launch, request validation, AIDC startup, the command itself or the check afterwards failed. Each has its own signal, and fixing the wrong one wastes a retry.
The server disconnects before initialization
Confirm the executable path and args: ["serve"] in the client configuration, and run mcp-aidc serve --help from the same environment. Keep stdout for the MCP connection and read diagnostics on stderr. A server that seems to hang in a terminal is waiting for MCP messages.
failed to execute aidc
The configured executable or the project directory cannot be used. Pass an absolute executable through --aidc-binary and an absolute, existing projectDir, then restart the server. Do not put extra arguments in the executable string.
The request is rejected, or the result has no success field
A missing action, tool or version is rejected before AIDC runs; refresh tools/list and use the published names. Results use the MCP fields: read isError and the content array, where a completed command's text holds command, exitCode, stdout, stderr and truncated.
Setup succeeds but tools are missing
Use an absolute projectDir with its intended .aidc.yaml. Individual install failures can leave setup with a successful exit, so read per-tool messages and query the installed versions afterwards. A failed command does not roll back earlier effects.
Activation does not reach the expected session
Query current with the same project directory and check the scope. Session scope follows the shell context the server inherited, not your conversation. Use project scope for a lasting selection.
Upgrade shows a preview, or uninstall returns a reminder
Upgrade previews by default: review it, then repeat with apply:true and the same target. Uninstall without confirm:true only returns a reminder, not a list of what it would remove. upgrade all:true can succeed with a failed tool, so compare fresh queries with your intended list.
Output is truncated or the call reaches its deadline
truncated:true means a stream exceeded 16 KiB; narrow the query to one tool. Commands wait up to 15 minutes, and a timeout is not a rollback. Inspect the state before retrying.
What you getThe failed boundary named, and a retry that targets the intended project.