CTFd MCP Server
by umbra2728
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CTFD_URL | No | The URL of the CTFd server (e.g. https://ctfd.example.com) | |
| CTFD_TOKEN | No | User token for authentication (not admin token) | |
| CTFD_SESSION | No | Session cookie if tokens are disabled | |
| CTFD_TIMEOUT | No | Total timeout in seconds (default: 20s) | |
| CTFD_PASSWORD | No | Your CTFd password for login authentication | |
| CTFD_USERNAME | No | Your CTFd username for login authentication | |
| CTFD_CSRF_TOKEN | No | Optional CSRF token, only if the server/plugin requires CSRF for ctfd-owl | |
| CTFD_READ_TIMEOUT | No | Read timeout in seconds (default: 15s) | |
| CTFD_CONNECT_TIMEOUT | No | Connect timeout in seconds (default: 10s) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_challengesB | List visible challenges. Optional filter by category and unsolved only. |
| challenge_detailsA | Get challenge details (description, files, meta) by ID. |
| submit_flagC | Submit a flag for a challenge ID. |
| start_containerB | Unified start: detects plugin (whale/ctfd-owl/k8s) and starts container. |
| stop_containerC | Unified stop: whale requires container_id; ctfd-owl/k8s require challenge_id. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/umbra2728/ctfd-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server