Skip to main content

segment-mcp

io.github.katekruger/segment-mcp

v0.1.2Updated Aug 30, 2026stdio · PyPI

Read-first MCP server for Twilio Segment: routing, stale sources, delivery health, governance.

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add segment-mcp -e 'SEGMENT_API_TOKEN=<your-segment-api-token>' -e 'SEGMENT_REGION=<your-segment-region>' -e SEGMENT_MCP_MODE=read -- uvx segment-mcp==0.1.2

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • SEGMENT_API_TOKEN
    Env var· 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
    Env var· required
    Workspace region: 'us' or 'eu'. No default — must be set explicitly, or the server refuses to start.
  • SEGMENT_MCP_MODE
    Env var· optional
    read (default) | write | admin. Every tool in v0.1 is read-only regardless of this setting.Default: read
  • SEGMENT_PROFILE_TOKEN
    Env var· optional
    Separate credential for the Profile API (not yet wired to a tool in this version). Leave unset.
  • SEGMENT_PROFILE_SPACE_ID
    Env var· optional
    Unify Space ID for the Profile API (not yet wired to a tool in this version). Leave unset.

Listed in the official MCP Registry since Aug 30, 2026. Mirrored daily; last checked Nov 26, 2026.