Log inGet Started

For developers

Ship Drupal and WordPress from your editor.

Create a project, run it locally in DDEV or Lando, push to deploy, and let the agent read the failed pipeline.

Install in Claude Code

/plugin marketplace add Flexsite-io/flexsite-plugin
/plugin install flexsite@flexsite
Connect in Claude(opens in a new tab)Moving a Drupal site?Using Cursor?

Every change is previewed, limited to your FlexSite role, and saved as a draft unless you ask to publish.

From new project to deploy

  1. Start a project from the chat

    Create a Drupal 11 or Drupal CMS project from the chat. You see the credits before you say yes, and the dev environment is ready in minutes.

    • list_project_types
    • list_installable_templates
    • preview_project_create
    • create_project
  2. Clone with FlexLab credentials

    The agent gets the clone URL, the branch of each environment and the one command that sets up git credentials.

    • get_repository
  3. Run it locally

    It reads the project's DDEV or Lando choice and gives you the commands in order, including the database sync.

    • get_local_setup
  4. Push to deploy

    A deploy is a git push of the branch mapped to an environment. The FlexSite plugin runs it from Cursor or Claude Code after your yes.

    • plugin: flexsite-deploy
  5. Read the failed pipeline

    Push from Cursor or Claude Code and the agent follows the rollout, reads the failed pipeline log and proposes the fix.

    • get_deployment_status
    • get_latest_deployment
  6. Check every project

    Ask whether every site is up, what the last deploy changed, when the last backup ran and what Lighthouse scored, across all your projects.

    • list_projects
    • get_project_status
    • list_project_issues
    • list_database_backups
    • get_project_quality_metrics

Moving a Drupal site to FlexSite?

Move the Drupal site on your laptop to FlexSite: composer check, project, code, then database and files, each after your yes.

The agent starts with check_drupal_hosting_compatibility on your composer.json and lists what changes on FlexSite. Drupal only.

Move an existing site to FlexSite.

