Skip to content

Troubleshooting

How to troubleshoot MCP connection issues

If you see connection-related issues during or immediately following installation, you should ensure your Python 3.10 virtual environment was correctly activated and is being used by the agent.

Troubleshooting examples

bash
Error executing MCP tool:
No connection found for server: mode-updater. Please make sure to use MCP servers available under 'Connected MCP Servers'.

This is likely because the "command" field does not contain a path to a Python environment where the agent dependencies were installed. Make sure that you installed the Latent Agent MCP inside a Python 3.10 environment.


bash
MCP error -32000: Connection closed

Try running latent agent init /path/to/workspace and reloading your VS Code window.

How to troubleshoot issues installing LEIP tools

If you encounter problems related to LEIP tools, you should ensure your Python 3.10 virtual environment was correctly activated and is being used by the agent.

bash
ImportError: cannot import name getargspec

This error occurs when trying to use leip-boreas with Python 3.11. Ensure your Python 3.10 environment is active and being used by the agent.


bash
WARNING: Package(s) not found: leip-pylre

This error occurs when trying to use leip-pylre with Python 3.12. Ensure your Python 3.10 environment is active and being used by the agent.


bash
leip-pylre 2.0.5 is available but requires leip-licensing ~= 2.0
Only leip-licensing 3.0.0 and 3.0.1 are available
This is a fundamental compatibility issue that cannot be resolved with version adjustments

You may encounter this error if Latent Agent attempts to install leip-pylre in your development environment. Instruct Latent Agent to use a separate environment for running inference.