Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

CTFd

de MrJamescotversión 1.0.4i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.MrJamescot/ctfd-mcp-server

Instalar

Resumen

Descripción del creador (original en inglés)

MCP server for CTFd v3: list challenges, submit flags, and query scoreboards via AI agents.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Otros
  • Debes completar: CTFD_BASE_URL, CTFD_ADMIN_TOKEN, CTFD_SESSION_COOKIE, CTFD_PASSWORD

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: CTFD_BASE_URL, CTFD_ADMIN_TOKEN, CTFD_SESSION_COOKIE, CTFD_USERNAME, CTFD_PASSWORD, CTFD_HTTP_TIMEOUT

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "ctfd": {
      "command": "uvx",
      "args": [
        "ctfd-mcp-server"
      ],
      "env": {
        "CTFD_BASE_URL": "your-value",
        "CTFD_ADMIN_TOKEN": "your-value",
        "CTFD_SESSION_COOKIE": "your-value",
        "CTFD_USERNAME": "your-value",
        "CTFD_PASSWORD": "your-value",
        "CTFD_HTTP_TIMEOUT": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add ctfd --env CTFD_BASE_URL=your-value --env CTFD_ADMIN_TOKEN=your-value --env CTFD_SESSION_COOKIE=your-value --env CTFD_USERNAME=your-value --env CTFD_PASSWORD=your-value --env CTFD_HTTP_TIMEOUT=your-value -- uvx ctfd-mcp-server

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "ctfd": {
      "command": "uvx",
      "args": [
        "ctfd-mcp-server"
      ],
      "env": {
        "CTFD_BASE_URL": "your-value",
        "CTFD_ADMIN_TOKEN": "your-value",
        "CTFD_SESSION_COOKIE": "your-value",
        "CTFD_USERNAME": "your-value",
        "CTFD_PASSWORD": "your-value",
        "CTFD_HTTP_TIMEOUT": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "ctfd": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ctfd-mcp-server"
      ],
      "env": {
        "CTFD_BASE_URL": "your-value",
        "CTFD_ADMIN_TOKEN": "your-value",
        "CTFD_SESSION_COOKIE": "your-value",
        "CTFD_USERNAME": "your-value",
        "CTFD_PASSWORD": "your-value",
        "CTFD_HTTP_TIMEOUT": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • CTFD_BASE_URL obligatorio env
    Root URL of the CTFd v3 instance, e.g. https://ctf.example.com (without /api/v1)
  • CTFD_ADMIN_TOKEN secreto env
    CTFd API access token (preferred authentication method)
  • CTFD_SESSION_COOKIE secreto env
    Full CTFd session cookie, e.g. session=abc...
  • CTFD_USERNAME env
    Username for CTFd form login
  • CTFD_PASSWORD secreto env
    Password for CTFd form login
  • CTFD_HTTP_TIMEOUT env
    Per-request HTTP timeout in seconds (default 15)

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub MrJamescot, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Otrosi

  • Más estrellas que el 0% de los otros 32476 servidores de esta categoría
  • Publicado en el registro más recientemente que el 46% de los otros 32476 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 32476 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro CTFd?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: CTFD_BASE_URL, CTFD_ADMIN_TOKEN, CTFD_SESSION_COOKIE, CTFD_PASSWORD

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (1.0.4) llegó al registro hace 2 meses.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Spec Driven Development, Remote Desktop Commander, zanadir

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Spec Driven Development

de formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Se ejecuta en tu computadora★ 440MITActualizado hace 14 meses
Instalar

Remote Desktop Commander

de desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Se ejecuta en la nube★ 211Actualizado ayer
Instalar

zanadir

de MustacheCase

Find what a repository's CI is missing, and which security checks cannot fail the build.

Se ejecuta en tu computadoraActualizado hoy
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

CTFd MCP Server

A Model Context Protocol (MCP) server for interacting with any CTFd v3 instance. It lets AI tools (Claude Desktop, Cursor, custom agents, ...) authenticate, list and inspect challenges, submit flags, and query instance state through a stable, type-safe interface.

The project ships two interfaces built on the same client library:

  • MCP tools (primary) — ctfd_mcp_server.py, used over stdio or sse.
  • REST API (optional) — server/main.py, a FastAPI mirror for scripting, debugging, and Docker deployments.
                 ┌──────────────────────────────────────────────┐

AI agent / MCP │ FastMCP (MCP tools) │ client ────────►│ set_token · login · challenges · submit_flag │ └──────────────────┬───────────────────────────┘ │ shared client ┌──────────────────▼───────────────────────────┐ curl / scripts ─►│ FastAPI REST (/api/v1/...) (optional) │ └──────────────────┬───────────────────────────┘ │ ┌──────────────────▼───────────────────────────┐ │ server.ctfd_client.CTFdClient │ │ └─ gateway.py (HTTP, auth, timeouts) │ └──────────────────┬───────────────────────────┘ │ HTTPS / HTTP ┌─────▼─────┐ │ CTFd │ └───────────┘

Credentials (token / cookie / password) live in memory only and are never echoed in tool output, written to server_state.json, or logged.


Features

  • Multiple authentication modes — API token, session cookie, or username/password form login (with CSRF handling).
  • Rich challenge queries — paginated listing with category, search (name), and solved/unsolved filters, plus per-challenge detail retrieval.
  • Safe flag submission — requires an explicit confirm=True, returns clear success/failure, and surfaces rate-limit errors. Flags are never logged.
  • Instance introspection — public instance info, health check, and an authentication-status tool that reveal no secrets.
  • Consistent structured errors — AuthenticationError, CTFdAPIError, ChallengeNotFoundError, SubmissionError, ValidationError, ConfigurationError.
  • Pagination by default — one page of challenges per call; no accidental full-dump downloads.
  • Hardened HTTP — configurable timeouts, one safe retry for idempotent GETs, no retries for POSTs (no duplicate submissions), strict JSON/content parsing.
  • REST + MCP from one codebase — identical behaviour on both interfaces.
  • No hardcoded instance — BASE_URL is validated and configurable at startup and at runtime.

Installation

Requires Python 3.10+.

The fastest way is to install from [PyPI](https://pypi.org/project/ctfd-mcp-server/):

pip install ctfd-mcp-server

MCP stdio server with env config:

CTFD_BASE_URL=https://ctf.example.com CTFD_ADMIN_TOKEN=ctfd_... ctfd-mcp

optional REST interface:

ctfd-rest

For MCP clients, point your config at the packaged entry point:

{

"mcpServers": { "ctfd-mcp": { "command": "ctfd-mcp", "env": { "CTFD_BASE_URL": "https://demo.ctfd.io", "CTFD_ADMIN_TOKEN": "ctfd_..." } } } }

Or run from source:

git clone https://github.com/MrJamescot/ctfd-mcp-server.git

cd ctfd-mcp-server python3 -m venv .venv && source .venv/bin/activate pip install -r requirements.txt

cp .env.example .env # then edit .env

Configure
VariableDefaultMeaning
CTFD_BASE_URL*(empty)*CTFd instance root, e.g. https://ctf.example.com (without /api/v1)
CTFD_ADMIN_TOKEN*(empty)*API token (preferred auth)
CTFD_SESSION_COOKIE*(empty)*Session cookie, e.g. session=abc...
CTFD_USERNAME*(empty)*Username for form login
CTFD_PASSWORD*(empty)*Password for form login
CTFD_HTTP_TIMEOUT15Per-request HTTP timeout (seconds)
CTFD_HTTP_MAX_REDIRECTS5Max redirects followed per request
CTFD_STATE_FILE~/.local/state/ctfd-mcp/server_state.jsonFile used to cache auth state
CTFD_MCP_TRANSPORTstdioMCP transport: stdio or sse
MCP_HOST / MCP_PORT127.0.0.1 / 8000REST server bind settings (loopback by default)
CTFD_API_TOKEN*(empty)*Optional bearer token protecting the optional REST API (/api/v1/*)
CTFD_ALLOW_PRIVATE_IPSfalseAllow connections to private/loopback/metadata addresses (e.g. local CTFd test instances)
CTFD_DOWNLOAD_DIR./downloadsDirectory where challenge attachments are saved by download_file
CTFD_PERSIST_SECRETSfalse⚠ Strongly discouraged: write secrets to disk

CTFD_BASE_URL may include a path prefix (e.g. https://host/ctfd); the client

appends /api/v1 automatically.


Running the MCP Server

Most MCP clients launch the server themselves via a command/args config. For that, your client config should reference `ctfd_mcp_server.py`:

// e.g. Claude Desktop / mcp.json

{ "mcpServers": { "ctfd-mcp": { "command": "python", "args": ["/path/to/ctfd-mcp-server/ctfd_mcp_server.py"], "env": { "CTFD_BASE_URL": "https://demo.ctfd.io", "CTFD_ADMIN_TOKEN": "ctfd_..." } } } }

Manual launch:

# stdio (default) — used by MCP clients

python ctfd_mcp_server.py

SSE — expose over HTTP for remote/Docker use

CTFD_MCP_TRANSPORT=sse python ctfd_mcp_server.py # http://127.0.0.1:8000/sse

MCP tools
ToolParametersDescription
set_base_urlurlPoint the server at a CTFd instance
set_tokentokenAdopt an API token (memory only)
set_cookiecookieAdopt a session cookie (memory only)
loginusername, passwordForm login; keeps the session cookie
challengescategory, search, solved, page, per_pagePaginated challenge list with filters
challengeidentifier (id or name)Full detail of one challenge
submit_flagflag, challenge_name/challenge_id, confirmSubmit a flag (requires confirm=True)
download_filefile_url, dest_dirDownload a challenge attachment over the CTFd /files/… route
unlock_hinthint_idUnlock and read a hint (paid hints cost points)
scoreboard—Public scoreboard standings
progress—Your score + solved challenges
instance_info—Safe public instance metadata
auth_status—Auth mode + validity (no secrets)
health—Reachability, API and auth checks

With token auth, requests are sent with Content-Type: application/json

(CTFd only honours Authorization: Token ... on JSON requests). With

cookie/credentials auth, state-changing requests echo the session CSRF nonce

as the CSRF-Token header, which is re-fetched from the site after login.

Tools return JSON text. Errors are structured, e.g.:

{ "error": { "type": "ChallengeNotFoundError", "message": "Challenge '99' not found (or not visible)." } }

Running the REST API (optional)

python scripts/run_local.sh           # reads .env, default http://127.0.0.1:8000

or

uvicorn server.main:app --host 0.0.0.0 --port 8000

Endpoints (all under /api/v1):

MethodPathDescription
POST/set_base_urlValidate & set the CTFd base URL
POST/set_tokenSet API token
POST/set_cookieSet session cookie
POST/set_credsStore username/password for later login
POST/loginForm login (session cookie)
GET/challengesPaginated + filtered challenge list
GET/challenges/{id-or-name}Challenge detail
POST/submitSubmit a flag (confirm: true required)
POST/downloadDownload a challenge attachment (body: file_url)
POST/unlock_hintUnlock and read a hint (body: hint_id)
GET/scoreboardPublic standings
GET/progressYour score and solves
GET/instance_infoPublic instance metadata
GET/auth_statusAuth mode + validity
GET/healthHealth check

The optional REST API can be protected with an extra bearer token: set

CTFD_API_TOKEN, and requests to /api/v1/* will require

Authorization: Bearer . The server binds to loopback by default

(MCP_HOST=127.0.0.1).


Docker

A ready-made image is published on [Docker Hub](https://hub.docker.com/r/jamescot/ctfd-mcp-server):

docker run --rm -p 8000:8000 \

-e CTFD_BASE_URL=https://ctf.example.com \ -e CTFD_ADMIN_TOKEN=ctfd_... \ jamescot/ctfd-mcp-server

Or build locally (REST mode):

docker build -t ctfd-mcp .

docker run --rm -p 8000:8000 \ -e CTFD_BASE_URL=https://ctf.example.com \ -e CTFD_ADMIN_TOKEN=ctfd_... \ ctfd-mcp

docker compose up --build also works (REST API on `htt

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx