Menu de la documentation
Bien démarrer
Qu'est-ce qu'Opus GrowthDémarrage rapideAjoutez-le à votre IAFonctionnementSécurité et validationCréditsOffresFAQApplications IA
Toutes les applicationsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfAutres MCPPlateformes publicitaires
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgences et MCCSources de données
Search ConsoleGoogle AnalyticsYouTubeProfil d'établissementTag ManagerSites et SEO
AI ServerWordPressSEO IntelligenceFraude au clicRéférence des outils
Tous les outilsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeProfil d'établissementTag ManagerWordPressAI ServerSEO IntelligenceFraude au clicMulticanalCompte et facturationLangue
Site Response Headers
Manages HTTP RESPONSE HEADERS for the hosting website — the thing a static export cannot do for itself.
- Type
- Effectue des modifications
- Crédits
- 1
- Plateforme
- AI Server
- Validation
- Aperçu d'abord, appliqué après validation
Ce qu'il fait
Manages HTTP RESPONSE HEADERS for the hosting website — the thing a static export cannot do for itself. It rolls out a Content-Security-Policy (Content-Security-Policy-Report-Only + Reporting-Endpoints first, reports reviewed, then enforced) and sets Permissions-Policy, Referrer-Policy, the Cross-Origin-* policies, X-Frame-Options or Access-Control-Allow-Origin. Headers apply to the WHOLE site and are added at the edge, so they are live within seconds and survive redeploys. mode='list' shows what is set; 'add' adds/updates the given fields; 'remove' deletes the named fields; 'replace' overwrites the whole set. `headers` is one per line, 'Field: value': Content-Security-Policy-Report-Only: default-src 'self'; report-to csp Reporting-Endpoints: csp="/_opus/csp-report" LONG CACHE FOR STATIC FILES: put a PATH PATTERN in front of the field and you can set Cache-Control for that path only — `/assets/* Cache-Control: public, max-age=31536000, immutable`. Hosted sites already cache assets for one day by default; this is how you raise it to a year for fingerprinted files, which is what PageSpeed's "use efficient cache lifetimes" asks for. Cache-Control is accepted ONLY with a path: site-wide it would cache the HTML too, and a content update would never reach visitors. Any other allowed field also takes an optional path. THE COLLECTOR IS BUILT IN — every hosted site serves `/_opus/csp-report` on its OWN origin. Point Reporting-Endpoints at that relative path (first-party, no third party ever sees visitor data, no CORS preflight). Then read what came in with site_csp_reports. Reports go to the site's own reporting endpoint, not to an outside service. For 'remove' just list the field names. Transport and baseline security headers (Strict-Transport-Security, X-Content-Type-Options, Content-Type, Set-Cookie, Cache-Control...) are NOT settable on purpose — a site cannot weaken its own security floor. confirm=false previews, confirm=true applies.
La description est en anglais car c'est le texte officiel que voit votre IA.
MCP: site_headers
Comment l'utiliser
Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.
Paramètres
| Nom | Type | Obligatoire | Par défaut | |
|---|---|---|---|---|
| headers | string | Facultatif | · | HTTP or provider header values for this operation, in the documented key/value format. |
| mode | string | Facultatif | list | list · add · remove · replace · Behaviour mode for this operation. Use one of the supported modes documented by the tool. |
| server | string | Facultatif | · | Name of the connected hosting server to target when more than one server is available. |
| confirm | boolean | Facultatif | false | Safety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change. |
| site | string | Facultatif | · | Identifier, key, or domain of the hosted site to target when more than one site is available. |
Outils associés
add_siteSet Up Site Contact-Form Emailconfigure_site_smtpCreate Free Trial Websitecreate_trial_siteDeploy Site From ZIPdeploy_site_zipList Hosting Serverslist_serversList Websites On Serverlist_sitesRemove Website From Serverremove_siteInstall Site Starterscaffold_siteBlock Website Pathssite_block_paths