From ironscales
Provides patterns for Ironscales MCP tools: authentication via API key and company ID, pagination, rate limiting, and error handling for phishing incident management.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ironscales:api-patternsWhen to use
When working with available tools, API key and company ID authentication, pagination, rate limiting, and error handling in Ironscales MCP tools. Use when: ironscales, ironscales api, ironscales mcp, ironscales tools, ironscales authentication, ironscales pagination, ironscales error, or ironscales connection.
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Ironscales MCP server provides AI tool integration with the Ironscales anti-phishing platform. It exposes tools for listing and triaging phishing incidents, classifying emails, taking remediation actions, managing sender allowlists, and accessing company-wide phishing statistics. Authentication uses an API key and company ID passed as request headers.
The Ironscales MCP server provides AI tool integration with the Ironscales anti-phishing platform. It exposes tools for listing and triaging phishing incidents, classifying emails, taking remediation actions, managing sender allowlists, and accessing company-wide phishing statistics. Authentication uses an API key and company ID passed as request headers.
Ironscales uses a static API key combined with a company ID for authentication. The MCP Gateway injects these via headers:
| Header | Description |
|---|---|
X-Ironscales-API-Key | Your Ironscales API key |
X-Ironscales-Company-ID | Your Ironscales company (tenant) ID |
Generate credentials at: Ironscales Platform > Settings > API
Environment Variables (self-hosted):
export IRONSCALES_API_KEY="your-api-key"
export IRONSCALES_COMPANY_ID="your-company-id"
IMPORTANT: Never hardcode credentials. Always use environment variables or the MCP Gateway.
The Company ID scopes all API requests to a specific tenant. MSPs managing multiple clients require a separate API key and company ID per client.
| Tool | Description |
|---|---|
ironscales_list_incidents | List phishing incidents with status and type filters |
ironscales_get_incident | Get detailed information for a specific incident |
ironscales_classify_email | Classify an incident's email as phishing, spam, or legitimate |
ironscales_remediate_incident | Take a remediation action on a confirmed incident |
| Tool | Description |
|---|---|
ironscales_get_company_stats | Get company-wide phishing statistics and dashboard metrics |
| Tool | Description |
|---|---|
ironscales_manage_allowlist | Add, remove, or list sender allowlist entries |
The Ironscales API uses offset-based pagination:
offset and limit parameters to paginate resultslimit is typically 50 records per pagetotal — the total number of matching recordsExample response with pagination:
{
"incidents": [...],
"total": 148,
"offset": 0,
"limit": 50
}
Pagination workflow:
offset=0 and limit=50total > offset + limit, call again with offset=50limit until all records are retrievedIronscales enforces per-endpoint rate limits.
| Code | Meaning | Resolution |
|---|---|---|
| 400 | Bad Request | Check required parameters and classification values |
| 401 | Unauthorized | Verify API key and company ID |
| 403 | Forbidden | API key lacks permissions for this operation |
| 404 | Not Found | Incident ID or resource does not exist |
| 429 | Rate Limited | Wait and retry with exponential backoff |
| 500 | Server Error | Retry; contact Ironscales support if persistent |
{
"error": "INVALID_API_KEY",
"message": "The provided API key is invalid.",
"code": 401
}
companyId in all requests (handled automatically by the MCP server)open, closed) to focus on actionable incidentsoffset pagination with status filters to efficiently process large incident backlogsironscales_get_company_stats weekly to track phishing trends and identify anomaliesnpx claudepluginhub wyre-technology/msp-claude-plugins --plugin ironscalesLists and triages IRONSCALES phishing incidents, classifies emails as phishing/spam/legitimate, performs remediation actions, manages sender allowlists, and views company statistics.
Guides incident lifecycle management for Checkpoint Harmony Email security events: status transitions, triage, investigation, evidence collection, remediation, and closure workflows.
Provides patterns for the Huntress MCP API including authentication, pagination, rate limiting, and error handling. Activates when working with Huntress tools or API.