Frequently asked questions
MCP Server Connection Issues
Q: I'm getting "connect ENOENT" errors when starting the MCP server
A: This is usually caused by a race condition during VSCode startup. The MCP server tries to connect before the Dialectic extension has fully activated and created the IPC socket.
Solution:
- Check the VSCode "OUTPUT" tab and select "Dialectic" from the dropdown
- Verify you see messages like:
Dialectic extension is now active Setting up IPC server at: /tmp/dialectic-[uuid].sock IPC server listening on: /tmp/dialectic-[uuid].sock Set DIALECTIC_IPC_PATH environment variable to: /tmp/dialectic-[uuid].sock
- Open a new terminal in VSCode (
Terminal > New Terminal
) - Run
dialectic-mcp-server
from the new terminal
The new terminal will inherit the updated DIALECTIC_IPC_PATH
environment variable that the extension set after activation.