Castle MCP by usefulapi
io.usefulapi/castle
Investigate security events and manage the allow/deny lists an analyst acts on.
- Repository
- github.com/m190/usefulapi-mcp
- Website
- usefulapi.io/castle/
- Server address
https://castle.usefulapi.io/mcp(streamable-http)- Version
- 1.40.4
- Author
- usefulapi.io (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 18, 2026)
How to install it
Claude Code
In a terminal:
claude mcp add --transport http castle https://castle.usefulapi.io/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://castle.usefulapi.io/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://castle.usefulapi.io/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"castle": {
"url": "https://castle.usefulapi.io/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"castle": {
"type": "http",
"url": "https://castle.usefulapi.io/mcp"
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 10:30 (test run by L’Atlas)
- Response time
- 257 ms (whole test)
- Tools found
- 14
- Announced name
- castle-mcp 1.40.4
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (14)
castle_get_events_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.castle_search_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.castle_group_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.castle_search_lists
Find the allow/deny lists defined in the environment. Read-only despite being a POST. Castle: POST /v1/lists/query.castle_get_list
Fetch a single list with its primary and secondary field definitions. Castle: GET /v1/lists/{id}.castle_search_list_items
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_items
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_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}.castle_create_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.castle_update_list
Rename a list or change its colour or description. Castle: PUT /v1/lists/{id}.castle_create_list_item
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_item
Change the comment on a list entry. Castle: PUT /v1/lists/{list_id}/items/{id}.castle_archive_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.castle_unarchive_list_item
Restore a previously archived list entry so it matches again. Castle: PUT /v1/lists/{list_id}/items/{id}/unarchive.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.usefulapi/castle)HTML
<a href="https://lagora.dev/en/entry/io.usefulapi/castle"><img src="https://lagora.dev/badge/io.usefulapi/castle.svg?lang=en" alt="io.usefulapi/castle on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
Chatwoot MCP by usefulapi Responds
UpCloud MCP by usefulapi Responds
FreeAgent MCP by usefulapi Responds
sevdesk MCP by usefulapi Responds