Castle MCP by usefulapi

io.usefulapi/castle

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

Yes, your AI can use this right now.Answered a live MCP handshake in 153 ms with no sign-in needed and exposes 14 tools.

Connect it

Settings → Connectors → Add custom connector
URL: https://castle.usefulapi.io/mcp

14 tools, verified live

Pulled straight from the server with tools/list on 2026-10-17.
castle_get_events_schemaread-only

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.

castle_search_eventsread-only

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.

castle_group_eventsread-only

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.

castle_search_listsread-only

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

castle_get_listread-only

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

castle_search_list_itemsread-only

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.

castle_count_list_itemsread-only

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.

castle_get_list_itemread-only

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

castle_create_listcan modify

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.

castle_update_listcan modify

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

castle_create_list_itemcan modify

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.

castle_update_list_itemcan modify

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

castle_archive_list_itemcan modify

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

castle_unarchive_list_itemcan modify

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

Alternatives in Security

Compare →
Try “Notion”, “Stripe”, “create invoice”, “browser”