segment-mcp server
io.github.katekruger/segment-mcp·v0.1.2Read-first MCP server for Twilio Segment: routing, stale sources, delivery health, governance.
0 stars32 downloads/wk
Reviews
Write oneNobody has reviewed segment-mcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
segment-mcp tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-29 · same rubric, same numbers if you re-run it
- Code scan18 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
How segment-mcp compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 60% of 48,243 servers
- Downloads a week
- 32
- more than 20% of 12,306 servers with a package
Install segment-mcp in Claude Code, Cursor or VS Code
claude mcp add segment-mcp -- uvx segment-mcp
What the publisher says
From the segment-mcp repository's README, as published. We do not edit it. Read it on GitHub
segment-mcp
<!-- mcp-name: io.github.katekruger/segment-mcp -->
A read-first MCP server for Twilio Segment. Answers which destinations get which events, which sources are dead, and which are governed by nothing — the questions nobody can answer without clicking through forty screens.
Read-only by default
SEGMENTMCPMODE defaults to read, and every tool this server ships today is a read. Shipping with zero write tools is a feature, not a limitation — see BUILD-PLAN.md §2. write and admin modes exist in the tier model (src/segment_mcp/modes.py) for when gated writes land; right now there is nothing for them to unlock.
What this refuses to do — permanently, not "for now"
POST /regulations and POST /regulations/sources/{id} — workspace-scoped, irreversible deletion or suppression of user data across every source — are unreachable in every mode, with no configuration path to enable them. Three independent things enforce this: the mode-authorization layer refuses it before even checking the current mode, the API client refuses to send the request before it reaches the network, and no tool this server registers references it in any form.
This isn't a gate waiting for the right permission level. It's a line, because these endpoints accept an array of subjects and one malformed or hallucinated call can permanently delete thousands of profiles with no undo. Full reasoning: docs/what-this-refuses-to-do.md.
Quick start
Requires a Segment workspace on Team or Business tier and a Public API token (see Prerequisites below).
gh repo clone katekruger/segment-mcp
cd segment-mcp
uv sync
cp .env.example .env # fill in SEGMENT_API_TOKEN and SEGMENT_REGION
uv run segment-mcpPoint an MCP client (Claude Desktop, Claude Code, etc.) at it over stdio. The server refuses to start — loudly, with a clear message — if the token, region, or workspace tier isn't right; see Startup checks.
The five tools
Each composes several Public API calls into one structured answer, not a raw endpoint dump:
Prerequisites
Add-on plans. There is no workaround, and the server's startup checks fail with a clear message rather than a raw 403 if your workspace doesn't qualify.
- Team or Business tier. The Public API is not available on Free or
→ Workspace Settings → Access Management → Tokens → Create Token → Public API (not Config API).
- A Public API token. Only a Workspace Owner can mint one: Segment App
Region configuration
SEGMENT_REGION=us # or euThere is no default — you must set this explicitly. An EU workspace whose API calls are pointed at the US endpoint doesn't error; it just silently returns nothing, which is a far worse failure mode than a crash. This server's startup checks call the API once with your configured region and fail loudly if the token doesn't actually belong to it, naming the region that does.
Startup checks
All fatal — the server refuses to start rather than fail confusingly on the first tool call:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
segment-mcp: common questions
- Is segment-mcp server safe?
- Mostly: it is graded B (80/100). Read the segment-mcp safety report
- How do I install segment-mcp?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does segment-mcp need an API key?
- Yes. The registry entry asks for
SEGMENT_API_TOKEN. - Is segment-mcp maintained?
- The last commit was 8 days ago (2026-10-28). The latest release is v0.1.2.
- How does segment-mcp compare with other MCP servers?
- safety score 80/100 (higher than 60% of 48,243 servers); downloads a week 32 (more than 20% of 12,306 servers with a package). Full comparison.