Scripted example · Claude CodeTheo Lindqvist · developer · Lumen Civic Studio
  1. You said: Put my Drupal site in ~/Sites/greenway on FlexSite and send me the URL.
  2. Check Drupal hosting compatibilitycheck_drupal_hosting_compatibility
    args: {"composerJson":"{\"name\":\"greenway/site\",\"require\":{\"drupal/core-recommended\":\"^10.3\",\"drupal/pathauto\":\"^1.13\",\"drupal/webform\":\"^6.2\"},\"extra\":{\"drupal-scaffold\":{\"locations\":…"}
    {
      "platform": "unknown",
      "drupalVersion": 10,
      "compatible": false,
      "lockIn": [],
      "changesOnFlexSite": [
        "Add FlexSite packages: flexsite/fs_performance, flexsite/fs_dam, drupal/redis, drupal/purge.",
        "Add the FlexSite Composer repository https://packages.flexsite.io/packages.json.",
        "Move the web root from docroot/ to web/."
      ],
      "findings": [
        {
          "kind": "web_root",
          "detail": "The Drupal web root is docroot/; the FlexLab build needs web/.",
          "action": "Move the web root to web/: git mv docroot web, then flexsite composer fix rewrites the composer paths."
        }
      ]
    }
  3. List organizationslist_organizations
    args: {}
    {
      "organizations": [
        {
          "id": "7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10",
          "name": "Lumen Civic Studio",
          "description": "Digital studio for public-sector clients",
          "subscriptionStatus": "active"
        }
      ]
    }
  4. List project typeslist_project_types
    args: {}
    {
      "success": true,
      "projectTypes": [
        {
          "id": "drupalcms2",
          "name": "Drupal CMS 2",
          "isFlexlab": false
        },
        {
          "id": "drupal11",
          "name": "Drupal 11",
          "isFlexlab": true
        },
        {
          "id": "drupal10",
          "name": "Drupal 10",
          "isFlexlab": true
        },
        {
          "id": "wordpress",
          "name": "WordPress",
          "isFlexlab": true
        }
      ]
    }
  5. Preview new projectpreview_project_create
    args: {"organizationId":"7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10","hostingType":"flexsite","title":"Greenway Bikes","projectTypeId":"drupal10","localDevEnv":["ddev"]}
    {
      "success": true,
      "dryRun": true,
      "organizationId": "7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10",
      "title": "Greenway Bikes",
      "hostingType": "flexsite",
      "projectTypeId": "drupal10",
      "container": "drupal10",
      "flexlab": true,
      "url": "",
      "features": [
        "cms_version_drupal10"
      ],
      "requiresWorkflow": "no",
      "packIds": [],
      "localDevEnv": [
        "ddev"
      ],
      "requiredCredits": 10,
      "creditsRemaining": 130,
      "launchPath": "/dashboard/7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10/project/{projectId}/launch"
    }
  6. Assistant:

    Your site can move to FlexSite. Two things change on the way, and I'll do both:

    • The web folder is called docroot. FlexSite builds from web, so I'll rename it.
    • I'll add the FlexSite packages to composer.json and update the lock file.

    The plan:

    1. Create Greenway Bikes on FlexSite: Drupal 10, 10 credits. Lumen Civic Studio has 130.
    2. Commit the changes and push them to dev. On FlexSite, the push is the deploy.
    3. Copy your database and files, after you say yes.

    Go ahead?

  7. You said: Go ahead.
  8. Create projectcreate_project
    args: {"organizationId":"7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10","hostingType":"flexsite","title":"Greenway Bikes","projectTypeId":"drupal10","localDevEnv":["ddev"]}
    {
      "success": true,
      "dryRun": false,
      "projectId": "1f7a3c58-8b2e-4d6f-a9c4-3e5b7d9f0a17",
      "organizationId": "7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10",
      "launchPath": "/dashboard/7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10/project/1f7a3c58-8b2e-4d6f-a9c4-3e5b7d9f0a17/launch",
      "features": [
        "cms_version_drupal10"
      ],
      "requiredCredits": 10
    }
  9. Get project statusget_project_status
    args: {"projectId":"1f7a3c58-8b2e-4d6f-a9c4-3e5b7d9f0a17"}
    {
      "ready": true,
      "environments": [
        {
          "id": "a2c4e6f8-3d5b-4a7c-9e1f-4b6d8f0a2c99",
          "name": "dev",
          "url": "https://dev-greenway-bikes.sites.example",
          "status": "ready",
          "container": "drupal10",
          "alertCount": 0,
          "advisoryCount": 0,
          "ready": true
        }
      ]
    }
  10. Get repositoryget_repository
    args: {"projectId":"1f7a3c58-8b2e-4d6f-a9c4-3e5b7d9f0a17"}
    {
      "projectId": "1f7a3c58-8b2e-4d6f-a9c4-3e5b7d9f0a17",
      "title": "Greenway Bikes",
      "cms": "drupal10",
      "flexlab": true,
      "provisioning": false,
      "cloneUrl": "https://flexlab.example/lumen-civic-studio/greenway-bikes.git",
      "branches": {
        "dev": "dev"
      },
      "gitSetupCommand": "flexsite git setup"
    }
  11. Terminal:
    git remote add flexlab https://flexlab.example/lumen-civic-studio/greenway-bikes.git && git fetch flexlab && git merge flexlab/dev --allow-unrelated-histories -m "Add FlexSite platform files"
    Merge made by the 'ort' strategy.
  12. Terminal:
    git mv docroot web && flexsite composer fix -n greenway-bikes --backup
    Backup created: composer.json.bak
    
    --- Added Packages ---
      + flexsite/fs_performance
      + flexsite/fs_dam
      + drupal/redis
      + drupal/purge
  13. Terminal:
    ddev composer update flexsite/fs_performance flexsite/fs_dam drupal/redis drupal/purge --with-all-dependencies && git commit -am "Prepare for FlexSite hosting" && git push flexlab HEAD:dev
    Lock file operations: 6 installs, 0 updates, 0 removals
    [main 8a41c7e2] Prepare for FlexSite hosting
    To flexlab.example:lumen-civic-studio/greenway-bikes.git
       3c9e0b12..8a41c7e2  HEAD -> dev
  14. Get deployment statusget_deployment_status
    args: {"environmentId":"a2c4e6f8-3d5b-4a7c-9e1f-4b6d8f0a2c99","commitSha":"8a41c7e2"}
    {
      "project": "Greenway Bikes",
      "environment": "dev",
      "environmentId": "a2c4e6f8-3d5b-4a7c-9e1f-4b6d8f0a2c99",
      "branch": "dev",
      "commitSha": "8a41c7e2",
      "stages": [
        {
          "name": "pipeline",
          "state": "done"
        },
        {
          "name": "build",
          "state": "done"
        },
        {
          "name": "image",
          "state": "done"
        },
        … 2 more
      ],
      "rolledOut": true
    }
  15. Assistant:

    Your code is live on dev. The site there is still empty.

    Copy your local database and files to dev now? That replaces what's on dev.

  16. You said: Yes.
  17. Terminal:
    flexsite db push --env a2c4e6f8-3d5b-4a7c-9e1f-4b6d8f0a2c99 --yes && flexsite files push --env a2c4e6f8-3d5b-4a7c-9e1f-4b6d8f0a2c99 --yes && flexsite drush greenway-bikes.dev -- cr
    Detected DDEV environment.
    ✔ Local database dumped (48.20 MB)
    ✔ Upload complete
    ✔ Import started (VALIDATING)
    ✔ Database import completed
    ✔ Files archived (312.55 MB)
    ✔ Upload complete
    ✔ Import started (VALIDATING)
    ✔ Files import completed
    [success] Cache rebuild complete.
  18. Get project statusget_project_status
    args: {"projectId":"1f7a3c58-8b2e-4d6f-a9c4-3e5b7d9f0a17"}
    {
      "ready": true,
      "environments": [
        {
          "id": "a2c4e6f8-3d5b-4a7c-9e1f-4b6d8f0a2c99",
          "name": "dev",
          "url": "https://dev-greenway-bikes.sites.example",
          "status": "ready",
          "container": "drupal10",
          "alertCount": 0,
          "advisoryCount": 0,
          "ready": true
        }
      ]
    }
  19. Assistant:

    Done. Greenway Bikes is on FlexSite:

    https://dev-greenway-bikes.sites.example

    • Code, database and files are on dev.
    • The web folder rename and the FlexSite packages are in one commit, "Prepare for FlexSite hosting".

    Have a look. Your next pushes to dev deploy the same way.

