L'Atlas / MCP servers / Castle MCP by usefulapi
MCP server

Castle MCP by usefulapi

io.usefulapi/castle

MCP server OK 14 tools

Get a review See pricing

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

Technical sheet

Author
usefulapi.io (registry namespace)
Repository
github.com/m190/usefulapi-mcp
Site
usefulapi.io/castle
Version
1.40.4
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://castle.usefulapi.io/mcp Streamable HTTP
Tools
14
Categories
Security
Last updated
18 Nov 2026
Published
18 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/castle.svg?lang=en)](https://latlas.dev/en/mcp/io.usefulapi/castle)
HTML
<a href="https://latlas.dev/en/mcp/io.usefulapi/castle"><img src="https://latlas.dev/badge/fiche/io.usefulapi/castle.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://castle.usefulapi.io/mcp
Last result
OK 28 Nov 2026, 10:30
Response time
257 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
castle-mcp 1.40.4
Tools
14

History

DateResultResponseTools
28 Nov 2026, 10:30OK257 ms14

Exposed tools (14, from 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.

No parameters.

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.

ParameterTypeRequiredDescription
filtersarray<object>yesCastle 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"noReturn matching records, just a count, or both. Defaults to records.
columnsarray<string>noOnly return these event fields.
pageintegerno1-based page number.
results_sizeintegernoResults 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.

ParameterTypeRequiredDescription
filtersarray<object>yesCastle 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>yesFields to group by, e.g. ["ip", "user.email"]. Names come from the event schema.
pageintegerno1-based page number.
results_sizeintegernoResults 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.

ParameterTypeRequiredDescription
filtersarray<object>noOptional {field, op, value} filters over the lists themselves.
pageintegerno1-based page number.
results_sizeintegernoResults 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}.

ParameterTypeRequiredDescription
list_idstringyesThe 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.

ParameterTypeRequiredDescription
list_idstringyesThe list to search.
filtersarray<object>noOptional {field, op, value} filters over the items.
pageintegerno1-based page number.
results_sizeintegernoResults 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.

ParameterTypeRequiredDescription
list_idstringyesThe list to count.
filtersarray<object>noOptional {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}.

ParameterTypeRequiredDescription
list_idstringyesThe list holding the item.
item_idstringyesThe 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.

ParameterTypeRequiredDescription
namestringyesThe list name.
colorstringyesDashboard colour label, e.g. $red, $green, $blue — Castle requires one.
primary_fieldstringyesThe event field entries match on, e.g. ip or user.email.
descriptionstringnoWhat this list is for.
secondary_fieldstringnoAn 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}.

ParameterTypeRequiredDescription
list_idstringyesThe list to update.
namestringnoNew name.
colorstringnoNew colour label.
descriptionstringnoNew 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.

ParameterTypeRequiredDescription
list_idstringyesThe list to add to.
primary_valuestringyesThe value to add, matching the list's primary_field.
author_typeenum: "$analyst_email" | "$castle_dashboard_user" | "$castle_policy" | "$user" | "$user_email" | "$other"yesWhat kind of actor is adding this entry.
author_identifierstringyesWho is adding it, e.g. the analyst's email address.
secondary_valuestringnoValue for the list's secondary_field.
commentstringnoWhy this entry was added.
auto_archives_atstringnoISO-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}.

ParameterTypeRequiredDescription
list_idstringyesThe list holding the item.
item_idstringyesThe item to update.
commentstringyesThe 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.

ParameterTypeRequiredDescription
list_idstringyesThe list holding the item.
item_idstringyesThe 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.

ParameterTypeRequiredDescription
list_idstringyesThe list holding the item.
item_idstringyesThe item to restore.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

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

Ready-to-copy configs

Remote address used: https://castle.usefulapi.io/mcp. Formats taken from each client’s documentation.

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"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Castle MCP by usefulapi · L’Atlas · Tested on

Markdown
[Castle MCP by usefulapi — L’Atlas](https://latlas.dev/en/mcp/io.usefulapi/castle)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 30 Nov 2026. L’Atlas adds no data beyond this source and its own tests.