Castle MCP by usefulapi
io.usefulapi/castle
Serveur MCP OK 14 outils
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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.usefulapi/castle)<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
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:30 | OK | 257 ms | 14 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| filters | array<object> | oui | Castle 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_type | enum: "$records" | "$count" | "$records_with_count" | non | Return matching records, just a count, or both. Defaults to records. |
| columns | array<string> | non | Only return these event fields. |
| page | integer | non | 1-based page number. |
| results_size | integer | non | Results 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ètre | Type | Requis | Description |
|---|---|---|---|
| filters | array<object> | oui | Castle 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_fields | array<string> | oui | Fields to group by, e.g. ["ip", "user.email"]. Names come from the event schema. |
| page | integer | non | 1-based page number. |
| results_size | integer | non | Results 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ètre | Type | Requis | Description |
|---|---|---|---|
| filters | array<object> | non | Optional {field, op, value} filters over the lists themselves. |
| page | integer | non | 1-based page number. |
| results_size | integer | non | Results 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list to search. |
| filters | array<object> | non | Optional {field, op, value} filters over the items. |
| page | integer | non | 1-based page number. |
| results_size | integer | non | Results 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list to count. |
| filters | array<object> | non | Optional {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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list holding the item. |
| item_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The list name. |
| color | string | oui | Dashboard colour label, e.g. $red, $green, $blue — Castle requires one. |
| primary_field | string | oui | The event field entries match on, e.g. ip or user.email. |
| description | string | non | What this list is for. |
| secondary_field | string | non | An 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list to update. |
| name | string | non | New name. |
| color | string | non | New colour label. |
| description | string | non | New 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list to add to. |
| primary_value | string | oui | The value to add, matching the list's primary_field. |
| author_type | enum: "$analyst_email" | "$castle_dashboard_user" | "$castle_policy" | "$user" | "$user_email" | "$other" | oui | What kind of actor is adding this entry. |
| author_identifier | string | oui | Who is adding it, e.g. the analyst's email address. |
| secondary_value | string | non | Value for the list's secondary_field. |
| comment | string | non | Why this entry was added. |
| auto_archives_at | string | non | ISO-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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list holding the item. |
| item_id | string | oui | The item to update. |
| comment | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list holding the item. |
| item_id | string | oui | The 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ètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | The list holding the item. |
| item_id | string | oui | The 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://castle.usefulapi.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http castle https://castle.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : castle ; URL : https://castle.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : castle ; Server URL : https://castle.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"castle": {
"url": "https://castle.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"castle": {
"type": "http",
"url": "https://castle.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"castle": {
"url": "https://castle.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"castle": {
"httpUrl": "https://castle.usefulapi.io/mcp"
}
}
}[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
[Castle MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/castle)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.