Tool names and results are real. People, organizations and sites are fictional.

Start a client site and run it on your laptop.

Scripted example · Claude CodeTheo Lindqvist · developer · Lumen Civic Studio
  1. You said: Make a new Drupal site for my client Oakmont Events and set it up on my laptop.
  2. List project typeslist_project_types
    args: {}
    {
      "success": true,
      "projectTypes": [
        {
          "id": "drupalcms2",
          "name": "Drupal CMS 2",
          "isFlexlab": false
        },
        {
          "id": "drupal11",
          "name": "Drupal 11",
          "isFlexlab": true
        },
        {
          "id": "drupal10",
          "name": "Drupal 10",
          "isFlexlab": true
        },
        {
          "id": "wordpress",
          "name": "WordPress",
          "isFlexlab": true
        }
      ]
    }
  3. List installable templateslist_installable_templates
    args: {"projectTypeId":"drupal11"}
    {
      "success": true,
      "projectTypes": [
        {
          "id": "drupalcms2",
          "name": "Drupal CMS 2",
          "isFlexlab": false
        },
        {
          "id": "drupal11",
          "name": "Drupal 11",
          "isFlexlab": true
        },
        {
          "id": "drupal10",
          "name": "Drupal 10",
          "isFlexlab": true
        },
        {
          "id": "wordpress",
          "name": "WordPress",
          "isFlexlab": true
        }
      ],
      "templates": [],
      "themes": [
        {
          "id": "pack-meridian",
          "title": "Meridian"
        }
      ],
      "themeSelection": "optional-for-starter",
      "note": "A marketplace theme is optional for the Starter template. Byte, Haven, and marketplace site templates do not take a separate theme."
    }
  4. Preview new projectpreview_project_create
    args: {"organizationId":"7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10","hostingType":"flexsite","title":"Oakmont Events","projectTypeId":"drupal11","localDevEnv":["ddev"]}
    {
      "success": true,
      "dryRun": true,
      "organizationId": "7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10",
      "title": "Oakmont Events",
      "hostingType": "flexsite",
      "projectTypeId": "drupal11",
      "container": "drupal11",
      "flexlab": true,
      "url": "",
      "features": [
        "cms_version_drupal11",
        "ai_mcp"
      ],
      "requiresWorkflow": "no",
      "packIds": [],
      "localDevEnv": [
        "ddev"
      ],
      "requiredCredits": 10,
      "creditsRemaining": 140,
      "launchPath": "/dashboard/7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10/project/{projectId}/launch"
    }
  5. Assistant:

    Here's the plan. Nothing is created yet.

    • Oakmont Events, Drupal 11, with its own FlexLab repository
    • DDEV for your local copy (say if you use Lando)
    • AI agent access on, so content can be edited from a chat later
    • Cost: 10 credits. Lumen Civic Studio has 140.

    Create it?

  6. You said: Yes, create it.
  7. Create projectcreate_project
    args: {"organizationId":"7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10","hostingType":"flexsite","title":"Oakmont Events","projectTypeId":"drupal11","localDevEnv":["ddev"]}
    {
      "success": true,
      "dryRun": false,
      "projectId": "3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15",
      "organizationId": "7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10",
      "launchPath": "/dashboard/7c1e4b2a-0d3f-4a9e-8b61-5f2c9d7a3e10/project/3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15/launch",
      "features": [
        "cms_version_drupal11",
        "ai_mcp"
      ],
      "requiredCredits": 10
    }
  8. Get project statusget_project_status
    args: {"projectId":"3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15"}
    {
      "ready": false,
      "environments": [
        {
          "id": "d8c6b1f5-0a7e-4b3d-8fc6-7e9a3c5b4d66",
          "name": "dev",
          "url": "",
          "status": "creating",
          "container": "drupal11",
          "alertCount": 0,
          "advisoryCount": 0,
          "ready": false
        }
      ]
    }
  9. Assistant:

    Created. The dev site is being set up, which usually takes a few minutes. Ask me when you want me to check.

  10. You said: Is it ready?
  11. Get project statusget_project_status
    args: {"projectId":"3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15"}
    {
      "ready": true,
      "environments": [
        {
          "id": "d8c6b1f5-0a7e-4b3d-8fc6-7e9a3c5b4d66",
          "name": "dev",
          "url": "https://dev-oakmont-events.sites.example",
          "status": "ready",
          "container": "drupal11",
          "alertCount": 0,
          "advisoryCount": 0,
          "ready": true
        }
      ]
    }
  12. Get repositoryget_repository
    args: {"projectId":"3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15"}
    {
      "projectId": "3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15",
      "title": "Oakmont Events",
      "cms": "drupal11",
      "flexlab": true,
      "provisioning": false,
      "cloneUrl": "https://flexlab.example/lumen-civic-studio/oakmont-events.git",
      "branches": {
        "dev": "dev"
      },
      "gitSetupCommand": "flexsite git setup"
    }
  13. Get local setupget_local_setup
    args: {"environmentId":"d8c6b1f5-0a7e-4b3d-8fc6-7e9a3c5b4d66"}
    {
      "project": "Oakmont Events",
      "environment": "dev",
      "environmentId": "d8c6b1f5-0a7e-4b3d-8fc6-7e9a3c5b4d66",
      "cms": "drupal11",
      "cloneUrl": "https://flexlab.example/lumen-civic-studio/oakmont-events.git",
      "branch": "dev",
      "localDevEnv": [
        "ddev"
      ],
      "databaseBackupsExist": false,
      "filesBackupsChecked": false,
      "commands": [
        "npm install -g @flexsiteio/cli",
        "flexsite auth status",
        "flexsite git setup",
        … 3 more
      ],
      "note": "No database backup exists yet. flexsite sync will offer to create one so the site can be used locally. Files backups were not checked."
    }
  14. Assistant:

    Ready at https://dev-oakmont-events.sites.example. Now your local copy: I'll clone the repository, start DDEV and pull the database and files from dev.

  15. Terminal:
    flexsite git clone 3b8f6d70-2e9a-4b1c-a5f7-8d4c0e6b2a15 && cd oakmont-events && ddev start && flexsite sync --env d8c6b1f5-0a7e-4b3d-8fc6-7e9a3c5b4d66
    Successfully started oakmont-events
    Your project can be reached at https://oakmont-events.ddev.site
    
    Detected DDEV environment.
    --- Database Sync ---
    ✔ Backup ready: oakmont-events-dev.sql.gz
    ✔ Database imported successfully!
    --- Files Sync ---
    ✔ Backup ready: oakmont-events-dev-files.tar.gz
    ✔ Files extracted successfully!
    ✓ Sync complete!
  16. Assistant:

    Done. Your local copy runs at https://oakmont-events.ddev.site, with the same database and files as dev.

    When you've made changes, say "deploy to dev" and I'll push them.

