Skip to main content

FastMCP 2.0 server for Ludus cyber range automation with AI integration - 157 tools for custom templates, range management, and more

Project description

Ludus FastMCP

Version Python License

A Model Context Protocol (MCP) server for automating Ludus cyber range environments through AI assistants written in Python.

Overview

Ludus FastMCP enables AI-powered management of Ludus cyber ranges through natural language commands. The server exposes 157 tools across 15 modules for range lifecycle management, scenario deployment, template creation, Ansible role management, and security monitoring integration.

Key Capabilities

Category Description
Range Management Create, configure, deploy, and manage virtual lab environments
Scenario Deployment Pre-built scenarios for AD, red/blue/purple team, and malware analysis
Template Builder Custom OS templates, skeleton configurations, and YAML generation
Role Management Ansible Galaxy integration and custom role installation
SIEM Integration Wazuh, Splunk, Elastic Stack, and Security Onion support
AI Configuration Natural language to YAML configuration conversion

Supported Platforms

Works with any MCP-compatible client including Claude Desktop, VS Code (Cline), OpenWebUI, and AnythingLLM.

Quick Start

Requirements

  • Python 3.11+
  • Access to a Ludus server instance
  • Ludus API credentials

Installation

# Using pipx (recommended)
pipx install git+https://github.com/tjnull/Ludus-FastMCP

# From source
git clone https://github.com/tjnull/Ludus-FastMCP
cd Ludus-FastMCP
pip install -e .

Setup

Run the interactive setup wizard:

ludus-fastmcp --setup

The wizard configures API credentials, tests connectivity, and generates MCP client configuration files.

For manual configuration options, see the Configuration Guide.

Usage

MCP Server (ludus-fastmcp)

ludus-fastmcp --setup          # Interactive setup wizard
ludus-fastmcp --list-tools     # List all 157 available tools
ludus-fastmcp --version        # Display version information
ludus-fastmcp                  # Start MCP server
ludus-fastmcp --daemon         # Run as background service

Client CLI (ludus-ai)

ludus-ai setup-llm                    # Configure local LLM (Ollama)
ludus-ai install anythingllm          # Install AnythingLLM interface
ludus-ai tool list-tools              # List available tools
ludus-ai tool call-tool <name>        # Execute tools directly

Example Interactions

Once connected to an MCP client, interact with your Ludus environment:

Show my current range status
Deploy an Active Directory lab with Wazuh monitoring
Create a snapshot named "pre-attack" for all VMs
Build a lab with 2 domain controllers and 5 workstations

Examples of using Ludus-FastMCP with grok code through Opencode.

img

img

img

img

Documentation

Document Description
Getting Started Installation, setup, and first deployment
Configuration Environment variables and MCP client setup
Tools Reference Complete documentation for all 157 tools
Scenarios Pre-built deployment scenarios
Troubleshooting Common issues and solutions
Safety Safety features and best practices

Resources

Resource Link
Ludus Documentation docs.ludus.cloud
Ludus GitHub github.com/badsectorlabs/ludus
FastMCP Framework gofastmcp.com
MCP Specification modelcontextprotocol.io

Support

License

This project is licensed under the MIT License. See LICENSE for details.

Disclaimer

This software is intended for authorized security testing, educational purposes, and research in controlled environments. Users are responsible for compliance with applicable laws and organizational policies. The authors make no warranties and assume no liability for use or misuse of this software.

Acknowledgments

  • Ludus by Bad Sector Labs
  • FastMCP, and the Model Context Protocol community.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_tjnull_ludus_fastmcp-1.0.0.tar.gz (258.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_tjnull_ludus_fastmcp-1.0.0-py3-none-any.whl (308.9 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_tjnull_ludus_fastmcp-1.0.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_tjnull_ludus_fastmcp-1.0.0.tar.gz
  • Upload date:
  • Size: 258.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_tjnull_ludus_fastmcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4a1813ef57b285fd3da8f452493489318991ad79b22b2451bc36d01571541243
MD5 a02d153bf62d606ba30cf40a7192cb93
BLAKE2b-256 5cf06f31e9ccd65a9daa7a7d712414be92a8d4cd664ff3f9ba6374d98161904d

See more details on using hashes here.

File details

Details for the file iflow_mcp_tjnull_ludus_fastmcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_tjnull_ludus_fastmcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 308.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_tjnull_ludus_fastmcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8fa6117922282ce9720f73d6de396b1fa62f624967e55f8d2fa45d3444ca910
MD5 dadb462dab61df9f724ca6e3873ba393
BLAKE2b-256 9172b5f17a3272e5f7bf0c522a72e8e48a344885b10a13680901629aa0b0edca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page