fcp-mcp-server

v1.43.0
@fruition/fcp-mcp-server Checked 6 hours ago Published 18 days ago

MCP 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.

ParameterTypeDescription
limitnumberMaximum number of launches to return
platformstringFilter by platform: wordpress, drupal, nextjs, steldris, other
statusstringFilter by status: planning, in_progress, soft_launched, launched, on_hold, cancelled
upcomingnumberShow launches within next N days

fcp_get_launch

Get detailed information about a specific launch including checklist items, legacy access info, and team assignments.

ParameterTypeDescription
launch_id *numberThe 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.

ParameterTypeDescription
launch_id *numberThe ID of the launch

fcp_get_checklist

Get the launch checklist with item statuses and any Claude-specific instructions for completing tasks.

ParameterTypeDescription
launch_id *numberThe ID of the launch
categorystringOptional: 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…
statusstringOptional: 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.

ParameterTypeDescription
category *stringCategory for the checklist item
launch_id *numberThe ID of the launch
title *stringTitle of the checklist item
assigned_to_idnumberUser ID to assign the item to
depends_on_item_idnumberID of another checklist item this depends on
descriptionstringDetailed description of the item
due_datestringDue date in ISO format
environmentstringEnvironment: production, staging, both
external_linkstringExternal URL related to this item
is_blockingbooleanWhether this item blocks the launch (default: false)
is_requiredbooleanWhether this item is required for launch (default: true)
rolestringTeam role responsible: webops, devops, dev, seo, client
sort_ordernumberSort order within the category

fcp_update_checklist_item

Update a checklist item. Can change status, title, description, category, assignment, and other fields.

ParameterTypeDescription
item_id *numberThe ID of the checklist item
launch_id *numberThe ID of the launch
assigned_to_idnumberUser ID to assign to (null to unassign)
categorystringUpdated category
depends_on_item_idnumberUpdated dependency item ID (null to clear)
descriptionstringUpdated description (null to clear)
due_datestringUpdated due date in ISO format (null to clear)
environmentstringUpdated environment: production, staging, both
evidence_urlstringURL to evidence of completion (null to clear)
external_linkstringExternal URL (null to clear)
is_blockingbooleanWhether this item blocks the launch
is_requiredbooleanWhether this item is required for launch
jira_ticket_keystringAssociated Jira ticket key (null to clear)
notesstringNotes about the status change (alias for completion_notes)
rolestringUpdated team role: webops, devops, dev, seo, client
sort_ordernumberUpdated sort order
statusstringNew status for the item
titlestringUpdated title

fcp_delete_checklist_item

Delete a checklist item from a launch. This action cannot be undone.

ParameterTypeDescription
item_id *numberThe ID of the checklist item to delete
launch_id *numberThe 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.

ParameterTypeDescription
content *stringThe note content
launch_id *numberThe 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.

ParameterTypeDescription
launch_id *numberThe 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.

ParameterTypeDescription
launch_type *stringType of launch (required)
name *stringLaunch name (required)
platform *stringPlatform type (required)
target_launch_date *stringTarget launch date in ISO format (required)
account_idnumberAssociated account/client ID
client_contactstringClient contact name
client_contact_emailstringClient contact email
descriptionstringLaunch description
dev_lead_idnumberDev lead user ID
devops_lead_idnumberDevOps lead user ID
jira_project_keystringJira project key
kickoff_datestringKickoff date in ISO format
prioritystringLaunch priority (default: medium)
seo_lead_idnumberSEO lead user ID
slack_channelstringSlack channel for launch countdown notifications, e.g. #channel-name
soft_launch_datestringSoft launch date in ISO format
unroo_project_idnumberUnroo project ID to link
use_default_checklistbooleanWhether to create default checklist items (default: true)
webops_lead_idnumberWebOps lead user ID
website_idnumberAssociated website ID

fcp_update_launch

Update an existing launch. Only provided fields are updated. Can change status, dates, assignments, and other properties.

ParameterTypeDescription
launch_id *numberThe ID of the launch to update (required)
account_idnumberAssociated account/client ID (null to unlink)
actual_launch_datestringActual launch date when launched
client_contactstringClient contact name (null to clear)
client_contact_emailstringClient contact email (null to clear)
descriptionstringUpdated description
dev_lead_idnumberDev lead user ID (null to clear)
devops_lead_idnumberDevOps lead user ID (null to clear)
jira_project_keystringJira project key (null to clear)
kickoff_datestringUpdated kickoff date (null to clear)
launch_typestringUpdated launch type
namestringUpdated launch name
platformstringUpdated platform
prioritystringUpdated priority
seo_lead_idnumberSEO lead user ID (null to clear)
slack_channelstringSlack channel for launch countdown notifications, e.g. #channel-name (null to clear)
soft_launch_datestringUpdated soft launch date (null to clear)
statusstringUpdated status
target_launch_datestringUpdated target launch date
unroo_project_idnumberUnroo project ID (null to unlink)
webops_lead_idnumberWebOps lead user ID (null to clear)
website_idnumberAssociated website ID (null to unlink)

fcp_delete_launch

Delete a launch and all associated checklist items. This action cannot be undone.

ParameterTypeDescription
launch_id *numberThe 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.

ParameterTypeDescription
item_id *numberThe ID of the checklist item
launch_id *numberThe 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.

ParameterTypeDescription
item_id *numberThe ID of the checklist item to validate
launch_id *numberThe 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.

ParameterTypeDescription
project_keystringManual project key override. Use if auto-detection fails.
repo_urlstringGit 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.

ParameterTypeDescription
assignee_emailstringFilter by assignee email
external_source_typestringFilter by source: fcp, fcp_checklist, fcp_launch
limitnumberMaximum number of tasks to return (default 100)
project_keystringFilter by JIRA project key or FCP-SITE-{id}
statusstringFilter 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.

ParameterTypeDescription
project_key *stringJIRA project key or FCP-SITE-{id} (required)
title *stringTask title (required)
assignee_emailstringEmail of person to assign the task to
descriptionstringDetailed description of the task
due_datestringDue date in ISO format
github_branchstringGit branch name associated with this task
github_repostringGitHub repository (owner/repo format)
hours_estimatednumberEstimated hours to complete
labelsarrayLabels/tags for the task
parent_issue_idstringParent task ID if this is a subtask
prioritystringTask priority (default: medium)
statusstringInitial 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.