Tool names and results are real. People, organizations and sites are fictional.

Ship changes, even when the build fails.

Scripted example · CursorTheo Lindqvist · developer · Lumen Civic Studio
  1. You said: Ship my changes and tell me when they're live.
  2. Assistant:

    Pushing your commits to dev. On FlexSite, a push to dev is the deploy.

  3. Terminal:
    git push origin dev
    To flexlab.example:lumen-civic-studio/northwind-clinic.git
       4f9a2c1e..9c7d31b0  dev -> dev
  4. Get deployment statusget_deployment_status
    args: {"environmentId":"e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11"}
    {
      "project": "Northwind Clinic",
      "environment": "dev",
      "environmentId": "e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11",
      "branch": "dev",
      "commitSha": null,
      "pipeline": {
        "id": 48213,
        "status": "failed",
        "sha": "9c7d31b0",
        "ref": "dev",
        "webUrl": "https://flexlab.example/lumen-civic-studio/northwind-clinic/-/pipelines/48213",
        "createdAt": "2026-11-19T10:02:11Z",
        "finishedAt": "2026-11-19T10:04:37Z"
      },
      "failedJob": {
        "id": 913377,
        "name": "build",
        "stage": "build",
        "failureReason": "script_failure",
        "webUrl": "https://flexlab.example/lumen-civic-studio/northwind-clinic/-/jobs/913377"
      },
      "failedJobLog": "composer install --no-dev --no-interaction --optimize-autoloader
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
    - Required package "drupal/pathauto" is not present in the lock file.
    This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
    ERROR: Job failed: exit code 4",
      "stages": [
        {
          "name": "pipeline",
          "state": "done"
        },
        {
          "name": "build",
          "state": "failed"
        },
        {
          "name": "image",
          "state": "pending"
        },
        … 2 more
      ],
      "rolledOut": false
    }
  5. Assistant:

    The build stopped before anything went live, so dev still runs the previous version.

    Why: you added the Pathauto module, but the lock file that pins every package version wasn't updated, so the build couldn't install it.

    I can update the lock file, commit it and push again. Go ahead?

  6. You said: Yes, fix it.
  7. Terminal:
    composer update drupal/pathauto --with-dependencies && git commit -am "Add drupal/pathauto to composer.lock" && git push origin dev
    Lock file operations: 2 installs, 0 updates, 0 removals
      - Locking drupal/pathauto (1.13.0)
      - Locking drupal/token (1.15.0)
    [dev 2e61f0a7] Add drupal/pathauto to composer.lock
     1 file changed, 112 insertions(+)
    To flexlab.example:lumen-civic-studio/northwind-clinic.git
       9c7d31b0..2e61f0a7  dev -> dev
  8. Assistant:

    Pushed the fix. Following the deploy.

  9. Get deployment statusget_deployment_status
    args: {"environmentId":"e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11","commitSha":"2e61f0a7"}
    {
      "project": "Northwind Clinic",
      "environment": "dev",
      "environmentId": "e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11",
      "branch": "dev",
      "commitSha": "2e61f0a7",
      "pipeline": {
        "id": 48219,
        "status": "success",
        "sha": "2e61f0a7",
        "ref": "dev",
        "webUrl": "https://flexlab.example/lumen-civic-studio/northwind-clinic/-/pipelines/48219",
        "createdAt": "2026-11-19T10:09:48Z",
        "finishedAt": "2026-11-19T10:13:20Z"
      },
      "stages": [
        {
          "name": "pipeline",
          "state": "done"
        },
        {
          "name": "build",
          "state": "done"
        },
        {
          "name": "image",
          "state": "done"
        },
        … 2 more
      ],
      "rolledOut": true
    }
  10. Get project statusget_project_status
    args: {"projectId":"5e0b8c21-9f4a-4d3e-b7a6-1c2d3e4f5a61"}
    {
      "ready": true,
      "environments": [
        {
          "id": "e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11",
          "name": "dev",
          "url": "https://dev-northwind-clinic.sites.example",
          "status": "ready",
          "container": "drupal11",
          "alertCount": 0,
          "advisoryCount": 0,
          "ready": true
        },
        {
          "id": "f4e2d7b1-6c3a-4d9f-8b82-3a5c9e1d0f22",
          "name": "test",
          "url": "https://test-northwind-clinic.sites.example",
          "status": "ready",
          "container": "drupal11",
          "alertCount": 0,
          "advisoryCount": 1,
          "ready": true
        },
        {
          "id": "a5f3e8c2-7d4b-4e0a-9c93-4b6d0f2e1a33",
          "name": "prod",
          "url": "https://prod-northwind-clinic.sites.example",
          "status": "ready",
          "container": "drupal11",
          "alertCount": 0,
          "advisoryCount": 0,
          "ready": true
        }
      ]
    }
  11. Assistant:

    Live on dev: https://dev-northwind-clinic.sites.example

    Your changes and the lock file fix are both in. Test and production didn't change.

