/flexport-pack:flexport-enterprise-rbac [workloads-roles-and-endpoints]from flexport-pack
Maps Flexport endpoint-scoped OAuth credentials and MCP role permissions to approved enterprise workloads. Use when designing access separation, reviewing permissions, or replacing shared broad API keys.
Ships in flexport-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Flexport has two access concepts that must not be conflated: OAuth clients select endpoint resources, while MCP tools document allowed account roles. API keys are broad across endpoints and should not be described as selectively scoped.
List reads, document changes, invoice work, booking commitments, and MCP tools by workload.
Create one OAuth client per system and select only required endpoint resources. Create a replacement if new resources are later needed.
For each MCP tool, record the documented allowed roles and verify the connected user has one; do not infer permission from a REST credential.
Inventory API keys as exceptions, document their all-endpoint blast radius, restrict storage, and plan replacement where OAuth fits.
Require business authorization above provider permission, especially for bookings, trade records, and sensitive shipment/customs data.
Quarterly or event-driven reviews compare active workloads, credentials, tool use, and owners; revoke orphaned access promptly.
REST calls authenticate with a cached OAuth 2.0 client-credentials Bearer token using audience https://api.flexport.com, or an explicitly accepted broad API key. Use distinct credentials per workload and never log credentials or tokens. MCP calls use the authenticated connection to https://mcp.flexport.com/mcp and remain subject to each tool's documented account permissions.
Use Read and Grep for discovery and evidence. Use Write or Edit only for the approved artifact, code, configuration, test, or receipt described by this workflow; do not make an unapproved Flexport-side change.
Return a machine-reviewable receipt in this shape; adapt the operation values, but never place credentials or provider payloads in it:
surface: rest-v3
operation: shipment-read
decision: approved
outcome: verified
evidence:
release_sha: recorded-out-of-band
provider_reference: redacted
rollback_owner: logistics-platform
A tracking service gets shipment-only OAuth resources, while an MCP booking assistant runs for a Member with an application-level approver gate. Neither inherits the invoice importer's credential.
| Failure | Response |
|---|---|
| Endpoint permission absent | Create a replacement scoped client after approval; do not reuse a broad key. |
| MCP role insufficient | Route to an authorized operator or redesign the task as read-only. |
| Credential owner departed | Suspend and reassign or rotate before continued use. |
| Shared key discovered | Contain its storage and migrate workloads to distinct credentials. |
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin flexport-pack24 skills in this plugin
/flexport-ci-integrationGate Flexport integrations in CI with credential-free contract tests and an optional protected read-only smoke lane. Use when adding REST, MCP, webhook, version, or mutation safety checks. Trigger with: "test Flexport in CI", "Flexport contract tests", "secure Flexport CI"./flexport-common-errorsClassify Flexport REST, OAuth, webhook, and MCP failures into safe operator actions. Use when triaging status/code/message errors, permission failures, validation problems, or ambiguous mutations. Trigger with: "debug Flexport error", "Flexport 422", "Flexport permission denied"./flexport-Other plugins' skills for the same job