ParameterTypeDescription
task_id *stringThe 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.

ParameterTypeDescription
task_id *stringThe ID of the task to update (required)
assignee_emailstringNew assignee email (null to unassign)
descriptionstringUpdated description
github_branchstringGit branch name associated with this task
github_pr_numbernumberGitHub pull request number
github_pr_urlstringGitHub pull request URL
github_repostringGitHub repository (owner/repo format)
hours_loggednumberTotal hours logged on the task
labelsarrayReplace the task labels (full set, e.g. ["security","model:glm-5p3-flash"]). A comma-separated string is also accepted.
prioritystringUpdated priority
reporter_emailstringNew 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.
resolutionstringResolution when marking as Done
statusstringNew status: To Do, In Progress, Done, Blocked
titlestringUpdated 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.

ParameterTypeDescription
comment_text *stringThe comment content. Use @email to mention people (e.g., @tony.diaz@fruition.net)
task_id *stringTask ID or Jira key (e.g., task_abc123 or FLYFRU-189)
is_internalbooleanIf true, comment is team-only (not synced to Jira, not visible to customers). Default: false
mentionsarrayEmail 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.

ParameterTypeDescription
task_id *stringTask 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).

ParameterTypeDescription
task_id *stringTask ID or Jira key (e.g., task_abc123 or FLYFRU-189)
include_contentbooleanWhen 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.

ParameterTypeDescription
limitnumberMaximum number of tasks to return (default 50)
statusstringFilter 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.

ParameterTypeDescription
project_keystringProject being worked on
repo_namestringRepository name if working on code
task_idstringThe task you are working on
task_jira_keystringJIRA 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.

ParameterTypeDescription
parent_task_id *stringThe parent task this follows up on (required)
title *stringFollow-up task title (required)
descriptionstringDescription of the follow-up work
prioritystringPriority (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.

ParameterTypeDescription
project_key *stringJIRA project key or FCP-SITE-{id} (required)
title *stringTitle of the future work item (required)
checklist_item_idnumberFCP checklist item ID if discovered during checklist work
descriptionstringDetailed description of the work needed
destinationstringWhere to put the item: parking_lot (needs review) or backlog (ready for sprint). Default: parking_lot
estimated_hoursnumberEstimated hours to complete
launch_idnumberFCP launch ID if related to a launch
notesstringAdditional notes or context
prioritystringPriority level (default: Medium)
task_typestringType of work item

unroo_get_parking_lot

Get items from the parking lot - discovered work that needs review before being added to backlog.

ParameterTypeDescription
limitnumberMaximum number of items to return (default: 100)
project_keystringFilter by JIRA project key or FCP-SITE-{id}
statusstringFilter by status: pending, approved, rejected, converted (default: pending)

unroo_get_backlog

Get backlog items - tasks ready to be scheduled into sprints.

ParameterTypeDescription
limitnumberMaximum number of items to return (default: 100)
prioritystringFilter by priority
project_keystringFilter 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.

ParameterTypeDescription
id *stringThe ID of the parking lot item to convert (required)
notesstringNotes about the conversion decision
prioritystringPriority 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.

ParameterTypeDescription
enabledbooleanFilter by enabled status
searchstringSearch across site names, clusters, namespaces
sync_directionstringFilter 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.

ParameterTypeDescription
config_id *numberThe 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.

ParameterTypeDescription
config_id *numberThe config ID to sync
confirmation_tokenstringRequired 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.

ParameterTypeDescription
config_id *numberThe config ID to check jobs for
limitnumberNumber of jobs to return (default 5)
statusstringFilter 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.

ParameterTypeDescription
job_id *stringThe 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.

ParameterTypeDescription
config_id *numberThe 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.

ParameterTypeDescription
website_id *numberThe website ID to scan (required)
severitystringComma-separated severity levels to scan for (default: critical,high,medium)
templatesstringComma-separated Nuclei template categories (default: cves,exposures,misconfiguration). Options: cves, vulnerabilities, exposures, misconfiguration, technologies, ssl, dns, headless
urlstringOverride 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.

ParameterTypeDescription
website_id *numberThe website ID to get results for (required)
limitnumberMaximum number of scans to return (default: 5)
scan_idstringSpecific scan ID to get detailed results for (optional)
statusstringFilter 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.

ParameterTypeDescription
account_idnumberFilter by FCP account id
limitnumberMax rows (default 50, cap 200)
productstringFilter by product
stagestringFilter 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.

ParameterTypeDescription
account_idnumberFilter by herald account id
limitnumberMax rows (default 50, cap 200)
statusstringopen | 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?'

ParameterTypeDescription
account_idnumberFCP account id
emailstringContact email
limitnumberMax 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.

ParameterTypeDescription
channel *stringcall | meeting | demo | email | note | other
subject *stringOne-line summary of the touch
account_idnumberFCP account id (or use email)
emailstringContact email (or use account_id)
summarystringLonger 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.

ParameterTypeDescription
product *stringsteldris | flyfruition | ada_pdf | hosting | web_dev | retainer | other
stage *stringpitch | qualified | converting | review | won | churned | lost
fcp_account_idnumberFCP account id
fcp_website_idnumberFCP website id (account resolved server-side)
metadataobjectExtra metadata merged in (optional)
notesstringContext (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.

ParameterTypeDescription
kind *stringlead | account | contact | opportunity
account_idnumberContacts only: contacts on this account
limitnumberMax rows (default 100, cap 500)
minestring'1' to list only records owned by you
openbooleanOpportunities only: open pipeline only
qstringText search (name/organization/email or name/website/next_step)
statusstringFilter 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).

ParameterTypeDescription
id *stringRecord id
kind *stringlead | account | contact | opportunity
includestringactivity,notes,files,duplicates,history (optional)

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.

ParameterTypeDescription
data *objectField values for the new record
kind *stringlead | 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.

ParameterTypeDescription
data *objectFields to change
id *stringRecord id
kind *stringlead | 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.

ParameterTypeDescription
id *stringRecord id
kind *stringlead | account | contact | opportunity
subject *stringOne-line subject
type *stringcall | email | linkedin | event
detailsstringLonger notes (optional)
locationstringMeeting location (optional)
occurred_atstringISO 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).

