Skip to content
VS Code

segment-mcp for VS Code

io.github.katekruger/segment-mcp

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

client:VS Code transport:stdio runtime:pypi

Install segment-mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "segment-api-token",
      "description": "SEGMENT_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "segment-region",
      "description": "SEGMENT_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "segment-mcp-mode",
      "description": "SEGMENT_MCP_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "segment-profile-token",
      "description": "SEGMENT_PROFILE_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "segment-profile-space-id",
      "description": "SEGMENT_PROFILE_SPACE_ID",
      "password": true
    }
  ],
  "servers": {
    "segment-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "segment-mcp"
      ],
      "env": {
        "SEGMENT_API_TOKEN": "${input:segment-api-token}",
        "SEGMENT_REGION": "${input:segment-region}",
        "SEGMENT_MCP_MODE": "${input:segment-mcp-mode}",
        "SEGMENT_PROFILE_TOKEN": "${input:segment-profile-token}",
        "SEGMENT_PROFILE_SPACE_ID": "${input:segment-profile-space-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

segment-mcp in other clients