pypi · segment-mcp
SEGMENT_API_TOKEN (required) · secret — Segment Public API token. Only a Workspace Owner can mint one — Segment App -> Workspace Settings -> Access Management -> Tokens -> Create Token -> Public API.
SEGMENT_REGION (required) — Workspace region: 'us' or 'eu'. No default — must be set explicitly, or the server refuses to start.
SEGMENT_MCP_MODE — read (default) | write | admin. Every tool in v0.1 is read-only regardless of this setting.
SEGMENT_PROFILE_TOKEN — Separate credential for the Profile API (not yet wired to a tool in this version). Leave unset.
SEGMENT_PROFILE_SPACE_ID — Unify Space ID for the Profile API (not yet wired to a tool in this version). Leave unset.