ParameterTypeDescription
body *stringNote body
id *stringRecord id
kind *stringlead | account | contact | opportunity
subject *stringOne-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.

ParameterTypeDescription
lead_id *stringLead id to convert
account_idnumberExisting account id (when account_mode=existing)
account_modestringnew (default) | existing
account_namestringNew account name (when account_mode=new)
create_opportunitybooleanCreate an opportunity too (default true)
opportunity_namestringOpportunity name (default "<Account> - ")
owner_emailstringOwner 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.

ParameterTypeDescription
kind *stringlead | account | contact | opportunity
qstringOptional 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).

ParameterTypeDescription
idstringRecord id (with kind)
kindstringlead | account | contact | opportunity (with id — one record's tasks)
minebooleantrue → 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).

ParameterTypeDescription
due_date *stringDue date, YYYY-MM-DD
id *stringRecord id
kind *stringlead | account | contact | opportunity
subject *stringOne-line subject (becomes the Unroo ticket title)
assignee_emailstringAssignee email (optional; unset leaves the ticket unassigned)
detailsstringLonger 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.

ParameterTypeDescription
deal_id *numberOpportunity (deal) id
candidatesboolean'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.

ParameterTypeDescription
deal_id *numberOpportunity (deal) id
lead_id *stringContact id (Herald contact / ada_leads id)
is_primarybooleanSet as the deal primary contact (default false)
rolestringDecision 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.

ParameterTypeDescription
id *numberContact-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.

ParameterTypeDescription
id *stringRecord id
kind *stringlead | 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.

ParameterTypeDescription
id *stringRecord id
kind *stringlead | account | contact | opportunity
content_base64stringBase64-encoded file bytes. Required unless path is given.
file_namestringFile name to attach (e.g. sow-acme-2026.pdf). Required with content_base64; ignored with path.
mime_typestringMIME type (optional; inferred from nothing when omitted — pass application/pdf etc.)
pathstringLocal 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…

ParameterTypeDescription
dup_id *stringThe DUPLICATE record id — the record merged in and archived (for a lead→account merge this is the surviving account)
kind *stringlead | account | contact | opportunity (the kind of BOTH records unless dup_kind says otherwise)
record_id *stringThe SURVIVOR record id — the record that stays (EXCEPTION: for a lead→account merge this is the LEAD being converted — see the tool description)
confirmbooleanMust be explicitly true. Refused otherwise — obtain human approval first.
dup_kindstringDuplicate'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.

ParameterTypeDescription
dup_id *stringThe duplicate record id
dup_kind *stringThe duplicate's kind (may differ from `kind`, e.g. a lead matching an account)
kind *stringlead | account | contact | opportunity
record_id *stringRecord id the duplicate was flagged against
confirmbooleanMust 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.

ParameterTypeDescription
website_id *numberThe 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].

ParameterTypeDescription
website_id *numberThe website ID to get results for (required)
scan_idstringSpecific 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.

ParameterTypeDescription
cve_idstringFilter by CVE id (partial match, e.g. "CVE-2026-84434")
has_taskbooleantrue = only findings with an Unroo remediation task; false = only findings without one
include_retiredbooleanInclude findings for retired sites (default: excluded — they are never re-scanned so always stale)
limitnumberResults per page, max 100 (default 50). Prefer narrowing with filters over paging through everything.
pagenumberPage number (default 1)
searchstringFree-text match against title/description/affected component
severitystringComma-separated severities to include: critical,high,medium,low,info (e.g. "critical,high")
sort_bystringSort: severity (default), date, site, source, status
sort_dirstringSort 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_typestringComma-separated sources: wordpress_plugin,wordpress_core,drupal_core,drupal_contrib,php_runtime,github_dependabot,dockerhub_scout,nuclei_scanner,redteam_scanner,infrastructure_scanner
statusstringComma-separated statuses: open,in_progress,remediated,false_positive,accepted_risk,wont_fix (default: all)
website_idnumberFilter 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).

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe finding id (from fcp_list_security_findings)
statusstringNew status: open, in_progress, remediated, false_positive, accepted_risk, wont_fix
status_notesstringTriage 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…

ParameterTypeDescription
website_idnumberRefresh 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…

ParameterTypeDescription
assignee_emailstringOptional assignee email for the created tasks
severitystringComma-separated severities to task, e.g. "critical,medium". Default: "critical,high" — explicitly pass severities to include more.
website_idsstringComma-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).

ParameterTypeDescription
entity_id *numberNumeric id of the entity (e.g. the website id when entity_type is other)
entity_type *stringEntity the evidence belongs to: control_implementation, audit_finding, audit, remediation_task, risk_register, tpsp_attestation, training_record, access_review, exception, or other
evidence_type *stringKind of evidence: screenshot, configuration, log, policy, procedure, report, certificate, contract, email, photo, video, spreadsheet, code, diagram, or other
title *stringShort title of the evidence
collection_datestringDate the evidence was collected (ISO date)
descriptionstringMarkdown description / full report text
file_namestringPrimary file name (e.g. EVIDENCE-INDEX.md)
file_typestringMIME type of the primary file (e.g. text/markdown)
file_urlstringURL to the immutable evidence file or index
source_referencestringCross-references (site ids, PRs, ticket keys)
source_systemstringSystem/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.

ParameterTypeDescription
entity_id *numberNumeric id of the entity
entity_type *stringEntity 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).

ParameterTypeDescription
systemstringNarrow 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.

ParameterTypeDescription
account_idnumberFilter by account/client ID
cmsstringFilter by CMS type: WordPress, Drupal, Strapi, Other, Steldris
environmentstringFilter by environment: production, staging, development
limitnumberMaximum results to return (default: 50, max: 200)
offsetnumberOffset for pagination (default: 0)
retiredstringFilter 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.

ParameterTypeDescription
query *stringSearch query (min 2 characters) - matches against domain, account name, and URL
limitnumberMaximum results to return (default: 10)

