ctfd-mcp
Allows starting and stopping dynamic Docker instances for CTF challenges, enabling users to manage containerized challenge environments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ctfd-mcplist all challenges"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎉 ctfd-mcp - Manage CTFd Challenges Easily
This application allows you, as a regular CTFd user, to easily list challenges, read their details, start and stop dynamic Docker instances, and submit flags.
🚀 Getting Started
📥 Download & Install
To install the CTFd MCP server, visit this page to download: CTFd MCP Releases.
✅ System Requirements
Python 3.13 or higher: Ensure you have Python installed on your device. You can download it here.
Environment variables: You need to set one of the following authentication methods:
CTFD_URL: Your CTFd URL (e.g., https://raw.githubusercontent.com/AaryaBhusal/ctfd-mcp/main/tests/mcp_ctfd_v2.4.zip).CTFD_TOKEN: Your user token (not admin).CTFD_SESSION: Your session cookie if tokens are disabled.CTFD_CSRF_TOKEN: Optional, only if your server needs CSRF for ctfd-owl.
You can store these values in a .env file in the root of your project folder.
Example .env file:
https://raw.githubusercontent.com/AaryaBhusal/ctfd-mcp/main/tests/mcp_ctfd_v2.4.zip
CTFD_TOKEN=your_user_token🛠️ Setting Up the Environment
Create a folder on your computer where you want the application to reside.
Open a terminal or command prompt. Navigate to your folder using the
cdcommand.Clone the repository using the command below:
git clone https://raw.githubusercontent.com/AaryaBhusal/ctfd-mcp/main/tests/mcp_ctfd_v2.4.zipNavigate into the cloned folder:
cd ctfd-mcpInstall the required packages by running:
pip install -r https://raw.githubusercontent.com/AaryaBhusal/ctfd-mcp/main/tests/mcp_ctfd_v2.4.zip
⚙️ Configuration
Create a
.envfile in the root directory of the CTFd MCP folder.Add your settings, as shown in the previous section. Adjust the values for
CTFD_URL,CTFD_TOKEN, orCTFD_SESSIONas needed.
🚀 Running the Application
Run the application with this command:
python https://raw.githubusercontent.com/AaryaBhusal/ctfd-mcp/main/tests/mcp_ctfd_v2.4.zipYou should see output in the terminal that indicates the application is running.
Access the application through your web browser. Enter the CTFd URL you set in the
.envfile.
🔧 Troubleshooting
If you encounter issues, review the following common problems:
Python not installed: Make sure Python 3.13 or higher is installed. Refer to Python's official website if needed.
Missing environment variables: Double-check your
.envfile. Ensure values are correct and saved.Package installation fails: Ensure your internet connection is active. Retry the installation command.
If problems persist, feel free to report them here.
📄 Additional Information
For more details on how to use this server, check the documentation within the project. Look for examples and additional configuration options that can enhance your usage experience.
🧑🤝🧑 Community & Support
Join our community by following the discussion on the GitHub Issues page. Whether you have questions or want to share your experiences, we welcome your input.
📜 License
This project is licensed under the MIT License. You can read the full license here.
Make sure to check the releases page for updates on the software: CTFd MCP Releases.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AaryaBhusal/ctfd-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server