L'Atlas / Serveurs MCP / Castle MCP by usefulapi
Serveur MCP

Castle MCP by usefulapi

io.usefulapi/castle

Serveur MCP OK 14 outils

Faire examiner Voir les tarifs

Investigate security events and manage the allow/deny lists an analyst acts on.

Fiche technique

Auteur
usefulapi.io (espace de noms du registre)
Dépôt
github.com/m190/usefulapi-mcp
Site
usefulapi.io/castle
Version
1.40.4
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://castle.usefulapi.io/mcp Streamable HTTP
Outils
14
Catégories
Sécurité
Dernière mise à jour
18 nov. 2026
Publication
18 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/castle.svg)](https://latlas.dev/mcp/io.usefulapi/castle)
HTML
<a href="https://latlas.dev/mcp/io.usefulapi/castle"><img src="https://latlas.dev/badge/fiche/io.usefulapi/castle.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://castle.usefulapi.io/mcp
Dernier résultat
OK 28 nov. 2026, 10:30
Temps de réponse
257 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
castle-mcp 1.40.4
Outils
14

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:30OK257 ms14

Outils exposés (14, réponse à tools/list, 28 nov. 2026)

castle_get_events_schema

Get the event schema

List the event fields you can filter and group on, with their types. Read this first — the other query tools need real field names. Castle: GET /v1/events/schema.

Aucun paramètre.

castle_search_events

Search security events

Query the security event stream — logins, registrations, transactions and their risk verdicts. Read-only despite being a POST: Castle takes the query in the body. Castle: POST /v1/events/query.

ParamètreTypeRequisDescription
filtersarray<object>ouiCastle query filters, ANDed together. Each is {field, op, value} — e.g. {"field":"user.email","op":"$eq","value":"[email protected]"}. Operators: $eq, $neq, $in, $nin, $like, $nlike, $contains, $ncontains, $starts_with, $nstarts_with, $ends_with, $nends_with, $matches, $nmatches, $ip_range, $nip_range,…
query_typeenum: "$records" | "$count" | "$records_with_count"nonReturn matching records, just a count, or both. Defaults to records.
columnsarray<string>nonOnly return these event fields.
pageintegernon1-based page number.
results_sizeintegernonResults per page, 1-100.

castle_group_events

Group security events

Aggregate matching events by one or more fields — the fast way to see which IPs, devices or countries dominate a spike. Read-only despite being a POST. Castle: POST /v1/events/group.

ParamètreTypeRequisDescription
filtersarray<object>ouiCastle query filters, ANDed together. Each is {field, op, value} — e.g. {"field":"user.email","op":"$eq","value":"[email protected]"}. Operators: $eq, $neq, $in, $nin, $like, $nlike, $contains, $ncontains, $starts_with, $nstarts_with, $ends_with, $nends_with, $matches, $nmatches, $ip_range, $nip_range,…
group_by_fieldsarray<string>ouiFields to group by, e.g. ["ip", "user.email"]. Names come from the event schema.
pageintegernon1-based page number.
results_sizeintegernonResults per page, 1-100.

castle_search_lists

Search lists

Find the allow/deny lists defined in the environment. Read-only despite being a POST. Castle: POST /v1/lists/query.

ParamètreTypeRequisDescription
filtersarray<object>nonOptional {field, op, value} filters over the lists themselves.
pageintegernon1-based page number.
results_sizeintegernonResults per page, 1-100.

castle_get_list

Get one list

Fetch a single list with its primary and secondary field definitions. Castle: GET /v1/lists/{id}.

ParamètreTypeRequisDescription
list_idstringouiThe list's id.

castle_search_list_items

Search items in a list

Search the entries of one list — the blocked IPs, emails or device ids it holds. Read-only despite being a POST. Castle: POST /v1/lists/{list_id}/items/query.

ParamètreTypeRequisDescription
list_idstringouiThe list to search.
filtersarray<object>nonOptional {field, op, value} filters over the items.
pageintegernon1-based page number.
results_sizeintegernonResults per page, 1-100.

castle_count_list_items

Count items in a list

Count the entries in one list, with the same optional filters as the search. Read-only despite being a POST. Castle: POST /v1/lists/{list_id}/items/count.

ParamètreTypeRequisDescription
list_idstringouiThe list to count.
filtersarray<object>nonOptional {field, op, value} filters over the items.

castle_get_list_item

Get one list item

Fetch a single list entry — its value, who added it, the comment and its archive time. Castle: GET /v1/lists/{list_id}/items/{id}.

ParamètreTypeRequisDescription
list_idstringouiThe list holding the item.
item_idstringouiThe item's id.

castle_create_list

Create a list

Create a new allow or deny list. primary_field is the event field its entries match on, e.g. ip or user.email. Castle: POST /v1/lists.

ParamètreTypeRequisDescription
namestringouiThe list name.
colorstringouiDashboard colour label, e.g. $red, $green, $blue — Castle requires one.
primary_fieldstringouiThe event field entries match on, e.g. ip or user.email.
descriptionstringnonWhat this list is for.
secondary_fieldstringnonAn optional second field entries also carry.

castle_update_list

Update a list

Rename a list or change its colour or description. Castle: PUT /v1/lists/{id}.

ParamètreTypeRequisDescription
list_idstringouiThe list to update.
namestringnonNew name.
colorstringnonNew colour label.
descriptionstringnonNew description.

castle_create_list_item

Add an item to a list

Add an entry to a list — for example block an IP or an email. This changes live policy behaviour. Castle: POST /v1/lists/{list_id}/items.

ParamètreTypeRequisDescription
list_idstringouiThe list to add to.
primary_valuestringouiThe value to add, matching the list's primary_field.
author_typeenum: "$analyst_email" | "$castle_dashboard_user" | "$castle_policy" | "$user" | "$user_email" | "$other"ouiWhat kind of actor is adding this entry.
author_identifierstringouiWho is adding it, e.g. the analyst's email address.
secondary_valuestringnonValue for the list's secondary_field.
commentstringnonWhy this entry was added.
auto_archives_atstringnonISO-8601 time to archive the entry automatically.

castle_update_list_item

Update a list item's comment

Change the comment on a list entry. Castle: PUT /v1/lists/{list_id}/items/{id}.

ParamètreTypeRequisDescription
list_idstringouiThe list holding the item.
item_idstringouiThe item to update.
commentstringouiThe new comment.

castle_archive_list_item

Archive a list item

Archive a list entry so it stops matching. Reversible with castle_unarchive_list_item. Castle: DELETE /v1/lists/{list_id}/items/{id}/archive.

ParamètreTypeRequisDescription
list_idstringouiThe list holding the item.
item_idstringouiThe item to archive.

castle_unarchive_list_item

Unarchive a list item

Restore a previously archived list entry so it matches again. Castle: PUT /v1/lists/{list_id}/items/{id}/unarchive.

ParamètreTypeRequisDescription
list_idstringouiThe list holding the item.
item_idstringouiThe item to restore.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://castle.usefulapi.io/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http castle https://castle.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : castle ; URL : https://castle.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : castle ; Server URL : https://castle.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "castle": {
      "url": "https://castle.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "castle": {
      "type": "http",
      "url": "https://castle.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "castle": {
      "url": "https://castle.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "castle": {
      "httpUrl": "https://castle.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.castle]
url = "https://castle.usefulapi.io/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Castle MCP by usefulapi · L’Atlas · Test du

Markdown
[Castle MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/castle)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.