fcp_get_site

Get detailed information about a specific website including account info, infrastructure details, and lead developer.

ParameterTypeDescription
website_id *numberThe 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.

ParameterTypeDescription
website_id *numberThe 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…

ParameterTypeDescription
website_id *numberThe 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.

ParameterTypeDescription
website_id *numberThe 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.

ParameterTypeDescription
account_id *numberAccount/client ID the site belongs to (required)
cms *stringCMS 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 *stringPrimary domain name, e.g. "example.com" (required)
fru_hostedbooleanWhether the site is hosted on FruCloud (default: false)
git_linkstringURL to the git repository
git_providerstringGit provider: GitHub, GitLab, Bitbucket (default: GitHub)
hosting_providerstringHosting provider name. Use FruCloud (AWS) for AWS EKS-hosted sites.
k8s_clusterstringKubernetes cluster name if FruCloud hosted
k8s_namespacestringKubernetes namespace if FruCloud hosted
stagingarrayOptional staging environments to create
url_fullstringFull URL including protocol (default: https://<domain>)

fcp_update_site

Update properties of an existing website. Only provided fields are updated.

ParameterTypeDescription
website_id *numberThe website ID to update (required)
backup_enabledbooleanUpdated backup enabled flag
backup_excludedbooleanExclude site from backup eligibility (e.g. ephemeral sites, non-K8s hosting)
backup_exclusion_reasonstringReason for backup exclusion (e.g. "Ephemeral captive portal site", "External hosting - not on K8s")
backup_schedulestringUpdated backup cron schedule
cloudflare_proxy_statusstringCloudflare proxy status (e.g. "proxied", "dns_only").
cloudflare_zone_idstringCloudflare zone ID for the site (set null to clear).
cmsstringUpdated CMS type
dns_providerstringDNS provider (e.g. "Cloudflare", "AWS Route 53", "GoDaddy", "Network Solutions").
domainstringUpdated domain name
drupal_core_versionstringDetected Drupal core version. Update when the stored value is stale.
environmentstringUpdated environment: production, staging, development
fru_hostedbooleanUpdated FruCloud hosting flag
frucare_sitebooleanUpdated FruCare maintenance flag
fruition_has_dns_accessbooleanWhether Fruition has access to manage this domain's DNS.
git_linkstringUpdated git repository URL
git_providerstringUpdated git provider
has_varnishbooleanWhether the site has a Varnish cache layer (K8s ingress routes to service: varnish).
hosting_providerstringUpdated hosting provider. Use FruCloud (AWS) for AWS EKS-hosted sites.
k8s_clusterstringUpdated K8s cluster
k8s_namespacestringUpdated K8s namespace
lead_developernumberUpdated lead developer user ID
multisite_root_idnumberRoot site ID for WordPress multisite networks. Set to link as a subsite, null to unlink.
pvc_mount_pathstringWhere the PVC is mounted inside the container (e.g., "/var/www/html/wp-content/uploads").
pvc_namestringPVC 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_detectedbooleanWhether a backup sidecar was auto-detected on this PVC.
pvc_sizestringPVC size with unit (e.g., "10Gi"). Update after expanding the volume.
pvc_storage_classstringPVC storage class (e.g., "openebs-kernel-nfs", "do-block-storage-xfs-retain"). Update after a storage migration.
security_headers_enabledbooleanWhether security headers (CSP, HSTS, X-Frame-Options, etc.) are enabled.
ssl_certificate_expirystringSSL certificate expiry timestamp (ISO 8601). Update when the stored value is stale vs the live cert.
staging_urlstringUpdated staging URL
uptime_monitor_idnumberUptimeRobot monitor ID for this site. Used by scheduler to pause/resume monitors on scale events.
url_fullstringUpdated full URL
uses_cloudflarebooleanWhether the site is proxied through Cloudflare. Set true when live headers show server: cloudflare / cf-ray but the record was false.
varnish_enabledbooleanWhether Varnish is enabled for the site.
wp_core_versionstringDetected 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.

ParameterTypeDescription
website_id *numberThe website ID to retire (required)
forward_urlstringURL to forward the domain to after retirement
reasonstringWhy 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.

ParameterTypeDescription
domain *stringPrimary domain served for this tenant (e.g. "example.com") — the upsert key
slug *stringSteldris tenant slug (used for x-tenant header in admin API)
tenant_id *stringSteldris Tenant.id (cuid/uuid) — required for cross-reference
account_idnumberFCP account/client ID to associate the website row with (optional)
namestringHuman-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.

ParameterTypeDescription
prefixstringFilter 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.

ParameterTypeDescription
content *stringRecord target (e.g. "d2kfky3opyvlb6.cloudfront.net")
name *stringRecord name (e.g. "cnk49t.prod" for cnk49t.prod.steldris.com)
type *stringDNS record type (usually CNAME)
proxiedbooleanCloudflare 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.

ParameterTypeDescription
record_id *stringCloudflare 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".

ParameterTypeDescription
contract_typestringFilter by contract type: tm, block, tm_or_block, retainer, pro_bono, other
limitnumberMax rows to return (default 300)
marketingbooleanFilter to marketing clients only (true) or non-marketing (false)
qstringSearch by client/account name (substring match)
statusstringProfile status: active (default), deactivated, or all
tierstringFilter by account service tier: standard, frucare, ada, redteam
webops_leadstringFilter 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).

ParameterTypeDescription
account_id *numberThe 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.

ParameterTypeDescription
account_id *numberThe account ID to update (required)
client_assets_urlstringClient assets URL
client_goalsstringClient goals & focus areas
client_time_zonestringClient time zone
comms_platformstringClient collaboration platform (Google / MS Teams)
contract_notesstringContract notes
contract_ratestringFreeform rate (e.g. "$155/hour")
contract_typestringtm, block, tm_or_block, retainer, pro_bono, none, other
general_notesstringGeneral notes
is_marketing_clientbooleanWhether this is a marketing client
last_client_contactstringLast contact note
looker_studio_urlstringLooker Studio report URL
mark_reviewedbooleanSet true to stamp last_reviewed_at = now (confirms the profile is accurate)
meeting_attendeesstringMeeting attendees
meeting_cadencestringMeeting cadence
relationship_sponsorstringRelationship sponsor
shared_drive_urlstringShared drive URL
statusstringactive or deactivated
unroo_board_urlstringUnroo board URL
webops_leadstringCanonical WebOps lead
what_you_need_to_knowstringKey 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.

