Troubleshooting¶
Package Not Found¶
If pip cannot find the package, verify:
- Your pip configuration includes the Artifactory extra-index-url
- Your Artifactory credentials are correct
- You have access to the nautobot-mcp-server repository
Test Artifactory access:
curl -u <USERNAME>:<API_TOKEN> https://nautobot.jfrog.io/artifactory/api/pypi/nautobot-mcp-server/simple
Command Not Found¶
If nautobot-mcp-server command is not found after installation:
- Verify the package is installed:
pip list | grep nautobot-mcp-server -
Check that your Python scripts directory is in PATH:
Add<user-base>/binto your PATH if needed -
Try running via Python module:
Connection Errors¶
If the server cannot connect to Nautobot:
- Verify
NAUTOBOT_BASE_URLis correct and accessible - Verify the user's Nautobot API token is valid (test in Nautobot UI or via REST API)
- Check firewall rules allow outbound HTTPS connections
- If using self-signed certificates, set
NAUTOBOT_VERIFY_SSL=false(not recommended for production)
Systemd Service Won't Start¶
Check the logs:
Test manually as the service user to see errors directly:
sudo -u nautobot-mcp bash
cd /opt/nautobot-mcp-server
/opt/nautobot-mcp/.local/bin/nautobot-mcp-server
Check file permissions:
Systemd Service Stuck in Failed State¶
Common causes:
- Invalid NAUTOBOT_BASE_URL or user's Nautobot API token
- Network connectivity issues to Nautobot
- Port 8000 already in use
- Incorrect ExecStart path in the service file