fcp-mcp-server
v1.43.0MCP Server for FCP Launch Coordination System - enables Claude Code to interact with FCP launches and track development time
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fcp_list_launches
List launches from FCP with optional filters. Returns upcoming launches, their status, and basic info.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of launches to return |
platform | string | Filter by platform: wordpress, drupal, nextjs, steldris, other |
status | string | Filter by status: planning, in_progress, soft_launched, launched, on_hold, cancelled |
upcoming | number | Show launches within next N days |
fcp_get_launch
Get detailed information about a specific launch including checklist items, legacy access info, and team assignments.
| Parameter | Type | Description |
|---|---|---|
launch_id * | number | The ID of the launch to retrieve |
fcp_get_legacy_access
Get legacy hosting access information for a migration launch. Includes hosting provider, database access, file access, git repo, and DNS details.
| Parameter | Type | Description |
|---|---|---|
launch_id * | number | The ID of the launch |
fcp_get_checklist
Get the launch checklist with item statuses and any Claude-specific instructions for completing tasks.
| Parameter | Type | Description |
|---|---|---|
launch_id * | number | The ID of the launch |
category | string | Optional: filter by category (infrastructure, security, pre_launch_webops, pre_launch_devops, pre_launch_dev, pre_launch_seo, launch_day_devops, launch_day_seo, post_launch_day1, post_launch_week1, po… |
status | string | Optional: filter by status (pending, in_progress, completed, blocked, skipped) |
fcp_add_checklist_item
Add a new checklist item to a launch. Requires title and category at minimum.
| Parameter | Type | Description |
|---|---|---|
category * | string | Category for the checklist item |
launch_id * | number | The ID of the launch |
title * | string | Title of the checklist item |
assigned_to_id | number | User ID to assign the item to |
depends_on_item_id | number | ID of another checklist item this depends on |
description | string | Detailed description of the item |
due_date | string | Due date in ISO format |
environment | string | Environment: production, staging, both |
external_link | string | External URL related to this item |
is_blocking | boolean | Whether this item blocks the launch (default: false) |
is_required | boolean | Whether this item is required for launch (default: true) |
role | string | Team role responsible: webops, devops, dev, seo, client |
sort_order | number | Sort order within the category |
fcp_update_checklist_item
Update a checklist item. Can change status, title, description, category, assignment, and other fields.
| Parameter | Type | Description |
|---|---|---|
item_id * | number | The ID of the checklist item |
launch_id * | number | The ID of the launch |
assigned_to_id | number | User ID to assign to (null to unassign) |
category | string | Updated category |
depends_on_item_id | number | Updated dependency item ID (null to clear) |
description | string | Updated description (null to clear) |
due_date | string | Updated due date in ISO format (null to clear) |
environment | string | Updated environment: production, staging, both |
evidence_url | string | URL to evidence of completion (null to clear) |
external_link | string | External URL (null to clear) |
is_blocking | boolean | Whether this item blocks the launch |
is_required | boolean | Whether this item is required for launch |
jira_ticket_key | string | Associated Jira ticket key (null to clear) |
notes | string | Notes about the status change (alias for completion_notes) |
role | string | Updated team role: webops, devops, dev, seo, client |
sort_order | number | Updated sort order |
status | string | New status for the item |
title | string | Updated title |
fcp_delete_checklist_item
Delete a checklist item from a launch. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
item_id * | number | The ID of the checklist item to delete |
launch_id * | number | The ID of the launch |
fcp_add_progress_note
Add a progress note to a launch. Use this to document what work was done or any issues encountered.
| Parameter | Type | Description |
|---|---|---|
content * | string | The note content |
launch_id * | number | The ID of the launch |
fcp_get_claude_md
Generate CLAUDE.md content for a launch. Returns formatted markdown with project context, legacy access info, and checklist.
| Parameter | Type | Description |
|---|---|---|
launch_id * | number | The ID of the launch |
fcp_create_launch
Create a new launch in FCP. Requires name, platform, launch_type, and target_launch_date. Optionally creates a default checklist.
| Parameter | Type | Description |
|---|---|---|
launch_type * | string | Type of launch (required) |
name * | string | Launch name (required) |
platform * | string | Platform type (required) |
target_launch_date * | string | Target launch date in ISO format (required) |
account_id | number | Associated account/client ID |
client_contact | string | Client contact name |
client_contact_email | string | Client contact email |
description | string | Launch description |
dev_lead_id | number | Dev lead user ID |
devops_lead_id | number | DevOps lead user ID |
jira_project_key | string | Jira project key |
kickoff_date | string | Kickoff date in ISO format |
priority | string | Launch priority (default: medium) |
seo_lead_id | number | SEO lead user ID |
slack_channel | string | Slack channel for launch countdown notifications, e.g. #channel-name |
soft_launch_date | string | Soft launch date in ISO format |
unroo_project_id | number | Unroo project ID to link |
use_default_checklist | boolean | Whether to create default checklist items (default: true) |
webops_lead_id | number | WebOps lead user ID |
website_id | number | Associated website ID |
fcp_update_launch
Update an existing launch. Only provided fields are updated. Can change status, dates, assignments, and other properties.
| Parameter | Type | Description |
|---|---|---|
launch_id * | number | The ID of the launch to update (required) |
account_id | number | Associated account/client ID (null to unlink) |
actual_launch_date | string | Actual launch date when launched |
client_contact | string | Client contact name (null to clear) |
client_contact_email | string | Client contact email (null to clear) |
description | string | Updated description |
dev_lead_id | number | Dev lead user ID (null to clear) |
devops_lead_id | number | DevOps lead user ID (null to clear) |
jira_project_key | string | Jira project key (null to clear) |
kickoff_date | string | Updated kickoff date (null to clear) |
launch_type | string | Updated launch type |
name | string | Updated launch name |
platform | string | Updated platform |
priority | string | Updated priority |
seo_lead_id | number | SEO lead user ID (null to clear) |
slack_channel | string | Slack channel for launch countdown notifications, e.g. #channel-name (null to clear) |
soft_launch_date | string | Updated soft launch date (null to clear) |
status | string | Updated status |
target_launch_date | string | Updated target launch date |
unroo_project_id | number | Unroo project ID (null to unlink) |
webops_lead_id | number | WebOps lead user ID (null to clear) |
website_id | number | Associated website ID (null to unlink) |
fcp_delete_launch
Delete a launch and all associated checklist items. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
launch_id * | number | The ID of the launch to delete |
fcp_get_success_factors
Get the success factors (validation criteria) for a checklist item. Shows what automated checks are configured.
| Parameter | Type | Description |
|---|---|---|
item_id * | number | The ID of the checklist item |
launch_id * | number | The ID of the launch |
fcp_validate_checklist_item
Run automated validation checks on a checklist item. Executes all configured success factors (HTTP checks, DNS checks, SSL checks, etc.) and returns results.
| Parameter | Type | Description |
|---|---|---|
item_id * | number | The ID of the checklist item to validate |
launch_id * | number | The ID of the launch |
fcp_get_unroo_section
Generate the Unroo task management section for a CLAUDE.md file. Auto-detects project key from git remote. Use this to add Unroo integration instructions to any project.
| Parameter | Type | Description |
|---|---|---|
project_key | string | Manual project key override. Use if auto-detection fails. |
repo_url | string | Git remote URL (e.g., git@github.com:owner/repo.git). If not provided, uses current directory. |
unroo_list_projects
List all Unroo projects (including those not mapped to FCP). Returns project details with organization, company, and JIRA key info.
unroo_list_tasks
List tasks from Unroo with optional filters. Use to find tasks for a project, by status, or by assignee.
| Parameter | Type | Description |
|---|---|---|
assignee_email | string | Filter by assignee email |
external_source_type | string | Filter by source: fcp, fcp_checklist, fcp_launch |
limit | number | Maximum number of tasks to return (default 100) |
project_key | string | Filter by JIRA project key or FCP-SITE-{id} |
status | string | Filter by status: To Do, In Progress, Done, Blocked (comma-separated for multiple) |
unroo_create_task
Create a new task in Unroo. Requires title and project_key. Use for follow-up tasks, discovered issues, or new work items.
| Parameter | Type | Description |
|---|---|---|
project_key * | string | JIRA project key or FCP-SITE-{id} (required) |
title * | string | Task title (required) |
assignee_email | string | Email of person to assign the task to |
description | string | Detailed description of the task |
due_date | string | Due date in ISO format |
github_branch | string | Git branch name associated with this task |
github_repo | string | GitHub repository (owner/repo format) |
hours_estimated | number | Estimated hours to complete |
labels | array | Labels/tags for the task |
parent_issue_id | string | Parent task ID if this is a subtask |
priority | string | Task priority (default: medium) |
status | string | Initial status (default: To Do) |
unroo_get_task
Get detailed information about a specific task by ID. Returns full task details including description, status, priority, labels, hours, and activity.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The ID of the task to retrieve (required) |
unroo_update_task
Update an existing task in Unroo. Use to change status, log hours, update priority, or reassign.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The ID of the task to update (required) |
assignee_email | string | New assignee email (null to unassign) |
description | string | Updated description |
github_branch | string | Git branch name associated with this task |
github_pr_number | number | GitHub pull request number |
github_pr_url | string | GitHub pull request URL |
github_repo | string | GitHub repository (owner/repo format) |
hours_logged | number | Total hours logged on the task |
labels | array | Replace the task labels (full set, e.g. ["security","model:glm-5p3-flash"]). A comma-separated string is also accepted. |
priority | string | Updated priority |
reporter_email | string | New reporter email — must be a Fruition team member (null or empty string to clear). Rejected with 400 if the email does not match a real Unroo worker. |
resolution | string | Resolution when marking as Done |
status | string | New status: To Do, In Progress, Done, Blocked |
title | string | Updated title |
unroo_add_comment
Add a comment to an Unroo task. Use this for progress updates, notes, or tagging people with @mentions. Comments sync to Jira and notify watchers. Use is_internal=true for team-only notes.
| Parameter | Type | Description |
|---|---|---|
comment_text * | string | The comment content. Use @email to mention people (e.g., @tony.diaz@fruition.net) |
task_id * | string | Task ID or Jira key (e.g., task_abc123 or FLYFRU-189) |
is_internal | boolean | If true, comment is team-only (not synced to Jira, not visible to customers). Default: false |
mentions | array | Email addresses of people to mention/notify (e.g., ["tony.diaz@fruition.net"]) |
unroo_list_comments
List comments on an Unroo task. Returns all comments in reverse chronological order.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID or Jira key (e.g., task_abc123 or FLYFRU-189) |
unroo_list_attachments
List file attachments on an Unroo task. Use this to see screenshots, logs, or other files attached to a bug report or ticket. By default, image and text attachments are embedded inline so you can view them directly; pass include_content=false to get metadata only (faster for large attachments).
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID or Jira key (e.g., task_abc123 or FLYFRU-189) |
include_content | boolean | When true (default), embed image and text content inline. Set to false to return metadata only. |
unroo_get_my_tasks
Get tasks assigned to you. "You" resolves from FCP_USER_EMAIL (your Fruition email), falling back to the FCP API key owner if FCP_USER_EMAIL is unset. Returns an error asking you to set FCP_USER_EMAIL if neither can be resolved.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of tasks to return (default 50) |
status | string | Filter by status: To Do, In Progress, Done, Blocked (case-sensitive, comma-separated for multiple) |
unroo_start_session
Start a work session for tracking time and activity. Call this when beginning work on a task.
| Parameter | Type | Description |
|---|---|---|
project_key | string | Project being worked on |
repo_name | string | Repository name if working on code |
task_id | string | The task you are working on |
task_jira_key | string | JIRA issue key if applicable |
unroo_end_session
End the current work session and log time. Call this when finishing work.
unroo_create_follow_up
Create a follow-up task linked to a parent task. Use for discovered issues, tech debt, or next steps.
| Parameter | Type | Description |
|---|---|---|
parent_task_id * | string | The parent task this follows up on (required) |
title * | string | Follow-up task title (required) |
description | string | Description of the follow-up work |
priority | string | Priority (default: same as parent or medium) |
unroo_log_future_work
Log future work items to parking lot or backlog. Use when you discover work that should be done later - bugs, tech debt, features, documentation needs, etc.
| Parameter | Type | Description |
|---|---|---|
project_key * | string | JIRA project key or FCP-SITE-{id} (required) |
title * | string | Title of the future work item (required) |
checklist_item_id | number | FCP checklist item ID if discovered during checklist work |
description | string | Detailed description of the work needed |
destination | string | Where to put the item: parking_lot (needs review) or backlog (ready for sprint). Default: parking_lot |
estimated_hours | number | Estimated hours to complete |
launch_id | number | FCP launch ID if related to a launch |
notes | string | Additional notes or context |
priority | string | Priority level (default: Medium) |
task_type | string | Type of work item |
unroo_get_parking_lot
Get items from the parking lot - discovered work that needs review before being added to backlog.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of items to return (default: 100) |
project_key | string | Filter by JIRA project key or FCP-SITE-{id} |
status | string | Filter by status: pending, approved, rejected, converted (default: pending) |
unroo_get_backlog
Get backlog items - tasks ready to be scheduled into sprints.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of items to return (default: 100) |
priority | string | Filter by priority |
project_key | string | Filter by JIRA project key or FCP-SITE-{id} |
unroo_convert_to_backlog
Convert a parking lot item to backlog. Use after reviewing a discovered item and deciding it should be done.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the parking lot item to convert (required) |
notes | string | Notes about the conversion decision |
priority | string | Priority for the backlog item (optional, keeps original if not specified) |
fcp_filesync_list_configs
List all file sync configurations with current status. Shows prod/staging PVC pairs, scheduling, sync direction, and last sync info.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | Filter by enabled status |
search | string | Search across site names, clusters, namespaces |
sync_direction | string | Filter by sync direction |
fcp_filesync_get_config
Get detailed file sync config with recent job history. Returns full config, last 5 jobs, and scheduling info.
| Parameter | Type | Description |
|---|---|---|
config_id * | number | The config ID to retrieve |
fcp_filesync_start_sync
Trigger a file sync immediately. For prod-to-staging syncs, executes directly. For staging-to-prod syncs, requires a confirmation_token from fcp_filesync_get_confirmation.
| Parameter | Type | Description |
|---|---|---|
config_id * | number | The config ID to sync |
confirmation_token | string | Required for staging-to-prod syncs. Get from fcp_filesync_get_confirmation. |
fcp_filesync_get_job_status
Get the status of a file sync job. Returns progress, current step, rsync stats, and timing info. Call in a loop to monitor a running sync.
| Parameter | Type | Description |
|---|---|---|
config_id * | number | The config ID to check jobs for |
limit | number | Number of jobs to return (default 5) |
status | string | Filter by job status (e.g. pending, syncing, completed, failed) |
fcp_filesync_cancel_sync
Cancel a running file sync. Kills the K8s Job and marks the job as cancelled.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job ID (UUID) to cancel |
fcp_filesync_get_confirmation
Generate a confirmation token for staging-to-prod syncs. Token is valid for 5 minutes. Use before fcp_filesync_start_sync for staging_to_prod direction.
| Parameter | Type | Description |
|---|---|---|
config_id * | number | The config ID requiring confirmation |
fcp_trigger_nuclei_scan
DEPRECATED (UN-1767): direct scan-control path outside the health-assessment orchestrator, kept scanner-internal — results also 401 for X-API-Key callers since raw scan routes are session/UI-only. To trigger scans use the orchestrator (POST /api/site-audit/evidence/[accountId]/refresh); to read results use fcp_get_site_posture or the canonical feed GET /api/site-audit/evidence/[account_id]. This tool will be retired in a future release.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to scan (required) |
severity | string | Comma-separated severity levels to scan for (default: critical,high,medium) |
templates | string | Comma-separated Nuclei template categories (default: cves,exposures,misconfiguration). Options: cves, vulnerabilities, exposures, misconfiguration, technologies, ssl, dns, headless |
url | string | Override target URL (optional, auto-resolved from website record if not provided) |
fcp_get_nuclei_results
DEPRECATED (UN-1767): raw scan reads are session/UI-only and 401 for X-API-Key callers. Use fcp_get_site_posture (composite incl. nuclei critical/high counts) or the canonical evidence feed GET /api/site-audit/evidence/[account_id] instead.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to get results for (required) |
limit | number | Maximum number of scans to return (default: 5) |
scan_id | string | Specific scan ID to get detailed results for (optional) |
status | string | Filter findings by status: active, fixed, reopened, false_positive |
herald_list_conversions
List sales conversions from Herald (the CRM). Filter by product (steldris | flyfruition | ada_pdf | hosting | web_dev | retainer | other), stage (pitch | qualified | converting | review | won | expanded | churned | lost), and/or FCP account_id. Returns the recurring-revenue ledger (platform fees/MRR). For open one-time deals use herald_list_deals instead.
| Parameter | Type | Description |
|---|---|---|
account_id | number | Filter by FCP account id |
limit | number | Max rows (default 50, cap 200) |
product | string | Filter by product |
stage | string | Filter by stage |
herald_list_deals
List one-time SOW/project deals from Herald's herald_deals table (Salesforce opportunity history + open pipeline). Filter by status (open | won | lost) or account_id.
| Parameter | Type | Description |
|---|---|---|
account_id | number | Filter by herald account id |
limit | number | Max rows (default 50, cap 200) |
status | string | open | won | lost |
herald_get_activity
Get the activity timeline (touches: calls, meetings, notes, emails) for a contact email or FCP account id. Use to answer 'have we talked to this client?'
| Parameter | Type | Description |
|---|---|---|
account_id | number | FCP account id |
email | string | Contact email |
limit | number | Max rows (default 20) |
herald_log_touch
Log a sales touch (call, meeting, note, email) in Herald against a contact email or FCP account. Use after any real customer/prospect interaction so the funnel has one memory.
| Parameter | Type | Description |
|---|---|---|
channel * | string | call | meeting | demo | email | note | other |
subject * | string | One-line summary of the touch |
account_id | number | FCP account id (or use email) |
email | string | Contact email (or use account_id) |
summary | string | Longer notes (optional) |
herald_upsert_conversion
Record or advance a conversion in Herald (product lifecycle emit). One row per account+product; stage advances through pitch → qualified → converting → review → won/churned. stage=won auto-attaches the P&L platform fee when the account is priced. Requires fcp_account_id or fcp_website_id.
| Parameter | Type | Description |
|---|---|---|
product * | string | steldris | flyfruition | ada_pdf | hosting | web_dev | retainer | other |
stage * | string | pitch | qualified | converting | review | won | churned | lost |
fcp_account_id | number | FCP account id |
fcp_website_id | number | FCP website id (account resolved server-side) |
metadata | object | Extra metadata merged in (optional) |
notes | string | Context (optional) |
herald_crm_list
List Herald CRM records: kind = lead | account | contact | opportunity. Optional q text search, limit (default 100, cap 500), mine='1' (owned by you), status filter, open='1' for open opportunities, account_id for contacts on an account.
| Parameter | Type | Description |
|---|---|---|
kind * | string | lead | account | contact | opportunity |
account_id | number | Contacts only: contacts on this account |
limit | number | Max rows (default 100, cap 500) |
mine | string | '1' to list only records owned by you |
open | boolean | Opportunities only: open pipeline only |
q | string | Text search (name/organization/email or name/website/next_step) |
status | string | Filter by status (leads) or open/closed stage |
herald_crm_get
Get one Herald CRM record (lead | account | contact | opportunity) with related summary and audit trail. include=activity,notes,files,duplicates,history (comma-separated).
| Parameter | Type | Description |
|---|---|---|
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
include | string | activity,notes,files,duplicates,history (optional) |
herald_crm_search
Global search across all four Herald CRM objects (leads, accounts, contacts, opportunities), ranked by relevance.
| Parameter | Type | Description |
|---|---|---|
q * | string | Search text |
limit | number | Max results (default 20) |
herald_crm_home
Herald Home queue: won-revenue gauge, forecast, follow-up queue (Upcoming & Overdue), Today's tasks (Unroo-backed) and events.
herald_crm_create
Create a Herald CRM record. kind = lead | account | contact | opportunity; data is the field object (e.g. {name, email, organization} for a lead). Lead/contact creates are de-dupe surfaced — call herald_crm_search first to avoid duplicates.
| Parameter | Type | Description |
|---|---|---|
data * | object | Field values for the new record |
kind * | string | lead | account | contact | opportunity |
herald_crm_update
Update fields on a Herald CRM record. Partial — only the fields you pass change. Stage changes auto-sync probability.
| Parameter | Type | Description |
|---|---|---|
data * | object | Fields to change |
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
herald_crm_log_activity
Log a sales activity on a record: type = call | email | linkedin | event. Requires subject. Rolls up to the Account per the Accounts spec.
| Parameter | Type | Description |
|---|---|---|
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
subject * | string | One-line subject |
type * | string | call | email | linkedin | event |
details | string | Longer notes (optional) |
location | string | Meeting location (optional) |
occurred_at | string | ISO datetime (optional, defaults now) |
herald_crm_add_note
Add a note to a Herald CRM record (rule 22: notes are timestamped, author-stamped, never auto-generated).
| Parameter | Type | Description |
|---|---|---|
body * | string | Note body |
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
subject * | string | One-line subject |
herald_crm_convert
Convert a Herald lead: company → Account, person → Contact, all touches/notes/files transfer with ZERO orphans, optional opportunity. The flagship action — use for qualified leads ready to become customers.
| Parameter | Type | Description |
|---|---|---|
lead_id * | string | Lead id to convert |
account_id | number | Existing account id (when account_mode=existing) |
account_mode | string | new (default) | existing |
account_name | string | New account name (when account_mode=new) |
create_opportunity | boolean | Create an opportunity too (default true) |
opportunity_name | string | Opportunity name (default "<Account> - ") |
owner_email | string | Owner email for the new account/deal |
herald_crm_export
Export a Herald CRM list to CSV (kind = lead | account | contact | opportunity). RESTRICTED: only full-access users (Jim, Shah) and admins may export — Herald tier-checks the calling identity and every attempt is audit-logged, including denials.
| Parameter | Type | Description |
|---|---|---|
kind * | string | lead | account | contact | opportunity |
q | string | Optional text filter applied before export |
herald_crm_tasks_list
List Herald follow-up tasks. Tasks are Unroo-backed tickets (Brad's D-10: tasks are work items that run via Tasker/Unroo) — pass kind + id for one record's tasks, or mine=true for your follow-up queue (open tickets assigned to you across all records, from the Home follow-up queue).
| Parameter | Type | Description |
|---|---|---|
id | string | Record id (with kind) |
kind | string | lead | account | contact | opportunity (with id — one record's tasks) |
mine | boolean | true → your follow-up queue instead of one record's tasks |
herald_crm_tasks_create
Create a follow-up task on a Herald CRM record. Lands as a ticket in Unroo (project HERALD) tagged herald:<kind>:<id>, shows on the record and in the Home follow-up queue. Requires subject and due_date (YYYY-MM-DD).
| Parameter | Type | Description |
|---|---|---|
due_date * | string | Due date, YYYY-MM-DD |
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
subject * | string | One-line subject (becomes the Unroo ticket title) |
assignee_email | string | Assignee email (optional; unset leaves the ticket unassigned) |
details | string | Longer context (optional) |
herald_crm_contact_roles_list
List the contact roles on a Herald opportunity (who is Decision Maker, Influencer, Technical, Procurement on this deal). Each row includes the attached contact. Pass candidates=true to instead get ALL contacts on the opportunity's account — the picker population for herald_crm_contact_roles_add.
| Parameter | Type | Description |
|---|---|---|
deal_id * | number | Opportunity (deal) id |
candidates | boolean | 'true' to list candidate contacts on the account (for choosing lead_id) instead of the assigned roles |
herald_crm_contact_roles_add
Put a contact on a Herald opportunity with a role: Decision Maker | Influencer | Technical | Procurement (vocabulary enforced server-side). lead_id is a Herald contact id (find it with herald_crm_search or herald_crm_contact_roles_list candidates=true). Re-adding an existing deal+contact pair updates its role. is_primary=true makes this the primary contact and unsets any other primary on the deal. Attributed to you in the audit trail.
| Parameter | Type | Description |
|---|---|---|
deal_id * | number | Opportunity (deal) id |
lead_id * | string | Contact id (Herald contact / ada_leads id) |
is_primary | boolean | Set as the deal primary contact (default false) |
role | string | Decision Maker | Influencer | Technical | Procurement (default Influencer) |
herald_crm_contact_roles_remove
Remove a contact role from a Herald opportunity. id is the role-assignment id from herald_crm_contact_roles_list (NOT the deal or contact id). Attributed to you in the audit trail.
| Parameter | Type | Description |
|---|---|---|
id * | number | Contact-role assignment id (from herald_crm_contact_roles_list) |
herald_crm_files_list
List the files attached to a Herald CRM record (SOWs, call recordings, screenshots...). Returns name, size, mime type, uploader, and upload date — the same list the Files card shows. File bytes are NOT returned; use herald_crm_get include=files for the card view or this tool for a machine-readable list.
| Parameter | Type | Description |
|---|---|---|
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
herald_crm_files_upload
Attach a file to a Herald CRM record (SOW, proposal, call recording...). Supply the bytes as content_base64; files up to 50 MB are accepted (Herald enforces the cap server-side) — but over the HTTP hub the MCP request body is capped at 1 MiB, so base64 uploads there max out around 700 KB of encoded payload (≈500 KB file); larger files need a stdio (workstation) session, where a local path also works. The upload is attributed to you in the audit trail.
| Parameter | Type | Description |
|---|---|---|
id * | string | Record id |
kind * | string | lead | account | contact | opportunity |
content_base64 | string | Base64-encoded file bytes. Required unless path is given. |
file_name | string | File name to attach (e.g. sow-acme-2026.pdf). Required with content_base64; ignored with path. |
mime_type | string | MIME type (optional; inferred from nothing when omitted — pass application/pdf etc.) |
path | string | Local file path to read instead of content_base64 — stdio (workstation) sessions ONLY; the HTTP hub runs server-side and cannot see your disk. |
herald_crm_duplicates_merge
DESTRUCTIVE — merge a duplicate Herald CRM record into its survivor: activity, notes, and files combine into the survivor, missing fields fill in from the duplicate, and the duplicate is archived (nothing is lost, but this cannot be undone from Herald). Requires explicit human approval: review the match first (herald_crm_get include=duplicates), then re-call with confirm=true. Every merge is audit-logged on the survivor. SPECIAL CASE — merging a LEAD into an existing ACCOUNT: pass kind=lead, record_id=<the lead>, dup_kind=account, dup_id=<the account>; Herald converts the lead into a conta…
| Parameter | Type | Description |
|---|---|---|
dup_id * | string | The DUPLICATE record id — the record merged in and archived (for a lead→account merge this is the surviving account) |
kind * | string | lead | account | contact | opportunity (the kind of BOTH records unless dup_kind says otherwise) |
record_id * | string | The SURVIVOR record id — the record that stays (EXCEPTION: for a lead→account merge this is the LEAD being converted — see the tool description) |
confirm | boolean | Must be explicitly true. Refused otherwise — obtain human approval first. |
dup_kind | string | Duplicate's kind when it differs from `kind` (e.g. merging a lead into an account: kind=lead, dup_kind=account — this is the special reversed-roles case) |
herald_crm_duplicates_dismiss
DESTRUCTIVE-ish — dismiss a flagged duplicate pair in Herald so the de-dupe engine stops surfacing it (records are NOT changed; the pair is remembered as reviewed and never flagged again). Requires explicit human approval: re-call with confirm=true after a human signs off.
| Parameter | Type | Description |
|---|---|---|
dup_id * | string | The duplicate record id |
dup_kind * | string | The duplicate's kind (may differ from `kind`, e.g. a lead matching an account) |
kind * | string | lead | account | contact | opportunity |
record_id * | string | Record id the duplicate was flagged against |
confirm | boolean | Must be explicitly true. Refused otherwise — obtain human approval first. |
fcp_scan_security_headers
DEPRECATED (UN-1767): direct scan trigger outside the health-assessment orchestrator, kept scanner-internal — also 401s for X-API-Key callers. Use the canonical feed GET /api/site-audit/evidence/[account_id] or fcp_get_site_posture; headers grade/score arrive there as the security-headers enrichment.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to scan (required) |
fcp_get_security_headers_results
DEPRECATED (UN-1767): raw scan reads are session/UI-only and 401 for X-API-Key callers. Use fcp_get_site_posture (security_headers grade) or the canonical evidence feed GET /api/site-audit/evidence/[account_id].
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to get results for (required) |
scan_id | string | Specific scan ID to get detailed results for (optional, defaults to latest) |
fcp_list_security_findings
List unified security findings across the fleet (the /dashboard/wtwon/security data: WordPress plugins/core, Drupal contrib, Dependabot, Docker Scout, Nuclei, Red Team). Supports filters and returns severity/source/status summary counts with each page. Use fcp_create_security_tasks to spawn remediation tickets for findings that have none.
| Parameter | Type | Description |
|---|---|---|
cve_id | string | Filter by CVE id (partial match, e.g. "CVE-2026-84434") |
has_task | boolean | true = only findings with an Unroo remediation task; false = only findings without one |
include_retired | boolean | Include findings for retired sites (default: excluded — they are never re-scanned so always stale) |
limit | number | Results per page, max 100 (default 50). Prefer narrowing with filters over paging through everything. |
page | number | Page number (default 1) |
search | string | Free-text match against title/description/affected component |
severity | string | Comma-separated severities to include: critical,high,medium,low,info (e.g. "critical,high") |
sort_by | string | Sort: severity (default), date, site, source, status |
sort_dir | string | Sort direction. For the severity sort this tool defaults to asc so critical ranks first (the endpoint's raw DESC would list info before critical); other sorts default to the endpoint's desc. |
source_type | string | Comma-separated sources: wordpress_plugin,wordpress_core,drupal_core,drupal_contrib,php_runtime,github_dependabot,dockerhub_scout,nuclei_scanner,redteam_scanner,infrastructure_scanner |
status | string | Comma-separated statuses: open,in_progress,remediated,false_positive,accepted_risk,wont_fix (default: all) |
website_id | number | Filter to one website by FCP site id |
fcp_get_security_finding
Get one unified security finding by id (full detail: affected component, versions, CVEs, first/last detected, linked Unroo task).
| Parameter | Type | Description |
|---|---|---|
id * | string | The finding id (from fcp_list_security_findings) |
fcp_get_security_summary
Fleet security summary matching the /dashboard/wtwon/security header cards (default scope: open + in_progress findings): counts by severity, source, and status, sites affected, tasks linkage, plus CI/CD posture stats.
fcp_update_security_finding
Update a security finding's triage status (in_progress, remediated, false_positive, accepted_risk, wont_fix) with optional notes. Requires an FCP API key with write permission (admin-level key; the MCP setup flow's read-only key will 401). Use after verifying a fix deployed or when dismissing a false positive — never to hide an unresolved real finding.
| Parameter | Type | Description |
|---|---|---|
id * | string | The finding id (from fcp_list_security_findings) |
status | string | New status: open, in_progress, remediated, false_positive, accepted_risk, wont_fix |
status_notes | string | Triage note explaining the change (e.g. ticket key, PR, verification evidence) |
fcp_refresh_security_findings
Trigger a manual re-aggregation of security findings for one website or the whole fleet. Requires an FCP API key with write permission (admin-level key; the MCP setup flow's read-only key will 401). Coverage limits: only the Dependabot and WordPress-core sources are live-fetched — a fix deployed since the last fetch clears on this call. Docker Scout, Nuclei, Red Team, and infrastructure rows are re-read from existing scan tables (they clear only after the underlying scanner has run again), and WordPress-plugin, Drupal core/contrib, and PHP-runtime findings belong to their dedicated cron scan…
| Parameter | Type | Description |
|---|---|---|
website_id | number | Refresh only this website (omit for all sites) |
fcp_create_security_tasks
Create Unroo remediation tasks for security findings that have none, grouped by website/repo, and spawn Tasker jobs to fix them. Requires an FCP API key with write permission (admin-level key; the MCP setup flow's read-only key will 401). ⚠️ Creates real tickets and spawns automated fix jobs — filter tightly (severity + website_ids) before calling. Fleet-wide sweeps are long-running and processed sequentially server-side: never run more than one sweep at a time (a retry while one is still running would duplicate tickets for the remaining sites; this tool guards against concurrent sweeps…
| Parameter | Type | Description |
|---|---|---|
assignee_email | string | Optional assignee email for the created tasks |
severity | string | Comma-separated severities to task, e.g. "critical,medium". Default: "critical,high" — explicitly pass severities to include more. |
website_ids | string | Comma-separated website ids to scope to (omit for all sites with un-tasked findings) |
fcp_add_evidence
Register an evidence record in FCP's compliance evidence log for an entity (e.g. entity_type 'other' + a website id, or audit/risk entities). Files stay remote — pass file_url pointing at immutable storage (GitHub evidence tree, S3); FCP stores only the metadata. Requires an FCP API key with write permission (admin-level key; the MCP setup flow's read-only key will 401).
| Parameter | Type | Description |
|---|---|---|
entity_id * | number | Numeric id of the entity (e.g. the website id when entity_type is other) |
entity_type * | string | Entity the evidence belongs to: control_implementation, audit_finding, audit, remediation_task, risk_register, tpsp_attestation, training_record, access_review, exception, or other |
evidence_type * | string | Kind of evidence: screenshot, configuration, log, policy, procedure, report, certificate, contract, email, photo, video, spreadsheet, code, diagram, or other |
title * | string | Short title of the evidence |
collection_date | string | Date the evidence was collected (ISO date) |
description | string | Markdown description / full report text |
file_name | string | Primary file name (e.g. EVIDENCE-INDEX.md) |
file_type | string | MIME type of the primary file (e.g. text/markdown) |
file_url | string | URL to the immutable evidence file or index |
source_reference | string | Cross-references (site ids, PRs, ticket keys) |
source_system | string | System/process that produced the evidence |
fcp_list_evidence
List compliance evidence records for an entity (entity_type + numeric entity_id), newest first. Pairs with fcp_add_evidence.
| Parameter | Type | Description |
|---|---|---|
entity_id * | number | Numeric id of the entity |
entity_type * | string | Entity type to list evidence for (e.g. 'other') |
fcp_ai_safety_status
AI Safety posture (FRUHOST-5207, NIST AI RMF MAP/MEASURE). Per-system provider-policy status for Fruition AI systems (unroo, steldris, flyfruition, fcp): pass / exception / fail / unknown, last validated timestamp, models with DigitalOcean coverage, active exceptions with expiry, latest check results, and open incident count. Backed by the nightly ai-safety-validate cron (OpenRouter DO-only + ZDR routing assertions, live provider check, no-fallback tripwire).
| Parameter | Type | Description |
|---|---|---|
system | string | Narrow to one AI system key (e.g. "unroo", "steldris"). Omit for all systems. |
fcp_list_sites
List websites managed by FCP with optional filters. Returns paginated results with account info.
| Parameter | Type | Description |
|---|---|---|
account_id | number | Filter by account/client ID |
cms | string | Filter by CMS type: WordPress, Drupal, Strapi, Other, Steldris |
environment | string | Filter by environment: production, staging, development |
limit | number | Maximum results to return (default: 50, max: 200) |
offset | number | Offset for pagination (default: 0) |
retired | string | Filter retired sites: "true" (only retired), "all" (include retired), omit for active only |
fcp_search_sites
Search websites by domain name, account name, or URL. Returns matching sites ranked by relevance.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (min 2 characters) - matches against domain, account name, and URL |
limit | number | Maximum results to return (default: 10) |
fcp_get_site
Get detailed information about a specific website including account info, infrastructure details, and lead developer.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to retrieve |
fcp_get_site_health
DEPRECATED for API-key callers (UN-1767): /api/sites/{id}/site-health is session-authenticated only — it 401s with X-API-Key (verified live 2026-10-15) and its composite is now a derived view of health-assessment skill-run findings. Use fcp_get_site_posture (composite) or the canonical evidence feed GET /api/site-audit/evidence/[account_id]; this tool only works from browser-session tokens.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to retrieve health data for |
fcp_get_site_posture
Consolidated Site Posture for a website (UN-1120 §15.3). One call returning a composite overview that fuses infrastructure posture (the 8 audit-sites categories: cicd/security/infra/networking/db/monitoring/tooling/access), accessibility readiness (WCAG deadline, entity tier, compliance score), and findings counts (nuclei + security headers + a11y + SEO/perf). Replaces fanning out to fcp_get_site_health + fcp_get_nuclei_results + fcp_scan_security_headers + ada-compliance. Backed by withAuthOrApiKey so it is reachable from the UnRoo client_audit MCP playbook. For per-slice detail, call fcp_ge…
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to retrieve consolidated site posture for |
fcp_get_local_setup_guide
Generate a local development setup guide for a website. Returns CMS-specific instructions for cloning, DDEV configuration, .env template, database import, and verification steps. Works for Bedrock WordPress, standard WordPress, and Drupal sites.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to generate setup guide for |
fcp_create_site
Create a new website with optional staging environments. Production site is created first, then staging sites are linked to it.
| Parameter | Type | Description |
|---|---|---|
account_id * | number | Account/client ID the site belongs to (required) |
cms * | string | CMS type: WordPress, Drupal, Strapi, Other, Steldris (required). Use Steldris for Fruition managed multi-tenant CMS sites — or use fcp_register_steldris_site for the Steldris-aware path that sets fr… |
domain * | string | Primary domain name, e.g. "example.com" (required) |
fru_hosted | boolean | Whether the site is hosted on FruCloud (default: false) |
git_link | string | URL to the git repository |
git_provider | string | Git provider: GitHub, GitLab, Bitbucket (default: GitHub) |
hosting_provider | string | Hosting provider name. Use FruCloud (AWS) for AWS EKS-hosted sites. |
k8s_cluster | string | Kubernetes cluster name if FruCloud hosted |
k8s_namespace | string | Kubernetes namespace if FruCloud hosted |
staging | array | Optional staging environments to create |
url_full | string | Full URL including protocol (default: https://<domain>) |
fcp_update_site
Update properties of an existing website. Only provided fields are updated.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to update (required) |
backup_enabled | boolean | Updated backup enabled flag |
backup_excluded | boolean | Exclude site from backup eligibility (e.g. ephemeral sites, non-K8s hosting) |
backup_exclusion_reason | string | Reason for backup exclusion (e.g. "Ephemeral captive portal site", "External hosting - not on K8s") |
backup_schedule | string | Updated backup cron schedule |
cloudflare_proxy_status | string | Cloudflare proxy status (e.g. "proxied", "dns_only"). |
cloudflare_zone_id | string | Cloudflare zone ID for the site (set null to clear). |
cms | string | Updated CMS type |
dns_provider | string | DNS provider (e.g. "Cloudflare", "AWS Route 53", "GoDaddy", "Network Solutions"). |
domain | string | Updated domain name |
drupal_core_version | string | Detected Drupal core version. Update when the stored value is stale. |
environment | string | Updated environment: production, staging, development |
fru_hosted | boolean | Updated FruCloud hosting flag |
frucare_site | boolean | Updated FruCare maintenance flag |
fruition_has_dns_access | boolean | Whether Fruition has access to manage this domain's DNS. |
git_link | string | Updated git repository URL |
git_provider | string | Updated git provider |
has_varnish | boolean | Whether the site has a Varnish cache layer (K8s ingress routes to service: varnish). |
hosting_provider | string | Updated hosting provider. Use FruCloud (AWS) for AWS EKS-hosted sites. |
k8s_cluster | string | Updated K8s cluster |
k8s_namespace | string | Updated K8s namespace |
lead_developer | number | Updated lead developer user ID |
multisite_root_id | number | Root site ID for WordPress multisite networks. Set to link as a subsite, null to unlink. |
pvc_mount_path | string | Where the PVC is mounted inside the container (e.g., "/var/www/html/wp-content/uploads"). |
pvc_name | string | PVC name in the K8s namespace (e.g., "public-files-nfs"). Update after RWO→RWX migration so the snapshot scheduler targets the new volume. |
pvc_sidecar_detected | boolean | Whether a backup sidecar was auto-detected on this PVC. |
pvc_size | string | PVC size with unit (e.g., "10Gi"). Update after expanding the volume. |
pvc_storage_class | string | PVC storage class (e.g., "openebs-kernel-nfs", "do-block-storage-xfs-retain"). Update after a storage migration. |
security_headers_enabled | boolean | Whether security headers (CSP, HSTS, X-Frame-Options, etc.) are enabled. |
ssl_certificate_expiry | string | SSL certificate expiry timestamp (ISO 8601). Update when the stored value is stale vs the live cert. |
staging_url | string | Updated staging URL |
uptime_monitor_id | number | UptimeRobot monitor ID for this site. Used by scheduler to pause/resume monitors on scale events. |
url_full | string | Updated full URL |
uses_cloudflare | boolean | Whether the site is proxied through Cloudflare. Set true when live headers show server: cloudflare / cf-ray but the record was false. |
varnish_enabled | boolean | Whether Varnish is enabled for the site. |
wp_core_version | string | Detected WordPress core version (e.g. "6.9.6"). Update when the stored value is stale. |
fcp_delete_site
Soft-delete (retire) a website. Sets retired flag and preserves all data. The optional reason is persisted to website.retired_reason and shown on the site's retired banner and sites-list RETIRED badge, so the retirement is self-documenting. Admin only.
| Parameter | Type | Description |
|---|---|---|
website_id * | number | The website ID to retire (required) |
forward_url | string | URL to forward the domain to after retirement |
reason | string | Why the site is being retired — persisted to website.retired_reason and displayed on the retired banner. Recommended. |
fcp_register_steldris_site
Register a Steldris tenant as a Fruition-hosted FCP website (cms=Steldris, fru_hosted=true, hosting_provider=Steldris, backup_enabled=true). Idempotent upsert keyed on domain — re-registering updates the existing row. This lets the Steldris tenant inherit FCP managed-site controls (backups, Shield WAF, monitoring, scans). See docs/STELDRIS-FCP-INTEGRATION.md.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Primary domain served for this tenant (e.g. "example.com") — the upsert key |
slug * | string | Steldris tenant slug (used for x-tenant header in admin API) |
tenant_id * | string | Steldris Tenant.id (cuid/uuid) — required for cross-reference |
account_id | number | FCP account/client ID to associate the website row with (optional) |
name | string | Human-friendly display name (optional) |
fcp_list_steldris_sites
List all FCP website rows tagged as Steldris tenants (cms=Steldris). The managed Steldris fleet. Read-only.
fcp_steldris_dns_list
List DNS records on the steldris.com zone for Steldris production sites (*.prod.steldris.com CNAMEs). Returns all prod CNAME records pointing to CloudFront distributions.
| Parameter | Type | Description |
|---|---|---|
prefix | string | Filter by name prefix (e.g. "prod" for *.prod.steldris.com records) |
fcp_steldris_dns_add
Add a DNS record on the steldris.com zone. Used for Steldris production site provisioning: opaque slug CNAMEs (e.g. cnk49t.prod.steldris.com → CloudFront) and ACM cert validation CNAMEs. Requires admin.
| Parameter | Type | Description |
|---|---|---|
content * | string | Record target (e.g. "d2kfky3opyvlb6.cloudfront.net") |
name * | string | Record name (e.g. "cnk49t.prod" for cnk49t.prod.steldris.com) |
type * | string | DNS record type (usually CNAME) |
proxied | boolean | Cloudflare proxy status (default: false / DNS only) |
fcp_steldris_dns_delete
Delete a DNS record on the steldris.com zone by record ID. Use fcp_steldris_dns_list to find the record ID first. Requires admin.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | Cloudflare DNS record ID to delete |
fcp_list_clients
List client accounts from the WebOps Client Directory with their WebOps profile (lead, sponsor, contract type, service tier, site count). Use to answer "who manages X", "list all retainer clients", "which clients does Janine lead".
| Parameter | Type | Description |
|---|---|---|
contract_type | string | Filter by contract type: tm, block, tm_or_block, retainer, pro_bono, other |
limit | number | Max rows to return (default 300) |
marketing | boolean | Filter to marketing clients only (true) or non-marketing (false) |
q | string | Search by client/account name (substring match) |
status | string | Profile status: active (default), deactivated, or all |
tier | string | Filter by account service tier: standard, frucare, ada, redteam |
webops_lead | string | Filter by WebOps lead (e.g. "Janine", "Mike") |
fcp_get_client
Get the full WebOps profile for one client account: relationship/commercial data, primary contacts, and all of the account's websites with detected analytics (GA4/GTM/Clarity/Bugherd).
| Parameter | Type | Description |
|---|---|---|
account_id * | number | The account ID (required) |
fcp_update_client_profile
Update business/relationship fields on a client's WebOps profile. Technical facts (CMS, hosting, FruCare) are NOT editable here -- FCP detects/owns those. Only provided fields change.
| Parameter | Type | Description |
|---|---|---|
account_id * | number | The account ID to update (required) |
client_assets_url | string | Client assets URL |
client_goals | string | Client goals & focus areas |
client_time_zone | string | Client time zone |
comms_platform | string | Client collaboration platform (Google / MS Teams) |
contract_notes | string | Contract notes |
contract_rate | string | Freeform rate (e.g. "$155/hour") |
contract_type | string | tm, block, tm_or_block, retainer, pro_bono, none, other |
general_notes | string | General notes |
is_marketing_client | boolean | Whether this is a marketing client |
last_client_contact | string | Last contact note |
looker_studio_url | string | Looker Studio report URL |
mark_reviewed | boolean | Set true to stamp last_reviewed_at = now (confirms the profile is accurate) |
meeting_attendees | string | Meeting attendees |
meeting_cadence | string | Meeting cadence |
relationship_sponsor | string | Relationship sponsor |
shared_drive_url | string | Shared drive URL |
status | string | active or deactivated |
unroo_board_url | string | Unroo board URL |
webops_lead | string | Canonical WebOps lead |
what_you_need_to_know | string | Key things to know about this client |
fcp_shield_list_domains
List all domains protected by Fruition Shield WAF. Filter by status (pending_dns, pending_cert, active, suspended) or account_id.
| Parameter | Type | Description |
|---|---|---|
account_id | number | Filter by account/client ID |
status | string | Filter by status: pending_dns, pending_cert, cert_validating, active, suspended, removed |
fcp_shield_add_domain
Add a domain to Fruition Shield WAF protection. Custom mode (default) fronts an origin server via the shared distribution. S3 mode (origin_type="s3") provisions a DEDICATED CloudFront distribution + OAC over a private S3 bucket (Steldris static hosting) and returns its distribution id + CloudFront domain. Returns DNS records to add at the registrar.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain to protect (e.g., www.butterflies.org) |
account_id | number | Associated account/client ID |
cache_profile | string | Cache profile: standard, aggressive, minimal, none (default: standard; s3 defaults to aggressive) |
notes | string | Notes about this domain |
origin_host | string | Origin server IP or hostname (e.g., 146.190.2.169 for K8s prod). Required for origin_type=custom; ignored for s3. |
origin_port | number | Origin port (default: 443) |
origin_protocol | string | Origin protocol: http or https (default: https) |
origin_type | string | Origin mode: custom (shared distribution + origin server, default) or s3 (dedicated distribution + OAC over a private S3 bucket). |
s3_bucket | string | S3 artifacts bucket (origin_type=s3, e.g. steldris-sites-prod). Required for s3 mode. |
s3_origin_path | string | CloudFront OriginPath — the per-tenant key prefix (origin_type=s3, e.g. /acme). |
s3_region | string | S3 bucket region (origin_type=s3, e.g. us-east-1). Required for s3 mode. |
website_id | number | Link to existing FCP website ID |
fcp_shield_get_domain
Get Shield domain details including onboarding status, DNS records needed, and WAF configuration.
| Parameter | Type | Description |
|---|---|---|
domain_id * | number | The Shield domain ID |
fcp_shield_update_domain
Update Shield domain configuration (origin, cache profile, WAF rules, geo-blocking, rate limiting).
| Parameter | Type | Description |
|---|---|---|
domain_id * | number | The Shield domain ID |
bot_control_enabled | boolean | Enable AWS Bot Control (+$10/mo) |
cache_no_cache_paths | array | Path patterns to never cache (e.g., ["/api/*", "/wp-admin/*", "/cart/*"]) |
cache_profile | string | Cache profile: standard, aggressive, minimal, none |
enabled | boolean | Enable/disable domain |
geo_block_countries | array | Country codes to block (e.g., ["CN","RU","KP","IR","BY"]) |
notes | string | Updated notes |
origin_host | string | Updated origin host |
origin_port | number | Updated origin port |
rate_limit_tier | string | Rate limit: standard, strict, relaxed |
waf_profile | string | WAF profile: standard, premium, custom |
fcp_shield_remove_domain
Remove a domain from Fruition Shield protection. Removes from CloudFront, DynamoDB, and deletes ACM certificate.
| Parameter | Type | Description |
|---|---|---|
domain_id * | number | The Shield domain ID to remove |
fcp_shield_get_metrics
Get aggregate Fruition Shield WAF metrics: total domains, requests, blocks, block rate, and infrastructure health.
fcp_cf_list_accounts
List Cloudflare accounts accessible through FCP's configured credentials. Use this first to discover account IDs before listing zones. Read-only.
fcp_cf_list_zones
List Cloudflare zones (domains) across the accounts FCP can access. Filter by account_id or exact zone name. Returns zone IDs and account IDs so similarly named zones are unambiguous. Read-only.
| Parameter | Type | Description |
|---|---|---|
account_id | string | Cloudflare account ID (from fcp_cf_list_accounts) to scope the listing to one account |
name | string | Exact zone name to look up (e.g. example.com) — use to find which account owns a domain |
page | number | Explicit page number (overrides auto-pagination) |
paginate | boolean | Follow pagination up to 10 pages (default true). Set false for a single page. |
per_page | number | Results per page (max 50) |
fcp_cf_list_dns_records
List DNS records for a Cloudflare zone, filtered by record name, type (A/AAAA/CNAME/MX/TXT/…), or content substring. Requires the zone ID from fcp_cf_list_zones. Read-only.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID (from fcp_cf_list_zones) |
content | string | Case-insensitive substring filter on record content (e.g. an IP or a hostname) |
name | string | Filter by exact record name (e.g. www.example.com or sub.example.com) |
page | number | Explicit page number (overrides auto-pagination) |
paginate | boolean | Follow pagination up to 10 pages (default true). Set false for a single page. |
per_page | number | Results per page (max 100) |
type | string | Filter by record type (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, ...) |
fcp_cf_get_firewall
Inspect a Cloudflare zone's firewall configuration: WAF custom rules, rate-limit rules, managed rulesets, legacy firewall rules, and legacy rate limits. Sections the token/plan cannot read are reported in `unavailable` (partial results, not an error). Read-only.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID (from fcp_cf_list_zones) |
fcp_cf_get_zone_settings
Inspect a Cloudflare zone's settings: SSL mode, security level, cache level, browser TTL, development mode, active page rules, cache rules, and redirect rules — the surfaces that explain connectivity, access, and caching behavior. Read-only.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID (from fcp_cf_list_zones) |
fcp_cf_get_security_events
Retrieve recent Cloudflare security events (blocked / challenge / allow action+source counts) and daily request analytics for a zone, where the plan supports them. Plan-gated datasets are reported in `datasets_unavailable` — configuration findings and event-backed conclusions stay distinguishable. Read-only.
| Parameter | Type | Description |
|---|---|---|
zone_id * | string | Cloudflare zone ID (from fcp_cf_list_zones) |
hours | number | Lookback window in hours (default 24, max 168) |
include_analytics | boolean | Include daily request analytics alongside security events (default true) |
limit | number | Max top action/source groups returned (default 20, max 100) |
fcp_trusted_ip_list_ranges
List trusted IP ranges (CIDR entries). Scope to a group by id or slug, or omit group to list entries for every group (each tagged with group_slug). By default only approved, non-expired entries are returned.
| Parameter | Type | Description |
|---|---|---|
group | string | Group id or slug to scope to (optional; omit for all groups) |
include_expired | boolean | Include entries past their expires_at (default false) |
include_pending | boolean | Include entries awaiting approval (default false) |
fcp_trusted_ip_add_range
Add a CIDR to a trusted IP group. If the CIDR overlaps an existing entry the request is rejected with code=overlap unless override_reason (>=10 chars) is supplied to force-insert.
| Parameter | Type | Description |
|---|---|---|
cidr * | string | CIDR or bare IP (e.g. 73.241.16.0/24 or 73.241.16.5) |
group_id * | number | Target group id |
expires_at | string | ISO-8601 expiry timestamp, or null for permanent |
label | string | Human label for the range |
override_reason | string | Reason (>=10 chars) to force-insert past an overlap |
purpose | string | Structured purpose |
ticket_ref | string | Associated ticket reference |
fcp_trusted_ip_update_range
Update mutable fields of a trusted IP entry (label, purpose, ticket_ref, expires_at, approval_state). The CIDR itself is immutable; remove and re-add to change it.
| Parameter | Type | Description |
|---|---|---|
id * | number | Entry id to update |
approval_state | string | New approval state |
expires_at | string | New ISO-8601 expiry, or null for permanent |
label | string | New label |
purpose | string | New purpose |
ticket_ref | string | New ticket reference |
fcp_trusted_ip_remove_range
Remove a trusted IP entry by id. The next sync run withdraws the CIDR from any live ingress/WAF targets the group propagates to.
| Parameter | Type | Description |
|---|---|---|
id * | number | Entry id to remove |
fcp_trusted_ip_export
Export approved, non-expired CIDRs for a group (or all groups) in a consumable form. format=plain (default) joins CIDRs with separator (use separator=comma for an ingress-nginx whitelist-source-range value); format=json and format=yaml are also supported.
| Parameter | Type | Description |
|---|---|---|
format | string | Output format (default plain) |
group | string | Group id or slug to scope to (optional; omit for all groups) |
purpose | string | Optional purpose filter |
separator | string | Separator for plain format (default newline) |
fcp_fleet_readiness_list
Fleet-wide v5 migration scoreboard: one row per repo (the migration unit) with mappingId, v5MigrationStatus (pending/queued/in_progress/blocked/skipped/completed), containerArchitecture (v2/v5), blockers, PR url, the linked site, and the live v5_conformance check (v5CheckStatus/Summary/Details). Includes rollup counts. By default hides repos on non-FruCloud hosting; pass showAll=true to include them.
| Parameter | Type | Description |
|---|---|---|
showAll | boolean | Include repos linked to non-FruCloud sites (Vercel/Pantheon/Kinsta/etc.). Default false. |
fcp_fleet_readiness_get
Get one repo's v5 migration readiness by mappingId (the github_repo_mappings row id from fcp_fleet_readiness_list). Returns the same per-repo shape as the list, or an error if no mapping matches.
| Parameter | Type | Description |
|---|---|---|
mappingId * | number | github_repo_mappings.id (from fcp_fleet_readiness_list) |
fcp_fleet_readiness_set
Update a repo's v5 migration tracking state (audit mode — does NOT open PRs or spawn jobs). Wraps POST /api/admin/fleet-readiness/v5-migrate. action=queue flags the repo for migration AND creates the FRUHOST v5 conversion Unroo task (idempotent). Transitions: queue/unqueue (pending<->queued), skip (opt-out), block (stuck; pass notes as the blocker), unblock (->queued), complete (->completed). Idempotent.
| Parameter | Type | Description |
|---|---|---|
action * | string | State transition to apply |
mappingId * | number | github_repo_mappings.id (from fcp_fleet_readiness_list) |
notes | string | Blocker text, recorded when action=block |
fcp_fleet_readiness_stats
Fleet-wide v5 readiness bucket counts for the scoreboard header: totalSites, infra-readiness findings by status (pass/warn/fail/unknown/n_a), v5 migration adoption (pending/in_progress/completed/skipped/blocked + v2/v5/unknown arch counts), and the most recent scan run metadata.
fcp_smoke_list_configs
List every site enrolled in smoke testing (feature_key=smoke_test, enabled) with its resolved per-site config and k8s target. Fleet view. Wraps GET /api/smoke-testing/configs.
fcp_smoke_get_config
Get one site's smoke-test config (stored config merged with defaults). Wraps GET /api/smoke-testing/configs/{site_id}.
| Parameter | Type | Description |
|---|---|---|
site_id * | number | Website id (website.id). |
fcp_smoke_enroll
Enroll a site in smoke testing (sets the smoke_test feature enabled) and seed its config. Wraps PUT /api/smoke-testing/configs/{site_id} with enabled:true. The config object is optional; omitted fields use defaults.
| Parameter | Type | Description |
|---|---|---|
site_id * | number | Website id (website.id). |
config | object | Smoke-test config object. Shape: { canonical_host, redirect_pairs:[{from,to}], key_pages:[], login_path, creds_secret_ref, crawl:{enabled,max_pages,exclude:[]}, expected_text:[], error_patterns:[], ta… |
fcp_smoke_set_config
Update a site's smoke-test config (does not change the enabled flag). Wraps PUT /api/smoke-testing/configs/{site_id}.
| Parameter | Type | Description |
|---|---|---|
config * | object | Smoke-test config object. Shape: { canonical_host, redirect_pairs:[{from,to}], key_pages:[], login_path, creds_secret_ref, crawl:{enabled,max_pages,exclude:[]}, expected_text:[], error_patterns:[], ta… |
site_id * | number | Website id (website.id). |
fcp_smoke_run
Queue a manual smoke-test run for a site (an external runner pod picks it up and reports results). Wraps POST /api/smoke-testing/runs with trigger=manual. Returns the queued run incl. run_id.
| Parameter | Type | Description |
|---|---|---|
site_id * | number | Website id (website.id) to smoke-test. |
fcp_smoke_list_runs
List smoke-test runs, newest first, with summary counts (pages/redirects passed, critical/warning, status). Wraps GET /api/smoke-testing/runs. Filter by site, status, and limit.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max runs to return. |
site_id | number | Filter to one website id (website.id). |
status | string | Filter by run status. |
fcp_smoke_get_results
Get one smoke-test run with its per-check results (redirect/page/login/crawl/render/media), status codes, expected vs actual, screenshots, and errors. Wraps GET /api/smoke-testing/runs/{run_id}.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | The run_id (uuid) from fcp_smoke_run / fcp_smoke_list_runs. |
fcp_list_freezes
List Tasker auto-merge freezes. Returns frozen_repos (active now), scheduled_repos (future windows), and available_repos (every repo you may freeze, with project keys + domains). A frozen repo has its release/security PRs held from the 6-7 AM MT deployment window. Call this before fcp_freeze_repo to pick a valid repo and avoid duplicate freezes.
fcp_freeze_repo
Schedule a Tasker auto-merge freeze for a repo (blocks release-PR auto-promotion + security auto-merge while active). Provide either days (1-90) or an explicit ends_at; starts_at defaults to now and cannot be backdated >5 min. The repo must exist in github_repo_mappings (else 404 — use fcp_list_freezes available_repos). Appends a new window each call.
| Parameter | Type | Description |
|---|---|---|
reason * | string | Why the repo is being frozen (required) |
repo * | string | owner/repo, e.g. "fruition/metroairport" |
days | number | Freeze length in days (1-90); alternative to ends_at |
ends_at | string | ISO-8601 end (alternative to days) |
starts_at | string | ISO-8601 start (optional; defaults to now, no backdating >5 min) |
fcp_update_freeze
Edit an existing freeze by id (from fcp_list_freezes). Change the window (starts_at / ends_at, or days as a shorthand for ends_at) and/or the reason. Window rules match fcp_freeze_repo (<=90 days, no backdating >5 min).
| Parameter | Type | Description |
|---|---|---|
id * | number | Freeze id to edit |
days | number | New length in days (recomputes ends_at from starts_at) |
ends_at | string | New ISO-8601 end |
reason | string | New reason |
starts_at | string | New ISO-8601 start |
fcp_unfreeze
Remove a Tasker freeze. Pass exactly one of: id (remove that single freeze) or repo (remove ALL active + scheduled freezes for that owner/repo). Lifting a freeze lets a held deploy through, so this is a super_admin action.
| Parameter | Type | Description |
|---|---|---|
id | number | Freeze id to remove (single) |
repo | string | owner/repo to clear all active+scheduled freezes for |
fcp_dns_current
Get the current live DNS records (A / CNAME) for a site via a fresh lookup. Use before/after a migration or DNS cutover to confirm where a domain resolves now.
| Parameter | Type | Description |
|---|---|---|
websiteId * | number | FCP website id |
fcp_dns_history
Get the DNS snapshot history for a site, including diffs where records changed. Optionally filter by recordType (A|CNAME), limit, and since (ISO date).
| Parameter | Type | Description |
|---|---|---|
websiteId * | number | FCP website id |
limit | number | Max number of snapshots to return |
recordType | string | Filter by record type |
since | string | ISO date; only snapshots on/after this time |
fcp_list_deployments
List deployments (GitHub Actions workflow runs) across all sites, with overall stats. Filter by websiteIds, branches, statuses, conclusions, events, actor, date range; paginate and sort.
| Parameter | Type | Description |
|---|---|---|
actor | string | Filter by GitHub actor |
branches | string | Comma-separated branch names |
conclusions | string | Comma-separated conclusions (success|failure|...) |
endDate | string | ISO date upper bound |
events | string | Comma-separated events; 'all' to include PR builds |
limit | number | Page size (default 50) |
offset | number | Offset (default 0) |
sortBy | string | Sort field |
sortOrder | string | Sort direction (default desc) |
startDate | string | ISO date lower bound |
statuses | string | Comma-separated statuses |
websiteIds | string | Comma-separated website ids |
fcp_get_deployment_status
Get real-time Kubernetes deployment + pod health for a site (replicas, pod status, image, conditions, latest GitHub run). Use to confirm a deploy rolled out cleanly.
| Parameter | Type | Description |
|---|---|---|
siteId * | number | FCP site (website) id |
fcp_purge_cache
Purge a site cache across configured edge layers (Varnish + DynamoDB + CloudFront + Cloudflare). Defaults to purging everything; pass paths/urls + purgeType for a targeted purge, languages for translation cache, and warmCache/verifyAfterPurge to follow up. Edge infrastructure must be configured for the site.
| Parameter | Type | Description |
|---|---|---|
siteId * | number | FCP site (website) id |
languages | array | Language codes for translation cache |
paths | array | Paths to purge (default ['/*']) |
purgeType | string | Which layers/scope to purge (default 'all') |
urls | array | Specific full URLs to purge (urls/single) |
verifyAfterPurge | boolean | Verify the site after purge |
warmCache | boolean | Warm cache after a successful purge |
warmPages | array | Pages to warm if warmCache=true |
fcp_list_maintenance_windows
List recurring maintenance windows. With no args lists all windows; pass websiteId to get the windows that apply to a specific site (direct + account-scoped, with next occurrence). Also filter by accountId, k8sCluster, enabledOnly.
| Parameter | Type | Description |
|---|---|---|
accountId | number | Filter by account id (list view) |
enabledOnly | boolean | Only enabled windows (list view) |
k8sCluster | string | Filter by k8s cluster (list view) |
websiteId | number | Site id — switches to the by-site view (site + account windows) |
fcp_create_maintenance_window
Create a recurring maintenance window. Requires name, recurrence_type, start_time, end_time, and a scope (one of website_id, account_id, k8s_cluster). day_of_week is required for weekly/biweekly/bimonthly/monthly. timezone defaults to America/Denver.
| Parameter | Type | Description |
|---|---|---|
end_time * | string | End time HH:MM[:SS] |
name * | string | Window name |
recurrence_type * | string | Recurrence type |
start_time * | string | Start time HH:MM[:SS] |
account_id | number | Scope: account id |
auto_create_events | boolean | Auto-create events for occurrences |
auto_create_lead_time | number | Hours of lead time for auto-created events (default 24) |
created_by | string | Creator identifier |
cron_expression | string | Cron expression for custom recurrence |
day_of_week | number | Day of week 0=Sun..6=Sat (required for weekly/biweekly/bimonthly/monthly) |
default_severity | string | Default event severity (default 'low') |
description | string | Optional description |
enabled | boolean | Enabled (default true) |
k8s_cluster | string | Scope: k8s cluster (INFRA-wide) |
timezone | string | IANA tz (default 'America/Denver') |
website_id | number | Scope: site id |
week_of_month | number | Week of month for monthly |
weeks_of_month | array | Weeks of month for bimonthly (e.g. [1,3]) |
fcp_db_query
Run a READ-ONLY SQL query against a site's read-only DB replica. Provide either site (numeric id) or domain, plus a single SELECT/SHOW/EXPLAIN/DESCRIBE statement. Writes/DDL/multi-statement are rejected. Rows are capped (default 200). Use to inspect site data without cluster access.
| Parameter | Type | Description |
|---|---|---|
sql * | string | Single read-only statement (SELECT/SHOW/EXPLAIN/DESCRIBE) |
domain | string | Site domain (provide site OR domain) |
limit | number | Max rows to return (default 200, max 1000) |
site | number | Site id (provide site OR domain) |
fcp_cluster_http
Fetch an in-cluster Kubernetes Service URL through FCP (devs are firewalled off the cluster). Builds http://<service>.<namespace>:<port>/<path> and fetches it from INSIDE the cluster THIS FCP pod runs on (FCP_SELF_CLUSTER: aws-usw2-staging on the primary, aws-usw2-dr on the DR-failover pod) — any other cluster value is rejected with a 400 rather than silently returning wrong-cluster data. Only GET/HEAD allowed; response body is size-capped. Use to hit health/metrics/internal endpoints on FCP's own cluster.
| Parameter | Type | Description |
|---|---|---|
cluster * | string | Cluster the fetch runs in — must be the cluster THIS FCP pod runs on (FCP_SELF_CLUSTER: aws-usw2-staging primary, aws-usw2-dr on failover). Other values are rejected: the fetch cannot reach other cl… |
namespace * | string | Kubernetes namespace |
port * | number | Service port |
service * | string | Kubernetes Service name |
method | string | HTTP method (default GET) |
path | string | Request path (default /) |
fcp_list_certificates
List TLS certificates across the fleet (cert-monitor). Filter by status (valid|warning|critical|expired), expiringWithinDays, cluster, namespace, certType; sort and paginate. Use to find certs about to expire before a migration/cutover.
| Parameter | Type | Description |
|---|---|---|
certType | string | Filter by certificate type |
cluster | string | Filter by k8s cluster |
expiringWithinDays | number | Only certs expiring within N days |
limit | number | Page size |
namespace | string | Filter by namespace |
page | number | Page number (1-based) |
sortBy | string | name | cluster | namespace | certType | status | expiry | subjectCn |
sortDir | string | Sort direction (default asc) |
status | string | valid | warning | critical | expired | unknown |
fcp_get_certificate
Get a single certificate by id, including issuer, SANs, expiry, and history.
| Parameter | Type | Description |
|---|---|---|
certId * | string | Certificate id |
fcp_scan_certificates
Trigger a cert-monitor scan run across clusters to refresh certificate inventory and expiry. Pass dryRun=true to compute without persisting.
| Parameter | Type | Description |
|---|---|---|
dryRun | boolean | Compute without writing results (default false) |
fcp_spawn_task_job
Spawn a Tasker automated code-change job for an Unroo task (Claude Code in K8s -> PR). Requires task_id, task_title, project_key. Rejects if a job is already in progress for the task.
| Parameter | Type | Description |
|---|---|---|
project_key * | string | Project key (resolves the repo) |
task_id * | string | Unroo task id |
task_title * | string | Task title |
labels | array | Optional labels |
task_description | string | Optional task description / instructions |
fcp_get_job_status
Get Tasker job status. Pass job_id or task_id for a specific job; omit both for all jobs + stats.
| Parameter | Type | Description |
|---|---|---|
job_id | string | Tasker job id |
task_id | string | Unroo task id (alternative to job_id) |
fcp_list_jobs
List the current Tasker job queue. Pass refresh=true to re-sync statuses from K8s first.
| Parameter | Type | Description |
|---|---|---|
refresh | boolean | Re-sync from K8s before listing (default false) |
fcp_approve_job
Approve the merge for a Tasker job that requires human sign-off (e.g. HIGH/CRITICAL security PRs). The job still respects its deploy window unless overridden.
| Parameter | Type | Description |
|---|---|---|
id * | string | Tasker job id |
fcp_override_merge_window
Force-allow a Tasker auto-merge OUTSIDE its configured deploy window (super_admin). action=set grants an override for ttl_minutes (reason required); action=clear cancels it. Bypasses the safety gate — use deliberately.
| Parameter | Type | Description |
|---|---|---|
action * | string | set = grant override, clear = cancel |
id * | string | Tasker job id |
reason | string | Justification (required when action=set) |
ttl_minutes | number | How long the override lasts (when action=set) |
fcp_cluster_pods
List pods in a namespace (read-only cluster gateway for firewalled devs). Target a namespace by EITHER a site ("site"/"domain") OR an explicit "cluster"+"namespace" pair. Optional labelSelector.
| Parameter | Type | Description |
|---|---|---|
cluster | string | Explicit cluster name (with namespace) |
domain | string | Alias for site: a domain to resolve |
labelSelector | string | Optional label selector (e.g. app=web) |
namespace | string | Explicit namespace (with cluster) |
site | string | Website id or domain (resolves cluster+namespace) |
fcp_cluster_logs
Tail logs (last 1000 lines) for a pod (read-only cluster gateway). Requires pod. Target a namespace by EITHER a site ("site"/"domain") OR an explicit "cluster"+"namespace" pair.
| Parameter | Type | Description |
|---|---|---|
pod * | string | Pod name to read logs from |
cluster | string | Explicit cluster name (with namespace) |
domain | string | Alias for site: a domain to resolve |
namespace | string | Explicit namespace (with cluster) |
site | string | Website id or domain (resolves cluster+namespace) |
fcp_cluster_ingress
List ingresses in a namespace (read-only cluster gateway). Target a namespace by EITHER a site ("site"/"domain") OR an explicit "cluster"+"namespace" pair.
| Parameter | Type | Description |
|---|---|---|
cluster | string | Explicit cluster name (with namespace) |
domain | string | Alias for site: a domain to resolve |
namespace | string | Explicit namespace (with cluster) |
site | string | Website id or domain (resolves cluster+namespace) |
fcp_cluster_deployments
List deployments in a namespace (read-only cluster gateway). Target a namespace by EITHER a site ("site"/"domain") OR an explicit "cluster"+"namespace" pair.
| Parameter | Type | Description |
|---|---|---|
cluster | string | Explicit cluster name (with namespace) |
domain | string | Alias for site: a domain to resolve |
namespace | string | Explicit namespace (with cluster) |
site | string | Website id or domain (resolves cluster+namespace) |
fcp_cluster_events
List namespace events sorted by lastTimestamp (read-only cluster gateway). Target a namespace by EITHER a site ("site"/"domain") OR an explicit "cluster"+"namespace" pair.
| Parameter | Type | Description |
|---|---|---|
cluster | string | Explicit cluster name (with namespace) |
domain | string | Alias for site: a domain to resolve |
namespace | string | Explicit namespace (with cluster) |
site | string | Website id or domain (resolves cluster+namespace) |
fcp_cluster_describe
kubectl describe <kind> <name> in a namespace (read-only cluster gateway). Requires kind + name. Target a namespace by EITHER a site ("site"/"domain") OR an explicit "cluster"+"namespace" pair.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Resource kind (e.g. pod, deployment, ingress) |
name * | string | Resource name to describe |
cluster | string | Explicit cluster name (with namespace) |
domain | string | Alias for site: a domain to resolve |
namespace | string | Explicit namespace (with cluster) |
site | string | Website id or domain (resolves cluster+namespace) |
fcp_observability_logs
Query application/ingress logs from a cluster's Loki. Preferred first step for incident diagnosis — works for ALL clusters (gcp-gov, sfo3-prod-shared, aws-usw2-staging) and does NOT depend on the kubectl cluster gateway. Target by site/domain (auto-resolves the cluster) or explicit cluster name. Returns timestamped, level-classified log lines.
| Parameter | Type | Description |
|---|---|---|
app | string | App label filter (e.g. web, varnish, ingress-nginx) |
cluster | string | Explicit cluster name (e.g. gcp-gov, sfo3-prod-shared, aws-usw2-staging) |
domain | string | Alias for site: a domain to resolve |
end | string | End time (ISO 8601) |
exclude | string | Exclude log lines matching this text |
levels | string | Comma-separated levels to include: error,warn,info,debug |
limit | number | Max log lines to return (default 500) |
namespace | string | Kubernetes namespace to query (e.g. coag-prod-v5). Required unless raw LogQL "query" is given. |
pod | string | Specific pod name filter (takes precedence over app) |
query | string | Raw LogQL query (overrides namespace/app/pod when given), e.g. {namespace="coag-prod-v5"} |= "fatal" |
search | string | Text filter applied to log lines |
site | string | Website id or domain (e.g. coag.gov) — resolves the cluster automatically |
start | string | Start time (ISO 8601) — with end, overrides timeRange |
timeRange | string | Preset: 15m, 1h, 6h, 24h, 7d (default 1h). Ignored when start+end given. |
fcp_observability_metrics
Run a PromQL query (range or instant) against a cluster's Prometheus. Works for ALL clusters — pass site/domain to auto-resolve the cluster, or an explicit cluster name. Use for request/error rates, CPU/memory, site-monitor up/down metrics.
| Parameter | Type | Description |
|---|---|---|
query * | string | PromQL query, e.g. sum(rate(nginx_ingress_controller_requests{exported_namespace="coag-prod-v5", status=~"5.."}[5m])) by (status) |
cluster | string | Explicit cluster name (e.g. gcp-gov, sfo3-prod-shared) |
domain | string | Alias for site: a domain to resolve |
end | string | End time (ISO 8601) |
site | string | Website id or domain — resolves the cluster from website.k8s_cluster |
start | string | Start time (ISO 8601) — with end, overrides timeRange |
step | string | Step interval (e.g. 15s, 1m). Auto-computed when omitted. |
timeRange | string | Preset: 15m, 1h, 6h, 24h, 7d (default 1h) |
type | string | Query type: range (default) or instant |
fcp_observability_health
Check Loki/Prometheus connectivity for a cluster (or FCP's own cluster when no target is given). The response lists every cluster with observability configured — call this first to discover valid cluster names and confirm the endpoints are reachable.
| Parameter | Type | Description |
|---|---|---|
cluster | string | Explicit cluster name (e.g. gcp-gov) |
domain | string | Alias for site |
site | string | Website id or domain — checks that site's cluster |
fcp_restart_varnish
Safe-edit: restart a site's varnish deployment (rollout restart). Target the site by "site" (website id or domain) or "domain". The varnish deployment is resolved structurally from the site's stack — you do NOT (and cannot) specify a deployment name or command. Operator tier; admin-gated server-side. Honors the cluster-gateway kill-switch.
| Parameter | Type | Description |
|---|---|---|
domain | string | Alias for site: a domain to resolve |
site | string | Website id or domain (resolves cluster+namespace+stack) |
fcp_rollback_web
Safe-edit: roll back a site's web (nginx + php-fpm) deployment (rollout undo), optionally to a specific revision. Target the site by "site" (website id or domain) or "domain"; optional "to_revision" (positive integer). The web deployment is resolved structurally from the site's stack — you do NOT (and cannot) specify a deployment name or command. Operator tier; admin-gated server-side. Honors the cluster-gateway kill-switch.
| Parameter | Type | Description |
|---|---|---|
domain | string | Alias for site: a domain to resolve |
site | string | Website id or domain (resolves cluster+namespace+stack) |
to_revision | number | Optional revision to roll back to (positive integer) |
fcp_tunnel_grant
Mint a short-lived, scoped tunnel token for a site's in-cluster service. Target the site by "site" (website id or domain) or "domain"; pick a logical "service" kind (web | varnish | php-fpm | db). The real Service:port (or read-only DB replica for db) is resolved server-side — you do NOT specify a deployment, host, or port. Returns a signed JWT (max 4h TTL), its expiry, and the exact fcp-tunnel command to run. NOTE: the fcp-tunnel CLI + the relay (tunnel-service) are NOT shipped yet; this only mints the token. Developer tier; cluster-gateway gated server-side. Honors the kill-switch.
| Parameter | Type | Description |
|---|---|---|
service * | string | Logical service kind to tunnel to (db tunnels to the read-only replica) |
domain | string | Alias for site: a domain to resolve |
port | number | Reserved; the port is always resolved server-side |
site | string | Website id or domain (resolves cluster+namespace) |
ttl_seconds | number | Requested token lifetime in seconds (capped at 4h) |
fcp_backup_list_sites
List websites with backups enabled. Returns site details including domain, cluster, namespace, and backup schedule.
fcp_backup_get_config
Get S3 backup configuration. Admin only. Returns bucket, region, endpoint info (credentials are excluded).
fcp_backup_list_eligible
List sites eligible for backup but not yet enabled. Returns sites grouped by environment (production, staging, development).
fcp_backup_enable
Enable backup for a site and trigger the first backup automatically.
| Parameter | Type | Description |
|---|---|---|
siteId * | number | The website ID to enable backups for |
fcp_backup_trigger
Manually trigger a backup for a website. Admin only. Creates a queued backup job.
| Parameter | Type | Description |
|---|---|---|
websiteId * | number | The website ID to backup |
triggerType | string | Trigger type (default: manual) |
fcp_backup_check_trigger
Check if a backup can be triggered for a website. Returns hosting status, K8s config, enabled status, and queue length.
| Parameter | Type | Description |
|---|---|---|
websiteId * | number | The website ID to check |
fcp_backup_list_backups
List backup history for a site. Returns backup jobs with status, size, duration, and location.
| Parameter | Type | Description |
|---|---|---|
siteId * | number | The website ID (will be formatted as site-{id} for the API) |
fcp_backup_get_status
Get backup job status. Provide backupId for a specific job, or websiteId for backup history of a site.
| Parameter | Type | Description |
|---|---|---|
backupId | string | Specific backup job ID to get status for |
websiteId | number | Website ID to get backup history for |
fcp_backup_download
Generate a presigned S3 download URL for a completed backup. URL expires in 1 hour.
| Parameter | Type | Description |
|---|---|---|
backupId * | string | The backup ID to download |
fcp_backup_download_prepared
Prepare a backup download with optional sanitization. For production backups, sanitization is the default — this returns a jobId to poll via fcp_backup_sanitize_status. For non-production backups, returns a presigned download URL directly. Sanitized downloads are available to operator+ roles; raw (sanitize=false) downloads require admin and are rejected for non-admin callers by the REST layer.
| Parameter | Type | Description |
|---|---|---|
backupId * | string | The backup ID to download |
downloadType * | string | Type of download (e.g., database, files) |
siteId * | string | The site ID (e.g., site-123) |
format | string | Download format (optional) |
sanitize | boolean | Whether to sanitize production data. Defaults to true for production environments. Set to false to skip sanitization (non-production only). |
fcp_backup_sanitize_status
Check the status of a database sanitization job. Poll this after fcp_backup_download_prepared returns a jobId. When status is "completed", the response includes a presigned downloadUrl for the sanitized backup.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | The sanitization job ID returned by fcp_backup_download_prepared |
fcp_media_snapshots
List the restic media snapshots available for a JuiceFS-backed (v5.5) site (newest first) so you can pick a point in time for fcp_media_export or fcp_media_sync. Optionally pass stats=<snapshotId> to include the restore size for one snapshot.
| Parameter | Type | Description |
|---|---|---|
site * | number | string | Website ID or domain (e.g. 493 or projectcure-v55.cloud.fruitionqa.com) |
stats | string | Optional restic snapshot id (8-64 hex) to include restore-size stats for |
fcp_media_export
Export a downloadable tar.gz of a JuiceFS site uploads from its restic backup: a Job streams restic dump into the site backup bucket and presigns it. Optional subpath (e.g. 2025/09), snapshot id (default latest), fresh=true to snapshot the live volume first, expires_hours for the presigned URL (1-168, default 24). Returns a job name + status path; poll fcp_media_export_status until status is succeeded to get downloadUrl.
| Parameter | Type | Description |
|---|---|---|
site * | number | string | Website ID or domain |
expires_hours | number | Presigned URL lifetime in hours, 1-168 (default 24) |
fresh | boolean | Take a new restic snapshot of the live volume first (export reflects now) |
snapshot | string | restic snapshot id (8-64 hex) or "latest" (default) |
subpath | string | Optional path under uploads/ (whole uploads dir when omitted) |
fcp_media_export_status
Check the status of a JuiceFS media export started with fcp_media_export. When status is "succeeded" the response carries the presigned downloadUrl, snapshot id/time, and byte counts. Save the URL: the export Job is garbage-collected after 6h but the URL stays valid for the requested TTL.
| Parameter | Type | Description |
|---|---|---|
jobName * | string | The jfs-media-export-* job name returned by fcp_media_export |
site * | number | string | Website ID or domain (same site the export was started for) |
fcp_media_sync
Prod-to-staging media sync for JuiceFS-backed (v5.5) sites: restores the production site restic snapshot into the staging site uploads JuiceFS PVC (point-in-time, read-only on the source), fixes ownership to uid 1001, and purges the staging microcache on success. Set dry_run=true to see what would be written. Poll fcp_media_sync_status for progress.
| Parameter | Type | Description |
|---|---|---|
source_site * | number | string | Production website ID or domain (the restic source) |
target_site * | number | string | Staging website ID or domain (the JuiceFS PVC to restore into) |
dry_run | boolean | Report what would be restored without touching the PVC |
snapshot | string | restic snapshot id (8-64 hex) or "latest" (default) |
subpath | string | Optional path under uploads/ to sync (whole uploads when omitted) |
wipe | boolean | Empty the target uploads dir before restoring (mirror prod exactly). Default false (overwrite in place). |
fcp_media_sync_status
Check the status of a prod-to-staging JuiceFS media sync started with fcp_media_sync. status "succeeded" means the restore completed, ownership was fixed to uid 1001, and the staging microcache was purged.
| Parameter | Type | Description |
|---|---|---|
jobName * | string | The jfs-media-sync-* job name returned by fcp_media_sync |
site * | number | string | Target (staging) website ID or domain |
fcp_backup_get_database
Return a database backup for a site in ONE call. Reuses the most recent completed backup if it is younger than maxAgeHours, otherwise triggers a fresh one and waits. Production data is sanitized by default. Returns a presigned download URL (1h expiry) when ready. If the backup or sanitization is still running when waitSeconds is exhausted, returns status:"pending" with a handle (backupId or sanitizeJobId) so you can poll fcp_backup_get_status / fcp_backup_sanitize_status and re-call. Sanitized downloads (the default for production) are available to operator+ roles; raw downloads (sanitize=fals…
| Parameter | Type | Description |
|---|---|---|
websiteId * | number | The website ID to back up |
fresh | boolean | Force a brand-new backup, ignoring any existing one (default: false). |
maxAgeHours | number | Reuse the latest completed backup if it is younger than this many hours (default: 24). Ignored when fresh=true. |
sanitize | boolean | Whether to sanitize production data. Leave unset to use the server default (production is sanitized, non-production is returned raw). Set false to force a raw dump (admin, use with care). |
waitSeconds | number | Total bounded wait budget in seconds across the trigger and sanitize polls (default: 180). On exhaustion the tool returns status:"pending" with a resume handle rather than hanging. |
fcp_backup_list_pairings
List site pairings for backup management. Optionally filter by site ID. Shows production/staging/dev relationships grouped by account.
| Parameter | Type | Description |
|---|---|---|
siteId | number | Optional: specific site ID to get pairing for |
fcp_backup_update_pairing
Create or update a site pairing configuration. Defines staging/development relationships for a site.
| Parameter | Type | Description |
|---|---|---|
pairingConfig * | object | Pairing configuration with staging (string|null) and development (array) site references |
siteId * | number | The site ID to update pairing for |
fcp_backup_delete_pairing
Remove a site pairing configuration. Clears the pairing config for a site.
| Parameter | Type | Description |
|---|---|---|
siteId * | number | The site ID to remove pairing for |
fcp_kinsta_backup_list_sites
List all Kinsta-hosted sites that have S3 backup mappings configured. Returns site IDs, domains, and S3 prefixes.
fcp_kinsta_backup_list
List available Kinsta backups for a specific site. Returns backup files with sizes, dates, and S3 keys for downloading.
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The site ID (e.g., site-215 for bnpassociates.com) |
fcp_kinsta_backup_download
Generate a presigned S3 download URL for a Kinsta backup zip file. URL expires in 1 hour.
| Parameter | Type | Description |
|---|---|---|
s3Key * | string | The S3 key from fcp_kinsta_backup_list (e.g., bnpassociates/filename.zip) |
fcp_clone_to_staging
Clone production to staging environment. Combines file sync (from DO snapshots) and database sync (from S3 backups pulled from RO replicas) into a single tracked operation. Requires a confirmation token from fcp_clone_confirm first, unless triggerType is "mcp".
| Parameter | Type | Description |
|---|---|---|
productionSiteId * | number | Production site ID |
stagingSiteId * | number | Staging site ID to clone into |
backupId | string | Specific backup ID to restore from (optional, defaults to latest) |
includeDatabase | boolean | Whether to sync database from latest backup (default: true) |
includeFiles | boolean | Whether to sync files from production snapshot (default: true) |
runSearchReplace | boolean | Whether to run domain search/replace after DB sync (default: true) |
fcp_clone_confirm
Generate a safety confirmation token for a clone-to-staging operation. Returns token (5-min TTL) plus site info and latest backup age.
| Parameter | Type | Description |
|---|---|---|
productionSiteId * | number | Production site ID |
stagingSiteId * | number | Staging site ID |
fcp_clone_status
Get the status of a clone-to-staging operation. Returns progress, step statuses (files, database, search/replace), and errors.
| Parameter | Type | Description |
|---|---|---|
cloneId * | string | Clone operation ID (e.g., clone_abc12345_lxyz) |
fcp_clone_list
List recent clone-to-staging operations for a site. Shows history of all clone operations with status.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results (default: 20) |
productionSiteId | number | Filter by production site ID |
stagingSiteId | number | Filter by staging site ID |
fcp_get_dev_environment_info
Get developer environment info for a site. Shows what capabilities are available (clone to staging, download database, file sync, local setup), current state (latest backup age, clone status), staging sites, and quick action URLs. Use this to help developers understand what they can do with a site.
| Parameter | Type | Description |
|---|---|---|
siteId * | number | The production site ID to get dev environment info for |
fcp_list_alerts
List alerts (incidents). Defaults to ACTIVE alerts (status firing,acknowledged). Pass status="resolved" for past alerts, or status="all" for everything. Alerts come from alertmanager, GCP monitoring, uptimerobot, cluster_health, or manual creation. Supports filtering by source, severity, cluster, namespace, domain, website, and time range.
| Parameter | Type | Description |
|---|---|---|
cluster | string | Filter by cluster name |
domain | string | Filter by domain (partial match) |
environment | string | Filter by site environment (production, staging) |
from | string | Start of time range (ISO timestamp), filters started_at |
limit | number | Results per page (default 50, max 200) |
namespace | string | Filter by namespace |
page | number | Page number (default 1) |
severity | string | Comma-separated severities: critical, high, medium, low, info |
source | string | Filter by alert source |
status | string | Comma-separated statuses. Default "firing,acknowledged" (active). Use "resolved" for past, "silenced", or "all" for everything. |
to | string | End of time range (ISO timestamp), filters started_at |
websiteId | number | Filter by FCP website ID |
fcp_get_alert
Get full detail for a single alert (incident) by ID, including linked site/account info.
| Parameter | Type | Description |
|---|---|---|
id * | number | The alert (incident) ID |
fcp_create_alert
Create a MANUAL alert (incident). Source is always "manual". Use this to manually raise an alert that did not come from automated monitoring. Returns the created alert with status "firing".
| Parameter | Type | Description |
|---|---|---|
alertName * | string | Short alert name/title (required) |
cluster | string | Affected cluster, if any |
domain | string | Affected domain, if any |
namespace | string | Affected namespace, if any |
severity | string | Severity (default: medium) |
summary | string | Human-readable summary of the alert |
websiteId | number | Link to an FCP website ID, if applicable |
fcp_update_alert
Update an alert (incident): acknowledge, silence, resolve (CLOSE), add admin notes, link a site, or link a Unroo task. To CLOSE an alert, set status="resolved". Silencing requires silencedUntil.
| Parameter | Type | Description |
|---|---|---|
id * | number | The alert (incident) ID |
acknowledgedBy | string | Who acknowledged (when status=acknowledged) |
adminNotes | string | Internal admin notes |
silencedBy | string | Who silenced (when status=silenced) |
silencedUntil | string | ISO timestamp to silence until (required when status=silenced) |
status | string | New status. "resolved" closes the alert; "silenced" requires silencedUntil. |
unrooTaskId | number | Link to a Unroo task ID |
websiteId | number | Link/relink to an FCP website ID |
fcp_get_alert_history
Recurrence context for an alert: fire counts (24h / 7d / 30d), recent occurrences, prior triage causes (root_cause_category + likely cause) and the open recurring-problem fix task. Call it first when investigating an alert so the triage can say "5th time in 30 days; last 3 said oom". Pass one of signature, alertId or investigationId.
| Parameter | Type | Description |
|---|---|---|
alertId | number | FCP alert (incident) ID |
investigationId | number | alert_investigations ID (the alert-inv:<id> label on the Unroo task) |
signature | string | Alert signature (alertname|cluster|namespace|domain, volatile parts stripped) |
fcp_post_alert_triage
Post the alert-triage verdict. FCP stores it, replies in the alert's Slack thread (verdict first), adds a PagerDuty incident note and appends the alert's admin notes. Posting again for the same investigation EDITS the Slack reply in place (safe to retry). Pass alertId, or investigationId (alert-inv:<id>).
| Parameter | Type | Description |
|---|---|---|
actions_taken * | array | What you did (e.g. "purged cache, site green"); empty if nothing |
confidence * | string | Confidence in likely_cause |
evidence * | array | Evidence bullets, strongest first (the Slack note shows 3) |
likely_cause * | string | One sentence: the most likely cause |
recommended_next * | string | The one recommended next action |
root_cause_category * | string | Fixed cause category (used to find repeat problems) |
alertId | number | FCP alert (incident) ID |
investigationId | number | alert_investigations ID (alert-inv:<id> label) |
root_cause_detail | string | Optional free-text detail for the category |
summary | string | Short summary of what happened |
unroo_task_key | string | The Unroo investigation task key (e.g. FRUHOST-1234) |
fcp_list_pages
List PagerDuty incidents ("pages") FCP has synced, newest first: status, urgency, service, title, assignees, acknowledged/resolved by, and the linked FCP alert / investigation. Filter by status (triggered, acknowledged, resolved), service (PD service id or name) and since (ISO time).
| Parameter | Type | Description |
|---|---|---|
limit | number | Max incidents (1-500, default 100) |
service | string | PagerDuty service id or name |
since | string | Only incidents created at or after this ISO timestamp |
status | string | Comma-separated: triggered, acknowledged, resolved (default all) |
fcp_get_page
Get one PagerDuty incident with its timeline (PD log entries: triggered, notified, acknowledged, notes, resolved) and who is on call. Pass the PD incident id, or investigationId (the alert-inv:<id> label) to get the page behind an alert investigation.
| Parameter | Type | Description |
|---|---|---|
id | string | PagerDuty incident id (e.g. Q1ABCDEF2GHIJK) |
investigationId | number | alert_investigations ID (alert-inv:<id> label) |
fcp_ack_page
Acknowledge a PagerDuty incident (stops escalation; the investigation keeps running). Runs as the FCP PagerDuty service user; FCP records you as the actor and adds a PD note. Alert-investigation sessions may ack only their own investigation's incident. Use fcp_resolve_page to resolve the incident once triage is complete.
| Parameter | Type | Description |
|---|---|---|
id * | string | PagerDuty incident id |
fcp_resolve_page
Resolve a PagerDuty incident (closes the page; the FCP alert investigation, if any, keeps running). Runs as the FCP PagerDuty service user; FCP records you as the actor and adds a PD note "Resolved by <actor>". Only resolve a page after the underlying issue is confirmed fixed or is a known false alarm / safe-to-close. Alert-investigation sessions may resolve only their own investigation's incident. Returns 409 already_resolved if the incident was already resolved.
| Parameter | Type | Description |
|---|---|---|
id * | string | PagerDuty incident id |
fcp_add_page_note
Add a note to a PagerDuty incident (e.g. a short triage summary for the responder). The note ends with who added it. Alert-investigation sessions may note only their own investigation's incident, at most 5 notes per session.
| Parameter | Type | Description |
|---|---|---|
content * | string | Note text (plain text) |
id * | string | PagerDuty incident id |
fcp_get_alert_stats
Get alert summary statistics for the last 7 days: counts by status, by source, critical-active count, and per-cluster breakdown.
fcp_list_alert_rules
List client alert rules (notification configuration). Optionally filter by account.
| Parameter | Type | Description |
|---|---|---|
accountId | number | Filter rules by account ID |
fcp_get_alert_rule
Get a single alert rule by ID, with account and website context.
| Parameter | Type | Description |
|---|---|---|
ruleId * | number | The alert rule ID |
fcp_create_alert_rule
Create a client alert rule defining which events trigger notifications, on which channels, with flapping/business-hours controls.
| Parameter | Type | Description |
|---|---|---|
accountId * | number | Account this rule belongs to (required) |
eventType * | string | Event type that triggers this rule (required) |
name * | string | Rule name (required) |
businessHoursEnd | string | Business hours end (e.g. "17:00") |
businessHoursOnly | boolean | Only notify during business hours |
businessHoursStart | string | Business hours start (e.g. "09:00") |
businessHoursTimezone | string | IANA timezone for business hours |
cooldownSeconds | number | Cooldown between repeat notifications |
createdBy | string | Who created the rule |
delaySeconds | number | Delay before notifying (flap prevention) |
description | string | Optional description |
notifyChannels | array | Channels to notify on |
severityThreshold | string | Minimum severity to trigger (default: info) |
websiteId | number | Specific website, or omit/null for all sites in the account |
fcp_update_alert_rule
Update an existing alert rule. Only provided fields are changed.
| Parameter | Type | Description |
|---|---|---|
ruleId * | number | The alert rule ID (required) |
businessHoursEnd | string | Business hours end |
businessHoursOnly | boolean | Only notify during business hours |
businessHoursStart | string | Business hours start |
businessHoursTimezone | string | IANA timezone |
cooldownSeconds | number | Cooldown between repeat notifications |
delaySeconds | number | Delay before notifying |
description | string | Description |
isActive | boolean | Enable/disable the rule |
name | string | Rule name |
notifyChannels | array | Channels to notify on |
severityThreshold | string | Minimum severity to trigger |
updatedBy | string | Who updated the rule |
fcp_delete_alert_rule
Permanently DELETE an alert rule (hard delete). Requires admin. This cannot be undone.
| Parameter | Type | Description |
|---|---|---|
ruleId * | number | The alert rule ID to delete |
fcp_list_outages
List active outages (admin outage tracking). Filter by status (active/resolved/all), account, and limit.
| Parameter | Type | Description |
|---|---|---|
accountId | number | Filter by account ID |
limit | number | Max results |
status | string | Filter: active, resolved, or all (default: active) |
fcp_get_outage
Get a single outage by ID, with its timeline updates, notification history, and affected client contacts.
| Parameter | Type | Description |
|---|---|---|
outageId * | number | The outage ID |
fcp_create_outage
Create an outage record for centralized outage management, optionally linked to an incident.
| Parameter | Type | Description |
|---|---|---|
accountId | number | Affected account ID |
domain | string | Affected domain |
environment | string | Environment (production, staging) |
incidentId | number | Linked incident ID (from downtime_incidents) |
likelyCause | string | Likely cause description |
severity | string | Severity |
startedAt | string | Outage start (ISO timestamp) |
status | string | Outage status (default: active) |
websiteId | number | Affected website ID |
fcp_update_outage
Update an outage: status, severity, likely cause, admin notes, assignee. Optionally append a timeline updateMessage. ⚠️ Setting notifyClients=true SENDS REAL NOTIFICATIONS to affected clients.
| Parameter | Type | Description |
|---|---|---|
outageId * | number | The outage ID (required) |
adminNotes | string | Internal admin notes |
assignedTo | string | Assignee |
confirm | boolean | Safety gate for client notifications. Only consulted when notifyClients=true: must be explicitly true to actually send. notifyClients=true without confirm=true makes the tool refuse (the rest of the u… |
likelyCause | string | Likely cause |
notifyClients | boolean | ⚠️ If true, sends real notifications to affected clients. Default false. |
severity | string | New severity |
status | string | New outage status |
updateMessage | string | Timeline update message to append |
updatedBy | string | Who made the update |
fcp_resolve_outage
Resolve and close an outage (soft resolve — sets status to resolved and stamps resolved_at). Adds a resolution timeline entry.
| Parameter | Type | Description |
|---|---|---|
outageId * | number | The outage ID to resolve |
fcp_bulk_notify_clients
⚠️ SENDS REAL NOTIFICATIONS (email/Teams/Slack/SMS) to all clients affected by the given outages. Requires admin. Use deliberately — this contacts real people.
| Parameter | Type | Description |
|---|---|---|
message * | string | Notification body (required) |
notificationType * | string | Type of notification |
outageIds * | array | Non-empty array of outage IDs whose affected clients should be notified |
subject * | string | Notification subject (required) |
channels | array | Channels to send on (default: ["email"]) |
confirm | boolean | REQUIRED safety gate. Must be explicitly true to actually dispatch. Omitting or false makes the tool refuse and report who would be contacted — call again with confirm=true only after a human has ap… |
sentBy | string | Who sent the notification |
fcp_get_bulk_notify_history
Get history of bulk client notifications (batches sent), most recent first.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results (default 20) |