ParameterTypeDescription
account_idnumberFilter by account/client ID
statusstringFilter 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.

ParameterTypeDescription
domain *stringDomain to protect (e.g., www.butterflies.org)
account_idnumberAssociated account/client ID
cache_profilestringCache profile: standard, aggressive, minimal, none (default: standard; s3 defaults to aggressive)
notesstringNotes about this domain
origin_hoststringOrigin server IP or hostname (e.g., 146.190.2.169 for K8s prod). Required for origin_type=custom; ignored for s3.
origin_portnumberOrigin port (default: 443)
origin_protocolstringOrigin protocol: http or https (default: https)
origin_typestringOrigin mode: custom (shared distribution + origin server, default) or s3 (dedicated distribution + OAC over a private S3 bucket).
s3_bucketstringS3 artifacts bucket (origin_type=s3, e.g. steldris-sites-prod). Required for s3 mode.
s3_origin_pathstringCloudFront OriginPath — the per-tenant key prefix (origin_type=s3, e.g. /acme).
s3_regionstringS3 bucket region (origin_type=s3, e.g. us-east-1). Required for s3 mode.
website_idnumberLink to existing FCP website ID

fcp_shield_get_domain

Get Shield domain details including onboarding status, DNS records needed, and WAF configuration.

ParameterTypeDescription
domain_id *numberThe Shield domain ID

fcp_shield_update_domain

Update Shield domain configuration (origin, cache profile, WAF rules, geo-blocking, rate limiting).

ParameterTypeDescription
domain_id *numberThe Shield domain ID
bot_control_enabledbooleanEnable AWS Bot Control (+$10/mo)
cache_no_cache_pathsarrayPath patterns to never cache (e.g., ["/api/*", "/wp-admin/*", "/cart/*"])
cache_profilestringCache profile: standard, aggressive, minimal, none
enabledbooleanEnable/disable domain
geo_block_countriesarrayCountry codes to block (e.g., ["CN","RU","KP","IR","BY"])
notesstringUpdated notes
origin_hoststringUpdated origin host
origin_portnumberUpdated origin port
rate_limit_tierstringRate limit: standard, strict, relaxed
waf_profilestringWAF profile: standard, premium, custom

fcp_shield_remove_domain

Remove a domain from Fruition Shield protection. Removes from CloudFront, DynamoDB, and deletes ACM certificate.

ParameterTypeDescription
domain_id *numberThe 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.

ParameterTypeDescription
account_idstringCloudflare account ID (from fcp_cf_list_accounts) to scope the listing to one account
namestringExact zone name to look up (e.g. example.com) — use to find which account owns a domain
pagenumberExplicit page number (overrides auto-pagination)
paginatebooleanFollow pagination up to 10 pages (default true). Set false for a single page.
per_pagenumberResults 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.

ParameterTypeDescription
zone_id *stringCloudflare zone ID (from fcp_cf_list_zones)
contentstringCase-insensitive substring filter on record content (e.g. an IP or a hostname)
namestringFilter by exact record name (e.g. www.example.com or sub.example.com)
pagenumberExplicit page number (overrides auto-pagination)
paginatebooleanFollow pagination up to 10 pages (default true). Set false for a single page.
per_pagenumberResults per page (max 100)
typestringFilter 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.

ParameterTypeDescription
zone_id *stringCloudflare 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.

ParameterTypeDescription
zone_id *stringCloudflare 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.

ParameterTypeDescription
zone_id *stringCloudflare zone ID (from fcp_cf_list_zones)
hoursnumberLookback window in hours (default 24, max 168)
include_analyticsbooleanInclude daily request analytics alongside security events (default true)
limitnumberMax 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.

ParameterTypeDescription
groupstringGroup id or slug to scope to (optional; omit for all groups)
include_expiredbooleanInclude entries past their expires_at (default false)
include_pendingbooleanInclude 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.

ParameterTypeDescription
cidr *stringCIDR or bare IP (e.g. 73.241.16.0/24 or 73.241.16.5)
group_id *numberTarget group id
expires_atstringISO-8601 expiry timestamp, or null for permanent
labelstringHuman label for the range
override_reasonstringReason (>=10 chars) to force-insert past an overlap
purposestringStructured purpose
ticket_refstringAssociated 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.

ParameterTypeDescription
id *numberEntry id to update
approval_statestringNew approval state
expires_atstringNew ISO-8601 expiry, or null for permanent
labelstringNew label
purposestringNew purpose
ticket_refstringNew 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.

ParameterTypeDescription
id *numberEntry 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.

ParameterTypeDescription
formatstringOutput format (default plain)
groupstringGroup id or slug to scope to (optional; omit for all groups)
purposestringOptional purpose filter
separatorstringSeparator 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.

ParameterTypeDescription
showAllbooleanInclude 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.

ParameterTypeDescription
mappingId *numbergithub_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.

ParameterTypeDescription
action *stringState transition to apply
mappingId *numbergithub_repo_mappings.id (from fcp_fleet_readiness_list)
notesstringBlocker 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}.

ParameterTypeDescription
site_id *numberWebsite 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.

ParameterTypeDescription
site_id *numberWebsite id (website.id).
configobjectSmoke-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}.

ParameterTypeDescription
config *objectSmoke-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 *numberWebsite 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.

ParameterTypeDescription
site_id *numberWebsite 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.

ParameterTypeDescription
limitnumberMax runs to return.
site_idnumberFilter to one website id (website.id).
statusstringFilter 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}.

ParameterTypeDescription
run_id *stringThe 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.

ParameterTypeDescription
reason *stringWhy the repo is being frozen (required)
repo *stringowner/repo, e.g. "fruition/metroairport"
daysnumberFreeze length in days (1-90); alternative to ends_at
ends_atstringISO-8601 end (alternative to days)
starts_atstringISO-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).

