mcpField
C
Castle MCP by usefulapi

Castle MCP by usefulapi

Remote
usefulapi.ioSecurity0Updated today

About Castle MCP by usefulapi

Castle MCP by usefulapi is a hosted MCP server for security analysts investigating Castle events and maintaining allow/deny lists. It offers read tools for event and list searches plus tools to create, update, archive, and unarchive list items.

Key features

  1. 01Search and group security events
  2. 02Inspect event schema
  3. 03Search lists and list items
  4. 04Create and update lists
  5. 05Add, update, archive, and restore items

Use cases

  1. 01Investigate Castle security events
  2. 02Review or edit allow/deny lists

MCP support

Exposes Castle event and list operations to MCP clients, including read-only queries and write tools. Connect through its hosted endpoint and authenticate with Castle credentials.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://castle.usefulapi.io/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

14

This tool takes no parameters.

Details

From the project README

Castle MCP by usefulapi

Investigate security events and manage the allow/deny lists an analyst acts on. Hosted, no local install.

Live endpoint: https://castle.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://castle.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http castle https://castle.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
{
  "mcpServers": {
    "castle": {
      "url": "https://castle.usefulapi.io/mcp"
    }
  }
}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Castle credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/castle/

On first connect you'll paste your Castle credentials. They are validated, stored per-user, and scoped to you — no keys in config files.

Tools

ToolTypeWhat it does
castle_get_events_schemareadGet the event schema
castle_search_eventsreadSearch security events
castle_group_eventsreadGroup security events
castle_search_listsreadSearch lists
castle_get_listreadGet one list
castle_search_list_itemsreadSearch items in a list
castle_count_list_itemsreadCount items in a list
castle_get_list_itemreadGet one list item
castle_create_listwriteCreate a list
castle_update_listwriteUpdate a list
castle_create_list_itemwriteAdd an item to a list
castle_update_list_itemwriteUpdate a list item's comment
castle_archive_list_itemwriteArchive a list item
castle_unarchive_list_itemwriteUnarchive a list item
castle_usage_statusmetaUsage status (free-tier meter)
castle_request_featuremetaRequest a missing feature
castle_upgrademetaUpgrade to Pro (unlimited*)
castle_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with castle_upgrade (it returns a Stripe Checkout link). Cancel any time with castle_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running castle_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.