Claude Tag integration

Give Claude Tag a live Flex preview.

The Flex custom connector lets Claude Tag find registered repositories, create or refresh an exact branch preview, continue editing inside the Flex runtime, and report a stable URL for review.

Connection boundary

Claude organization

Access bundle + plugin

Scoped bearer credential

Remote MCP

https://flexenv.com/mcp/previews

Tenant-scoped repository IDs

Flex runtime

Preview + review URL

Administrator setup

Connect the credential and the workflow instructions

Claude Tag uses two deliberately separate pieces: the custom connector holds the Flex credential and exposes tools; the Flex plugin teaches Claude the preview workflow. Never put the credential in the plugin archive.

  1. 1

    Create a least-privilege key

    In Flex, create an API key named for the Claude Tag access bundle. Grant only ClaudeTagPreviews and set an expiry date.

  2. 2

    Add the custom connector

    Create a remote custom connector named Flex with the endpoint https://flexenv.com/mcp/previews.

  3. 3

    Store the bearer header

    Choose no OAuth authentication and add Authorization: Bearer <Flex API key> as an additional request header in Claude's credential store.

  4. 4

    Attach the access bundle

    Attach the Flex connector and credential to the intended Claude Tag access bundle or Slack channel.

  5. 5

    Upload the Flex plugin

    Obtain the versioned Flex plugin ZIP and checksum. In organization settings, upload it to a manual marketplace and enable it on the same access bundle.

  6. 6

    Verify before mutation

    Start a new Claude Tag task. Confirm the connector exposes exactly twelve tools and smoke-test flex_list_repositories.

The plugin ZIP is distributed by Flex and contains instructions only. It does not contain Flex source code, customer repository access, or credentials. Review the supplied version and SHA-256 checksum before uploading an update.

What Claude can see

Tenant-scoped sources, never arbitrary clone URLs

The bearer key identifies one Flex tenant. Repository discovery returns only repositories already registered to that tenant, including relevant product memberships and repository notes. Preview tools accept those repository IDs rather than an arbitrary Git URL.

Exact source selection

Claude can select a branch and commit, retain a separate Flex working branch, and refresh the preview without overwriting the source branch.

Stable preview iteration

Follow-up changes continue in the existing preview workspace so reviewers keep one stable URL.

Explicit failures

Missing mappings, ambiguous product repositories, and Flex runtime failures are reported instead of silently skipping preview creation.

Credential rotation

Replace, verify, then revoke.

Create a replacement scoped key, update Claude's stored connector credential, confirm flex_list_repositories succeeds, and only then revoke the old key.

Codex, Cursor, or Claude Code?