What is Cyberedu Mcp Server?
The Cyberedu Mcp Server is the official Model Context Protocol server for the CyberEdu CTF platform. It automatically discovers and exposes all public methods from the CyberEduClient as MCP tools, enabling interaction with the CyberEdu cybersecurity training platform through MCP-compatible clients.
How to use Cyberedu Mcp Server?
Clone the repository with submodules, set up a Python virtual environment, and install the package using pip install -e ".[local]". Run the server with python -m cyberedu_mcp. After first authentication via the cyberedu_set_session_cookie tool, session credentials are persisted to disk, so no environment variables are needed on subsequent runs. Configure MCP clients like Cursor, Claude Desktop, or VS Code by pointing to the full Python executable path in your venv.
Key features of Cyberedu Mcp Server
- Dynamic tool discovery from
CyberEduClient methods
- Zero configuration for new client methods
- Type-safe JSON schema generation from signatures
- Comprehensive error handling with detailed messages
- Automatic session credential persistence to disk
- Supports multiple MCP client configurations
Use cases of Cyberedu Mcp Server
- Manage authentication and switch tenants without restarting the server
- List, subscribe to, and interact with CTF challenges and contests
- Submit flags and download challenge files directly
- Start, extend, and restart challenge services
- Retrieve contest leaderboards and user information
评论