ParameterTypeDescription
id *numberFreeze id to edit
daysnumberNew length in days (recomputes ends_at from starts_at)
ends_atstringNew ISO-8601 end
reasonstringNew reason
starts_atstringNew 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.

ParameterTypeDescription
idnumberFreeze id to remove (single)
repostringowner/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.

ParameterTypeDescription
websiteId *numberFCP 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).

ParameterTypeDescription
websiteId *numberFCP website id
limitnumberMax number of snapshots to return
recordTypestringFilter by record type
sincestringISO 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.

ParameterTypeDescription
actorstringFilter by GitHub actor
branchesstringComma-separated branch names
conclusionsstringComma-separated conclusions (success|failure|...)
endDatestringISO date upper bound
eventsstringComma-separated events; 'all' to include PR builds
limitnumberPage size (default 50)
offsetnumberOffset (default 0)
sortBystringSort field
sortOrderstringSort direction (default desc)
startDatestringISO date lower bound
statusesstringComma-separated statuses
websiteIdsstringComma-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.

ParameterTypeDescription
siteId *numberFCP 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.

ParameterTypeDescription
siteId *numberFCP site (website) id
languagesarrayLanguage codes for translation cache
pathsarrayPaths to purge (default ['/*'])
purgeTypestringWhich layers/scope to purge (default 'all')
urlsarraySpecific full URLs to purge (urls/single)
verifyAfterPurgebooleanVerify the site after purge
warmCachebooleanWarm cache after a successful purge
warmPagesarrayPages 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.

ParameterTypeDescription
accountIdnumberFilter by account id (list view)
enabledOnlybooleanOnly enabled windows (list view)
k8sClusterstringFilter by k8s cluster (list view)
websiteIdnumberSite 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.

ParameterTypeDescription
end_time *stringEnd time HH:MM[:SS]
name *stringWindow name
recurrence_type *stringRecurrence type
start_time *stringStart time HH:MM[:SS]
account_idnumberScope: account id
auto_create_eventsbooleanAuto-create events for occurrences
auto_create_lead_timenumberHours of lead time for auto-created events (default 24)
created_bystringCreator identifier
cron_expressionstringCron expression for custom recurrence
day_of_weeknumberDay of week 0=Sun..6=Sat (required for weekly/biweekly/bimonthly/monthly)
default_severitystringDefault event severity (default 'low')
descriptionstringOptional description
enabledbooleanEnabled (default true)
k8s_clusterstringScope: k8s cluster (INFRA-wide)
timezonestringIANA tz (default 'America/Denver')
website_idnumberScope: site id
week_of_monthnumberWeek of month for monthly
weeks_of_montharrayWeeks 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.

ParameterTypeDescription
sql *stringSingle read-only statement (SELECT/SHOW/EXPLAIN/DESCRIBE)
domainstringSite domain (provide site OR domain)
limitnumberMax rows to return (default 200, max 1000)
sitenumberSite 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.

ParameterTypeDescription
cluster *stringCluster 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 *stringKubernetes namespace
port *numberService port
service *stringKubernetes Service name
methodstringHTTP method (default GET)
pathstringRequest 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.

ParameterTypeDescription
certTypestringFilter by certificate type
clusterstringFilter by k8s cluster
expiringWithinDaysnumberOnly certs expiring within N days
limitnumberPage size
namespacestringFilter by namespace
pagenumberPage number (1-based)
sortBystringname | cluster | namespace | certType | status | expiry | subjectCn
sortDirstringSort direction (default asc)
statusstringvalid | warning | critical | expired | unknown

fcp_get_certificate

Get a single certificate by id, including issuer, SANs, expiry, and history.

ParameterTypeDescription
certId *stringCertificate 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.

ParameterTypeDescription
dryRunbooleanCompute 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.

ParameterTypeDescription
project_key *stringProject key (resolves the repo)
task_id *stringUnroo task id
task_title *stringTask title
labelsarrayOptional labels
task_descriptionstringOptional 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.

ParameterTypeDescription
job_idstringTasker job id
task_idstringUnroo 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.

ParameterTypeDescription
refreshbooleanRe-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.

ParameterTypeDescription
id *stringTasker 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.

ParameterTypeDescription
action *stringset = grant override, clear = cancel
id *stringTasker job id
reasonstringJustification (required when action=set)
ttl_minutesnumberHow 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.

ParameterTypeDescription
clusterstringExplicit cluster name (with namespace)
domainstringAlias for site: a domain to resolve
labelSelectorstringOptional label selector (e.g. app=web)
namespacestringExplicit namespace (with cluster)
sitestringWebsite 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.

ParameterTypeDescription
pod *stringPod name to read logs from
clusterstringExplicit cluster name (with namespace)
domainstringAlias for site: a domain to resolve
namespacestringExplicit namespace (with cluster)
sitestringWebsite 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.

ParameterTypeDescription
clusterstringExplicit cluster name (with namespace)
domainstringAlias for site: a domain to resolve
namespacestringExplicit namespace (with cluster)
sitestringWebsite 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.

ParameterTypeDescription
clusterstringExplicit cluster name (with namespace)
domainstringAlias for site: a domain to resolve
namespacestringExplicit namespace (with cluster)
sitestringWebsite 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.

ParameterTypeDescription
clusterstringExplicit cluster name (with namespace)
domainstringAlias for site: a domain to resolve
namespacestringExplicit namespace (with cluster)
sitestringWebsite 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.

ParameterTypeDescription
kind *stringResource kind (e.g. pod, deployment, ingress)
name *stringResource name to describe
clusterstringExplicit cluster name (with namespace)
domainstringAlias for site: a domain to resolve
namespacestringExplicit namespace (with cluster)
sitestringWebsite 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.

ParameterTypeDescription
appstringApp label filter (e.g. web, varnish, ingress-nginx)
clusterstringExplicit cluster name (e.g. gcp-gov, sfo3-prod-shared, aws-usw2-staging)
domainstringAlias for site: a domain to resolve
endstringEnd time (ISO 8601)
excludestringExclude log lines matching this text
levelsstringComma-separated levels to include: error,warn,info,debug
limitnumberMax log lines to return (default 500)
namespacestringKubernetes namespace to query (e.g. coag-prod-v5). Required unless raw LogQL "query" is given.
podstringSpecific pod name filter (takes precedence over app)
querystringRaw LogQL query (overrides namespace/app/pod when given), e.g. {namespace="coag-prod-v5"} |= "fatal"
searchstringText filter applied to log lines
sitestringWebsite id or domain (e.g. coag.gov) — resolves the cluster automatically
startstringStart time (ISO 8601) — with end, overrides timeRange
timeRangestringPreset: 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.

