NestDaddy

segment-mcp

io.github.katekruger/segment-mcp · v0.1.2

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

Connect Runs on your machine

Terminal
claude mcp add segment-mcp -e SEGMENT_API_TOKEN=<SEGMENT_API_TOKEN> -e SEGMENT_REGION=<SEGMENT_REGION> -e SEGMENT_MCP_MODE=<SEGMENT_MCP_MODE> -e SEGMENT_PROFILE_TOKEN=<SEGMENT_PROFILE_TOKEN> -e SEGMENT_PROFILE_SPACE_ID=<SEGMENT_PROFILE_SPACE_ID> -- uvx segment-mcp==0.1.2
claude_desktop_config.json
{
  "mcpServers": {
    "segment-mcp": {
      "command": "uvx",
      "args": [
        "segment-mcp==0.1.2"
      ],
      "env": {
        "SEGMENT_API_TOKEN": "<SEGMENT_API_TOKEN>",
        "SEGMENT_REGION": "<SEGMENT_REGION>",
        "SEGMENT_MCP_MODE": "<SEGMENT_MCP_MODE>",
        "SEGMENT_PROFILE_TOKEN": "<SEGMENT_PROFILE_TOKEN>",
        "SEGMENT_PROFILE_SPACE_ID": "<SEGMENT_PROFILE_SPACE_ID>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "segment-mcp": {
      "command": "uvx",
      "args": [
        "segment-mcp==0.1.2"
      ],
      "env": {
        "SEGMENT_API_TOKEN": "<SEGMENT_API_TOKEN>",
        "SEGMENT_REGION": "<SEGMENT_REGION>",
        "SEGMENT_MCP_MODE": "<SEGMENT_MCP_MODE>",
        "SEGMENT_PROFILE_TOKEN": "<SEGMENT_PROFILE_TOKEN>",
        "SEGMENT_PROFILE_SPACE_ID": "<SEGMENT_PROFILE_SPACE_ID>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "segment-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "segment-mcp==0.1.2"
      ],
      "env": {
        "SEGMENT_API_TOKEN": "<SEGMENT_API_TOKEN>",
        "SEGMENT_REGION": "<SEGMENT_REGION>",
        "SEGMENT_MCP_MODE": "<SEGMENT_MCP_MODE>",
        "SEGMENT_PROFILE_TOKEN": "<SEGMENT_PROFILE_TOKEN>",
        "SEGMENT_PROFILE_SPACE_ID": "<SEGMENT_PROFILE_SPACE_ID>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
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
Optional
read (default) | write | admin. Every tool in v0.1 is read-only regardless of this setting.
SEGMENT_PROFILE_TOKEN
Optional
Separate credential for the Profile API (not yet wired to a tool in this version). Leave unset.
SEGMENT_PROFILE_SPACE_ID
Optional
Unify Space ID for the Profile API (not yet wired to a tool in this version). Leave unset.

Details

Package[email protected] (PYPI, stdio)
First published30 Aug 2026
Last updated30 Aug 2026
Registry nameio.github.katekruger/segment-mcp

More communication servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.