使用说明
安装
python -m venv grok_env
grok_env\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
添加Grok API密钥
cp .env.example .env
# Edit .env with your xAI API key
# Add: XAI_API_KEY=your_actual_xai_api_key_here
Claude桌面设置
添加到 claude_desktop_config.json
{
"mcpServers": {
"plant-detector": {
"command": "C:\\path\\to\\grok_env\\Scripts\\python.exe",
"args": ["C:\\path\\to\\grok-plant-detector\\mcp_fast_grok_real.py"]
}
}
}
