This guide covers installation, configuration, and initial deployment with Ludus FastMCP.
| Requirement | Description |
|---|---|
| Python 3.11+ | python --version to verify |
| Ludus Server | Running Ludus instance with network access |
| API Credentials | Generate with ludus user apikey on server |
| Component | Description |
|---|---|
| MCP Client | Claude Desktop, VS Code (Cline), AnythingLLM, or OpenWebUI |
| pipx | Isolated Python application management |
pipx installs applications in isolated environments while making them globally available.
# Install pipx if not present
pip install pipx
pipx ensurepath
# Install Ludus FastMCP
pipx install git+https://github.com/tjnull/ludus-mcp-python.gitgit clone https://github.com/tjnull/ludus-mcp-python.git
cd ludus-mcp-python
python -m venv .venv
source .venv/bin/activate # Linux/macOS
# .venv\Scripts\activate # Windows
pip install -e .ludus-fastmcp --version
ludus-fastmcp --list-tools # Should display 157 toolsRun the setup wizard to configure all prerequisites:
ludus-fastmcp --setupThe wizard will:
- Verify Python environment and dependencies
- Configure Ludus API credentials
- Test connectivity to your Ludus server
- Generate MCP client configuration files
Create a .env file in your working directory:
LUDUS_API_URL=https://your-ludus-instance:8080
LUDUS_API_KEY=username.your-api-keyOr export directly:
export LUDUS_API_URL="https://your-ludus-instance:8080"
export LUDUS_API_KEY="username.your-api-key"ludus-fastmcp --verboseSuccessful output:
[INFO] Server Configuration:
API URL: https://your-ludus-instance:8080
API Key: ********************...
Press Ctrl+C to stop the test server.
-
Locate configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add server configuration:
{
"mcpServers": {
"ludus": {
"command": "ludus-fastmcp",
"env": {
"LUDUS_API_URL": "https://your-ludus-instance:8080",
"LUDUS_API_KEY": "username.your-api-key"
}
}
}
}-
Restart Claude Desktop (quit and reopen, not just close window)
-
Verify: Ask Claude "List my Ludus ranges"
-
Install Cline extension from VS Code marketplace
-
Open Settings (Cmd+, or Ctrl+,)
-
Search for "Cline MCP Servers"
-
Edit settings.json:
{
"cline.mcpServers": {
"ludus": {
"command": "ludus-fastmcp",
"env": {
"LUDUS_API_URL": "https://your-ludus-instance:8080",
"LUDUS_API_KEY": "username.your-api-key"
}
}
}
}- Reload VS Code (Cmd+Shift+P > "Developer: Reload Window")
-
Navigate to Settings > Agent Configuration > Agent Skills
-
Scroll to MCP Servers and click Add new MCP Server
-
Configure:
- Transport Type:
stdio - Name:
ludus - Command:
ludus-fastmcp
- Transport Type:
-
Add environment variables:
LUDUS_API_URL=https://your-ludus-instance:8080 LUDUS_API_KEY=username.your-api-key -
Save and enable the MCP server
-
Navigate to Admin Panel > Settings > Tools
-
Click Add MCP Server:
{
"name": "ludus",
"transport": "stdio",
"command": "ludus-fastmcp",
"env": {
"LUDUS_API_URL": "https://your-ludus-instance:8080",
"LUDUS_API_KEY": "username.your-api-key"
}
}- Save and refresh
- Edit
~/.config/opencode/config.json:
{
"mcpServers": {
"ludus": {
"command": "ludus-fastmcp",
"env": {
"LUDUS_API_URL": "https://your-ludus-instance:8080",
"LUDUS_API_KEY": "username.your-api-key"
}
}
}
}- Alternatively, use CLI:
opencode mcp add ludus --command "ludus-fastmcp" \
--env "LUDUS_API_URL=https://your-ludus-instance:8080" \
--env "LUDUS_API_KEY=username.your-api-key"- Restart OpenCode
Once connected to your MCP client:
Show my current range status
List all available Ludus templates
Deploy the ad-basic scenario
This deploys a basic Active Directory environment:
- 1 Domain Controller (Windows Server)
- 1 Workstation (Windows 10/11)
Deployment time: 15-45 minutes depending on scenario complexity.
Show deployment status
After deployment completes:
Create a snapshot of all VMs named clean-state
ludus-fastmcp --setup # Interactive setup wizard
ludus-fastmcp --setup-guide # Manual setup instructions
ludus-fastmcp --list-tools # List all 157 tools
ludus-fastmcp --version # Version information
ludus-fastmcp --verbose # Start with verbose logging
ludus-fastmcp --daemon # Run as background service
ludus-fastmcp --status # Check daemon status
ludus-fastmcp --stop-daemon # Stop daemonludus-ai --help # Show available commands
ludus-ai setup-llm # Configure local LLM (Ollama)
ludus-ai install anythingllm # Install AnythingLLM
ludus-ai tool list-tools # List tools via MCP
ludus-ai tool list-ranges # List ranges
ludus-ai tool call-tool <name> # Execute tool directly- Configuration Guide - Advanced configuration options
- Tools Reference - Complete tool documentation (157 tools)
- Scenarios Guide - Available deployment scenarios
- Troubleshooting - Common issues and solutions