ParameterTypeDescription
query *stringPromQL query, e.g. sum(rate(nginx_ingress_controller_requests{exported_namespace="coag-prod-v5", status=~"5.."}[5m])) by (status)
clusterstringExplicit cluster name (e.g. gcp-gov, sfo3-prod-shared)
domainstringAlias for site: a domain to resolve
endstringEnd time (ISO 8601)
sitestringWebsite id or domain — resolves the cluster from website.k8s_cluster
startstringStart time (ISO 8601) — with end, overrides timeRange
stepstringStep interval (e.g. 15s, 1m). Auto-computed when omitted.
timeRangestringPreset: 15m, 1h, 6h, 24h, 7d (default 1h)
typestringQuery 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.

ParameterTypeDescription
clusterstringExplicit cluster name (e.g. gcp-gov)
domainstringAlias for site
sitestringWebsite 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.

ParameterTypeDescription
domainstringAlias for site: a domain to resolve
sitestringWebsite 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.

ParameterTypeDescription
domainstringAlias for site: a domain to resolve
sitestringWebsite id or domain (resolves cluster+namespace+stack)
to_revisionnumberOptional 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.

ParameterTypeDescription
service *stringLogical service kind to tunnel to (db tunnels to the read-only replica)
domainstringAlias for site: a domain to resolve
portnumberReserved; the port is always resolved server-side
sitestringWebsite id or domain (resolves cluster+namespace)
ttl_secondsnumberRequested 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.

ParameterTypeDescription
siteId *numberThe website ID to enable backups for

fcp_backup_trigger

Manually trigger a backup for a website. Admin only. Creates a queued backup job.

ParameterTypeDescription
websiteId *numberThe website ID to backup
triggerTypestringTrigger 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.

ParameterTypeDescription
websiteId *numberThe website ID to check

fcp_backup_list_backups

List backup history for a site. Returns backup jobs with status, size, duration, and location.

ParameterTypeDescription
siteId *numberThe 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.

ParameterTypeDescription
backupIdstringSpecific backup job ID to get status for
websiteIdnumberWebsite ID to get backup history for

fcp_backup_download

Generate a presigned S3 download URL for a completed backup. URL expires in 1 hour.

ParameterTypeDescription
backupId *stringThe 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.

ParameterTypeDescription
backupId *stringThe backup ID to download
downloadType *stringType of download (e.g., database, files)
siteId *stringThe site ID (e.g., site-123)
formatstringDownload format (optional)
sanitizebooleanWhether 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.

ParameterTypeDescription
jobId *stringThe 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.

ParameterTypeDescription
site *number | stringWebsite ID or domain (e.g. 493 or projectcure-v55.cloud.fruitionqa.com)
statsstringOptional 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.

ParameterTypeDescription
site *number | stringWebsite ID or domain
expires_hoursnumberPresigned URL lifetime in hours, 1-168 (default 24)
freshbooleanTake a new restic snapshot of the live volume first (export reflects now)
snapshotstringrestic snapshot id (8-64 hex) or "latest" (default)
subpathstringOptional 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.

ParameterTypeDescription
jobName *stringThe jfs-media-export-* job name returned by fcp_media_export
site *number | stringWebsite 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.

ParameterTypeDescription
source_site *number | stringProduction website ID or domain (the restic source)
target_site *number | stringStaging website ID or domain (the JuiceFS PVC to restore into)
dry_runbooleanReport what would be restored without touching the PVC
snapshotstringrestic snapshot id (8-64 hex) or "latest" (default)
subpathstringOptional path under uploads/ to sync (whole uploads when omitted)
wipebooleanEmpty 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.

ParameterTypeDescription
jobName *stringThe jfs-media-sync-* job name returned by fcp_media_sync
site *number | stringTarget (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…

ParameterTypeDescription
websiteId *numberThe website ID to back up
freshbooleanForce a brand-new backup, ignoring any existing one (default: false).
maxAgeHoursnumberReuse the latest completed backup if it is younger than this many hours (default: 24). Ignored when fresh=true.
sanitizebooleanWhether 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).
waitSecondsnumberTotal 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.

ParameterTypeDescription
siteIdnumberOptional: 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.

ParameterTypeDescription
pairingConfig *objectPairing configuration with staging (string|null) and development (array) site references
siteId *numberThe site ID to update pairing for

fcp_backup_delete_pairing

Remove a site pairing configuration. Clears the pairing config for a site.

ParameterTypeDescription
siteId *numberThe 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.

ParameterTypeDescription
siteId *stringThe 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.

ParameterTypeDescription
s3Key *stringThe 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".

ParameterTypeDescription
productionSiteId *numberProduction site ID
stagingSiteId *numberStaging site ID to clone into
backupIdstringSpecific backup ID to restore from (optional, defaults to latest)
includeDatabasebooleanWhether to sync database from latest backup (default: true)
includeFilesbooleanWhether to sync files from production snapshot (default: true)
runSearchReplacebooleanWhether 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.

ParameterTypeDescription
productionSiteId *numberProduction site ID
stagingSiteId *numberStaging site ID

fcp_clone_status

Get the status of a clone-to-staging operation. Returns progress, step statuses (files, database, search/replace), and errors.

ParameterTypeDescription
cloneId *stringClone 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.

ParameterTypeDescription
limitnumberMax results (default: 20)
productionSiteIdnumberFilter by production site ID
stagingSiteIdnumberFilter 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.

ParameterTypeDescription
siteId *numberThe 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.