Tool names and results are real. People, organizations and sites are fictional.

Check what the last deploy changed.

Scripted example · Claude CodeTheo Lindqvist · developer · Lumen Civic Studio
  1. You said: Did my last deploy break anything?
  2. Get latest deploymentget_latest_deployment
    args: {"projectId":"5e0b8c21-9f4a-4d3e-b7a6-1c2d3e4f5a61"}
    {
      "environments": [
        {
          "environment": "dev",
          "deployment": {
            "eventType": "deployment_completed",
            "status": "success",
            "message": "Rolled out 2e61f0a7: Add drupal/pathauto to composer.lock",
            "imageTag": "dev-2e61f0a7",
            "createdAt": "2026-11-19T10:15:02Z",
            "source": "flexlab"
          }
        },
        {
          "environment": "test",
          "deployment": {
            "eventType": "deployment_completed",
            "status": "success",
            "message": "Rolled out 4f9a2c1e: Add appointment booking block",
            "imageTag": "test-4f9a2c1e",
            "createdAt": "2026-11-18T09:31:05Z",
            "source": "flexlab"
          }
        },
        {
          "environment": "prod",
          "deployment": {
            "eventType": "deployment_completed",
            "status": "success",
            "message": "Rolled out 4f9a2c1e: Add appointment booking block",
            "imageTag": "prod-4f9a2c1e",
            "createdAt": "2026-11-18T16:42:10Z",
            "source": "flexlab"
          }
        }
      ]
    }
  3. Get deployment statusget_deployment_status
    args: {"environmentId":"e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11","commitSha":"2e61f0a7"}
    {
      "project": "Northwind Clinic",
      "environment": "dev",
      "environmentId": "e3d1c6a0-5b2f-4c8e-9a71-2f4b8d0c9e11",
      "branch": "dev",
      "commitSha": "2e61f0a7",
      "stages": [
        {
          "name": "pipeline",
          "state": "done"
        },
        {
          "name": "build",
          "state": "done"
        },
        {
          "name": "image",
          "state": "done"
        },
        … 2 more
      ],
      "rolledOut": true
    }
  4. List project issueslist_project_issues
    args: {"projectId":"5e0b8c21-9f4a-4d3e-b7a6-1c2d3e4f5a61"}
    {
      "environments": [
        {
          "environment": "dev",
          "alerts": [],
          "advisories": []
        },
        {
          "environment": "test",
          "alerts": [],
          "advisories": [
            {
              "title": "Redis module not enabled",
              "severity": "warning",
              "message": "The Redis module is installed but not enabled, so Drupal does not use the environment cache."
            }
          ]
        },
        {
          "environment": "prod",
          "alerts": [],
          "advisories": []
        }
      ]
    }
  5. Get quality metricsget_project_quality_metrics
    args: {"projectId":"5e0b8c21-9f4a-4d3e-b7a6-1c2d3e4f5a61"}
    {
      "environments": [
        {
          "environment": "dev",
          "metrics": {
            "performance": 81,
            "accessibility": 100,
            "practices": 96,
            "seo": 92,
            "errors": 0
          }
        },
        {
          "environment": "test",
          "metrics": {
            "performance": 84,
            "accessibility": 100,
            "practices": 96,
            "seo": 92,
            "errors": 0
          }
        },
        {
          "environment": "prod",
          "metrics": {
            "performance": 92,
            "accessibility": 100,
            "practices": 96,
            "seo": 100,
            "errors": 0
          }
        }
      ]
    }
  6. Assistant:

    No. Nothing points to a problem.

    • Last deploy: dev, 19 November, 2e61f0a7 "Add drupal/pathauto to composer.lock". Every step finished.
    • Dev: no alerts, no advisories.
    • Lighthouse on dev: performance 81, accessibility 100, best practices 96, SEO 92.

    Test and prod don't have this change yet. Test has one advisory that has nothing to do with the deploy: the Redis module is installed but not enabled. Want me to show you how to turn it on?

