Segment integration
Customer data platform Public API for managing workspace configuration. Create and manage sources, destinations, tracking plans, warehouses, users, labels, and audit trails. Essential for programmatic workspace administration, data governance, and infrastructure management.
Say what should happen.
The workflow builds itself.
Common Segment use cases
- configuration check
- source cleanup
- data governance
- plan inspection
- data flow mapping
- governance removal
- source audit
- access control
- metadata lookup
- settings discovery
What you can do with Segment
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Tracking plan, 11 operations
add_source_to_tracking_planAdd source to tracking planPOSTAgents: ask firstConnects a source to a tracking plan.create_tracking_planCreate tracking planPOSTAgents: ask firstCreates a new tracking plan in Segment.delete_tracking_planDelete tracking planDELETEAgents: ask firstDeletes a tracking plan from Segment.get_tracking_planGet tracking planGETAgents: ask firstRetrieves details for a specific tracking plan.list_rules_from_tracking_planList rules from tracking planGETAgents: ask firstLists all rules in a tracking plan.list_sources_from_tracking_planList sources from tracking planGETAgents: ask firstLists all sources connected to a specific tracking plan.list_tracking_plansList tracking plansGETAgents: ask firstLists all tracking plans in the Segment workspace.remove_source_from_tracking_planRemove source from tracking planDELETEAgents: ask firstRemoves a source from a tracking plan.replace_rules_in_tracking_planReplace rules in tracking planPUTAgents: ask firstReplaces all rules in a tracking plan with a complete new ruleset using PUT semantics.update_rules_in_tracking_planUpdate rules in tracking planPATCHAgents: ask firstUpdates specific rules in a tracking plan using PATCH semantics.update_tracking_planUpdate tracking planPATCHAgents: ask firstUpdates a Segment tracking plan.
Source, 7 operations
create_sourceCreate sourcePOSTAgents: ask firstCreates a new data source in Segment.delete_sourceDelete sourceDELETEAgents: ask firstDeletes a source from Segment.get_sourceGet sourceGETAgents: ask firstRetrieves details for a specific Segment source.list_connected_destinations_from_sourceList connected destinations from sourceGETAgents: ask firstLists all destinations connected to a specific source.list_connected_warehouses_from_sourceList connected warehouses from sourceGETAgents: ask firstLists all warehouses connected to a specific source.list_sourcesList sourcesGETAgents: ask firstLists all data sources in the Segment workspace.update_sourceUpdate sourcePATCHAgents: ask firstUpdates a Segment source configuration.
Destination, 5 operations
create_destinationCreate destinationPOSTAgents: ask firstCreates a new destination in Segment.delete_destinationDelete destinationDELETEAgents: ask firstDeletes a destination from Segment.get_destinationGet destinationGETAgents: ask firstRetrieves details for a specific Segment destination.list_destinationsList destinationsGETAgents: ask firstLists all destinations in the Segment workspace.update_destinationUpdate destinationPATCHAgents: ask firstUpdates a Segment destination configuration.
User, 5 operations
create_invitesCreate invitesPOSTAgents: ask firstInvites new users to the Segment workspace.delete_usersDelete usersDELETEAgents: ask firstDeletes users from the Segment workspace.get_userGet userGETAgents: ask firstRetrieves details for a specific workspace user.list_invitesList invitesGETAgents: ask firstLists all pending invites in the workspace.list_usersList usersGETAgents: ask firstLists all users in the Segment workspace.
Catalog, 4 operations
get_destination_metadataGet destination metadataGETAgents: ask firstRetrieves metadata for a specific destination type.get_destinations_catalogGet destinations catalogGETAgents: ask firstRetrieves the full catalog of available destination types.get_source_metadataGet source metadataGETAgents: ask firstRetrieves metadata for a specific source type.get_sources_catalogGet sources catalogGETAgents: ask firstRetrieves the full catalog of available source types.
Label, 3 operations
create_labelCreate labelPOSTAgents: ask firstCreates a new label in the Segment workspace.delete_labelDelete labelDELETEAgents: ask firstDeletes a label from the Segment workspace.list_labelsList labelsGETAgents: ask firstLists all labels in the Segment workspace.
Warehouse, 2 operations
get_warehouseGet warehouseGETAgents: ask firstRetrieves details for a specific warehouse.list_warehousesList warehousesGETAgents: ask firstLists all warehouses in the Segment workspace.
Audit, 1 operation
list_audit_eventsList audit eventsGETAgents: ask firstLists audit trail events for the workspace.
Workspace, 1 operation
get_workspaceGet workspaceGETAgents: ask firstRetrieves details for the current Segment workspace.
Use Segment from Claude Code, Cursor or Codex
Connect Segment in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Segment operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Segment
- Create your workspace
Sign up free. Nothing to install.
- Connect Segment once
Add your Segment connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Segment integration FAQ
What can you do with the Segment integration?
LiveContext exposes 39 operations on Segment, covering tracking plan, source, destination and user. Common uses include configuration check, source cleanup and data governance.
