CTFd MCP server
MCP server for CTFd v3: list challenges, submit flags, and query scoreboards via AI agents.
6 stars
Reviews
Write oneNobody has reviewed CTFd yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
CTFd tools (13, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
auth_statusReport whether the current session is authenticated and which auth mode is active.
challengeGet the full detail of a single challenge by numeric id or name.
challengesList challenges with optional filters and pagination.
download_fileDownload a challenge file into the local cache directory.
healthPerform a health check: CTFd reachability, API status and authentication state.
instance_infoReturn safe, public metadata about the configured CTFd instance.
loginLog in to CTFd with a username and password (kept in memory only).
progressReturn the authenticated user's progress (score and solved challenges).
scoreboardReturn the public CTFd scoreboard (top standings).
set_base_urlConfigure the CTFd instance this server talks to.
set_cookieUse a session cookie for authentication (memory only, never logged).
set_tokenUse an API token for authentication (stored in memory only, never logged).
submit_flagwrite actionSubmit a flag for a challenge.
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- Code scan15 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install directly
claude mcp add ctfd-mcp-server -- uvx ctfd-mcp-server
CTFd: common questions
- Is CTFd MCP server safe?
- Mostly: it is graded B (83/100). Read the CTFd safety report
- How do I install CTFd?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does CTFd need an API key?
- Yes. The registry entry asks for
CTFD_ADMIN_TOKEN,CTFD_SESSION_COOKIE,CTFD_PASSWORD. - Is CTFd maintained?
- The last commit was in the last day (2026-09-20). The latest release is v1.0.3.