- Windows 10/11 - ForgeAI uses COM API which is Windows-only
- SolidWorks 2018+ - Installed and activated
- Python 3.10+ - Download from python.org
- Claude Desktop - Download from Anthropic
git clone https://github.com/MichaelT025/ForgeAI.git
cd ForgeAIpython -m venv venv
venv\Scripts\activatepip install -r requirements.txtFor development:
pip install -r requirements-dev.txtCopy the example environment file:
copy .env.example .envEdit .env to customize settings (most defaults work fine).
python -c "import mcp; import win32com.client; print('Dependencies OK')"Run the connection test script:
python scripts/test_connection.pyForgeAI uses the MCP stdio transport to communicate with Claude Desktop. You can configure it automatically or manually.
Run the included installation script:
python scripts/install_mcp.pyIf you prefer to configure it manually, edit your Claude Desktop configuration file:
- Path:
%AppData%\Roaming\Claude\claude_desktop_config.json
Add the forgeai server to the mcpServers section:
{
"mcpServers": {
"forgeai": {
"command": "python",
"args": ["-m", "core.mcp_server"],
"cwd": "C:\\\\path\\\\to\\\\ForgeAI\\\\src"
}
}
}Note: Replace C:\\\\path\\\\to\\\\ForgeAI\\\\src with the actual absolute path to your cloned repository's src folder.
Once installation is complete:
- Restart Claude Desktop
- Start a new conversation and ask "Can you connect to SolidWorks?"
- Try creating a simple part: "Create a new part and make a 100x50mm rectangle on the Front Plane"
- See the Architecture for more technical details
"No module named 'win32com'"
- Install pywin32:
pip install pywin32 - Run post-install:
python Scripts/pywin32_postinstall.py -install
"SolidWorks not found"
- Ensure SolidWorks is installed
- Check Windows registry for COM registration
- Try running SolidWorks manually first
MCP Connection Issues
- Verify Claude Desktop configuration
- Check stdio transport is configured correctly
- Review logs in
logs/forgeai.log
For more help, open an issue on GitHub.