Tool names and results are real. People, organizations and sites are fictional.

Connect your AI app

Claude Code

Install with two commands

Runs in Claude Code on your computer.

  1. In Claude Code, add the FlexSite plugin marketplace:

    /plugin marketplace add Flexsite-io/flexsite-plugin
  2. Then install the plugin:

    /plugin install flexsite@flexsite
  3. Sign in to FlexSite the first time a FlexSite tool runs.

Plugin on GitHub (MIT)(opens in a new tab)Cursor and Claude Code guide(opens in a new tab)

Cursor

Custom install today · Cursor Marketplace listing in review

Runs in Cursor on your computer.

  1. Clone the FlexSite plugin into Cursor's local plugins folder:

    git clone https://github.com/Flexsite-io/flexsite-plugin ~/.cursor/plugins/local/flexsite
  2. Reload the Cursor window: open the Command Palette and run Developer: Reload Window.

  3. Sign in to FlexSite the first time a FlexSite tool runs.

Claude

claude.ai, Claude Desktop and Claude mobile

Listed in the Claude directory
  1. Open FlexSite in the Claude directory and choose Connect.

    Open the Claude directory(opens in a new tab)
  2. If the directory isn't available to you, go to Settings → Connectors → Add custom connector and paste this URL:

    https://agents.flexsite.io/mcp
  3. Sign in to FlexSite when Claude asks.

