Your RuvScan instance is running at: http://localhost:8000
- ✅ MCP Server (Python) - Running on port 8000
- ✅ Scanner (Go) - Running on port 8081
⚠️ Rust Engine - Needs attention (not critical)
# Check all containers
docker compose ps
# Check health
curl http://localhost:8000/health
# View logs
docker compose logs -f mcp-server
docker compose logs -f scannercurl -X POST http://localhost:8000/query \
-H "Content-Type: application/json" \
-d '{
"intent": "How can I optimize my database queries?",
"max_results": 5,
"min_score": 0.7
}' | jq '.'curl -X POST http://localhost:8000/scan \
-H "Content-Type: application/json" \
-d '{
"source_type": "org",
"source_name": "vercel",
"limit": 10
}' | jq '.'curl -X POST http://localhost:8000/compare \
-H "Content-Type: application/json" \
-d '{
"repo_a": "facebook/react",
"repo_b": "vuejs/core"
}' | jq '.'curl -s http://localhost:8000/cards?limit=10 | jq '.'- API Documentation: http://localhost:8000/docs
- OpenAPI Spec: http://localhost:8000/openapi.json
claude mcp add ruvscan \
--scope user \
--env RUVSCAN_API_URL=http://localhost:8000 \
--env GITHUB_TOKEN=ghp_your_github_token_here \
-- uvx ruvscan-mcpclaude mcp listclaude
# Then ask questions like:
> Scan the anthropics organization
> Find tools for optimizing React performance
> Compare NextJS vs Remix
> Why did you recommend that library?# Start all
docker compose up -d
# Stop all
docker compose down
# Restart specific service
docker compose restart mcp-server
# View logs
docker compose logs -f# Rebuild all
docker compose build
# Rebuild specific service
docker compose build mcp-server
# Restart after rebuild
docker compose up -dThe Rust engine is optional. The Python MCP server works without it. To fix:
# Check logs
docker compose logs rust-engine
# Rebuild Rust engine
cd src/rust
cargo build --release
cd ../..
docker compose build rust-engine
docker compose restart rust-engine# Check what's using port 8000
lsof -ti:8000
# Kill the process
lsof -ti:8000 | xargs kill -9
# Restart RuvScan
docker compose restart# Check database
ls -lh data/ruvscan.db
# Reset database (⚠️ deletes all data)
rm data/ruvscan.db
docker compose restart mcp-serverYour config is in .env.local:
# View current config
cat .env.local
# Edit config
nano .env.local
# Restart to apply changes
docker compose restartSQLite database: data/ruvscan.db
# Check size
du -h data/ruvscan.db
# Backup
cp data/ruvscan.db data/ruvscan.db.backup
# Restore
cp data/ruvscan.db.backup data/ruvscan.db
docker compose restartcurl -X POST http://localhost:8000/query \
-H "Content-Type: application/json" \
-d '{"intent": "performance optimization tools"}' | jq '.'curl -X POST http://localhost:8000/query \
-H "Content-Type: application/json" \
-d '{"intent": "real-time collaboration frameworks"}' | jq '.'# OpenAI
curl -X POST http://localhost:8000/scan \
-H "Content-Type: application/json" \
-d '{"source_type": "org", "source_name": "openai", "limit": 20}'
# Vercel
curl -X POST http://localhost:8000/scan \
-H "Content-Type: application/json" \
-d '{"source_type": "org", "source_name": "vercel", "limit": 20}'
# Meta
curl -X POST http://localhost:8000/scan \
-H "Content-Type: application/json" \
-d '{"source_type": "org", "source_name": "facebook", "limit": 20}'# Docker stats
docker stats
# Disk usage
docker system df# All services
docker compose logs -f
# Specific service
docker compose logs -f mcp-server
# Last 100 lines
docker compose logs --tail 100 mcp-server- Main README:
README.md - Architecture:
docs/ARCHITECTURE.md - API Docs: http://localhost:8000/docs
- MCP Install Guide:
docs/MCP_INSTALL.md
- GitHub Issues: https://github.com/ruvnet/ruvscan/issues
- Documentation:
docs/folder - Examples:
examples/folder
Happy Scanning! 🚀