ParameterTypeDescription
clusterstringFilter by cluster name
domainstringFilter by domain (partial match)
environmentstringFilter by site environment (production, staging)
fromstringStart of time range (ISO timestamp), filters started_at
limitnumberResults per page (default 50, max 200)
namespacestringFilter by namespace
pagenumberPage number (default 1)
severitystringComma-separated severities: critical, high, medium, low, info
sourcestringFilter by alert source
statusstringComma-separated statuses. Default "firing,acknowledged" (active). Use "resolved" for past, "silenced", or "all" for everything.
tostringEnd of time range (ISO timestamp), filters started_at
websiteIdnumberFilter by FCP website ID

fcp_get_alert

Get full detail for a single alert (incident) by ID, including linked site/account info.

ParameterTypeDescription
id *numberThe 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".

ParameterTypeDescription
alertName *stringShort alert name/title (required)
clusterstringAffected cluster, if any
domainstringAffected domain, if any
namespacestringAffected namespace, if any
severitystringSeverity (default: medium)
summarystringHuman-readable summary of the alert
websiteIdnumberLink 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.

ParameterTypeDescription
id *numberThe alert (incident) ID
acknowledgedBystringWho acknowledged (when status=acknowledged)
adminNotesstringInternal admin notes
silencedBystringWho silenced (when status=silenced)
silencedUntilstringISO timestamp to silence until (required when status=silenced)
statusstringNew status. "resolved" closes the alert; "silenced" requires silencedUntil.
unrooTaskIdnumberLink to a Unroo task ID
websiteIdnumberLink/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.

ParameterTypeDescription
alertIdnumberFCP alert (incident) ID
investigationIdnumberalert_investigations ID (the alert-inv:<id> label on the Unroo task)
signaturestringAlert 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>).

ParameterTypeDescription
actions_taken *arrayWhat you did (e.g. "purged cache, site green"); empty if nothing
confidence *stringConfidence in likely_cause
evidence *arrayEvidence bullets, strongest first (the Slack note shows 3)
likely_cause *stringOne sentence: the most likely cause
recommended_next *stringThe one recommended next action
root_cause_category *stringFixed cause category (used to find repeat problems)
alertIdnumberFCP alert (incident) ID
investigationIdnumberalert_investigations ID (alert-inv:<id> label)
root_cause_detailstringOptional free-text detail for the category
summarystringShort summary of what happened
unroo_task_keystringThe 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).

ParameterTypeDescription
limitnumberMax incidents (1-500, default 100)
servicestringPagerDuty service id or name
sincestringOnly incidents created at or after this ISO timestamp
statusstringComma-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.

ParameterTypeDescription
idstringPagerDuty incident id (e.g. Q1ABCDEF2GHIJK)
investigationIdnumberalert_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.

ParameterTypeDescription
id *stringPagerDuty 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.

ParameterTypeDescription
id *stringPagerDuty 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.

ParameterTypeDescription
content *stringNote text (plain text)
id *stringPagerDuty 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.

ParameterTypeDescription
accountIdnumberFilter rules by account ID

fcp_get_alert_rule

Get a single alert rule by ID, with account and website context.

ParameterTypeDescription
ruleId *numberThe 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.

ParameterTypeDescription
accountId *numberAccount this rule belongs to (required)
eventType *stringEvent type that triggers this rule (required)
name *stringRule name (required)
businessHoursEndstringBusiness hours end (e.g. "17:00")
businessHoursOnlybooleanOnly notify during business hours
businessHoursStartstringBusiness hours start (e.g. "09:00")
businessHoursTimezonestringIANA timezone for business hours
cooldownSecondsnumberCooldown between repeat notifications
createdBystringWho created the rule
delaySecondsnumberDelay before notifying (flap prevention)
descriptionstringOptional description
notifyChannelsarrayChannels to notify on
severityThresholdstringMinimum severity to trigger (default: info)
websiteIdnumberSpecific website, or omit/null for all sites in the account

fcp_update_alert_rule

Update an existing alert rule. Only provided fields are changed.

ParameterTypeDescription
ruleId *numberThe alert rule ID (required)
businessHoursEndstringBusiness hours end
businessHoursOnlybooleanOnly notify during business hours
businessHoursStartstringBusiness hours start
businessHoursTimezonestringIANA timezone
cooldownSecondsnumberCooldown between repeat notifications
delaySecondsnumberDelay before notifying
descriptionstringDescription
isActivebooleanEnable/disable the rule
namestringRule name
notifyChannelsarrayChannels to notify on
severityThresholdstringMinimum severity to trigger
updatedBystringWho updated the rule

fcp_delete_alert_rule

Permanently DELETE an alert rule (hard delete). Requires admin. This cannot be undone.

ParameterTypeDescription
ruleId *numberThe alert rule ID to delete

fcp_list_outages

List active outages (admin outage tracking). Filter by status (active/resolved/all), account, and limit.

ParameterTypeDescription
accountIdnumberFilter by account ID
limitnumberMax results
statusstringFilter: 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.

ParameterTypeDescription
outageId *numberThe outage ID

fcp_create_outage

Create an outage record for centralized outage management, optionally linked to an incident.

ParameterTypeDescription
accountIdnumberAffected account ID
domainstringAffected domain
environmentstringEnvironment (production, staging)
incidentIdnumberLinked incident ID (from downtime_incidents)
likelyCausestringLikely cause description
severitystringSeverity
startedAtstringOutage start (ISO timestamp)
statusstringOutage status (default: active)
websiteIdnumberAffected 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.

ParameterTypeDescription
outageId *numberThe outage ID (required)
adminNotesstringInternal admin notes
assignedTostringAssignee
confirmbooleanSafety 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…
likelyCausestringLikely cause
notifyClientsboolean⚠️ If true, sends real notifications to affected clients. Default false.
severitystringNew severity
statusstringNew outage status
updateMessagestringTimeline update message to append
updatedBystringWho 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.

ParameterTypeDescription
outageId *numberThe 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.

ParameterTypeDescription
message *stringNotification body (required)
notificationType *stringType of notification
outageIds *arrayNon-empty array of outage IDs whose affected clients should be notified
subject *stringNotification subject (required)
channelsarrayChannels to send on (default: ["email"])
confirmbooleanREQUIRED 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…
sentBystringWho sent the notification

fcp_get_bulk_notify_history

Get history of bulk client notifications (batches sent), most recent first.

ParameterTypeDescription
limitnumberMax results (default 20)