ChatGPT

Custom connector today · ChatGPT app directory listing in review

This needs ChatGPT's developer-mode connectors, which depend on your ChatGPT plan.

  1. In ChatGPT, turn on developer mode for connectors.

  2. Create a connector with this URL and choose OAuth:

    https://agents.flexsite.io/mcp
  3. Sign in to FlexSite when ChatGPT asks.

What it will not do

  • Delete content, projects or environments.
  • Change production unless you have the admin role.
  • Publish unless an admin asks it to.
  • Start a deploy from Claude or ChatGPT. Deploys run from Cursor or Claude Code.
  • Edit WordPress content.
  • Spend credits without showing you the number first.

WordPress projects: create, run locally and deploy. Content tools and migration are Drupal only.

Questions

Can I deploy from Claude or ChatGPT?

No. In Claude and ChatGPT the agent reports deploys: what rolled out, which stage failed and the failed job's log. A deploy is a git push of the branch mapped to an environment, and the FlexSite plugin runs that push from Cursor or Claude Code after you say yes.

Will it spend credits without asking?

No. Before it creates a project, the agent previews it and shows the credits it needs and what your organization has left. The FlexSite plugin waits for your yes. The agent cannot change billing.

Will the agent change my live site?

Only if you have the admin role. A viewer can only read, a developer can change non-production environments, and only an admin can change production or publish. New content is saved as an unpublished draft unless you ask to publish. No tool deletes content, projects or environments.

Does it work with WordPress?

Yes, for hosting. Create a WordPress project, run it locally and deploy it from Cursor or Claude Code, and ask about its status, deploys, backups and Lighthouse scores. Editing WordPress content and migrating WordPress sites are not available.

What about Drupal 7 or Drupal 10?

FlexSite hosts them, and the agent answers questions about their status, deploys and backups. The content tools need Drupal CMS or Drupal 11.4 and later.

Ship your next deploy from your editor.

Create your account

No credit card required

Read the AI agents guide(opens in a new tab)

Claude is a trademark of Anthropic, PBC. ChatGPT is a trademark of OpenAI. Cursor is a trademark of Anysphere, Inc. Drupal is a registered trademark of Dries Buytaert. WordPress is a registered trademark of the WordPress Foundation. FlexSite is not affiliated with or endorsed by these companies.

Built to keep you safe

Your website is protected by the same cloud infrastructure trusted by leading organizations.

AWS

ISO 27001 • ISO 27017 • ISO 27018 • SOC 2 • PCI DSS • GDPR

Certifications apply to AWS cloud infrastructure. FlexSite implements secure configurations and operational controls following AWS best practices under the shared responsibility model.

Security & Compliance

Learn about security, compliance, and how we protect your site.