Resumen
Deja que tu IA trabaje con tu workspace de Twilio Segment: lista fuentes, destinos y warehouses, revisa el volumen de eventos, la entrega y las sincronizaciones de los warehouses, y lee tracking plans, Functions, el uso y el audit trail. Workspaces en EE. UU. y la UE.
Configuración guiada
Conecta Twilio Segment a Microsoft Copilot en 2 minutos
Empieza la prueba gratuita en AnythingMCP Cloud, conecta Twilio Segment con la configuración guiada y añade tu URL MCP a Microsoft Copilot. Sin código y sin servidores que mantener.
Sin tarjeta de crédito · 7 días de prueba · Alternativa self-host disponible
Prueba a pedir
Prompts de ejemplo para Twilio Segment
Haz clic en un prompt para copiarlo. Pégalo en Claude, ChatGPT, Cursor, Gemini, Copilot u OpenClaw para ejecutarlo contra este conector.
Claude es IA y puede equivocarse. Verifica siempre las respuestas.
💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → Twilio Segment, pega tus credenciales, genera una MCP API key y listo. Sin Docker, sin
git clone, sin servidor local.
Twilio Segment + Microsoft Copilot
Deja que tu IA trabaje con tu workspace de Twilio Segment: lista fuentes, destinos y warehouses, revisa el volumen de eventos, la entrega y las sincronizaciones de los warehouses, y lee tracking plans, Functions, el uso y el audit trail. Workspaces en EE. UU. y la UE.
Requisitos previos
Las instrucciones de configuración completas están incluidas en el conector (visibles en el store al seleccionarlo). Las variables de entorno requeridas:
SEGMENT_API_HOST, SEGMENT_API_TOKEN
Paso 1 — Obtener credenciales
- Como Workspace Owner, abre Settings → Workspace settings → Access Management → Tokens (
https://app.segment.com/goto-my-workspace/settings/access-management/tokens) y haz clic en Create Token. - Elige un token de Public API, no un token de Config API. Dale el rol más pequeño que cubra lo que necesitas: Workspace Member con roles de solo lectura (por ejemplo Source Read-only y Tracking Plan Read-only) para leer, Workspace Owner solo si vas a activar las herramientas de escritura.
- Segment muestra el token una sola vez: cópialo enseguida en
SEGMENT_API_TOKEN. Se envía como token Bearer y solo a Segment. - Ajusta
SEGMENT_API_HOSTa la región del workspace:https://api.segmentapis.compara un workspace de EE. UU.,https://eu1.api.segmentapis.compara un workspace de la UE. Un token solo funciona en su propia región. - Instala el conector y ejecuta
segment_get_workspacepara comprobar la conexión. Un token pertenece a un solo workspace, así que instala un conector por workspace.
Qué lee: fuentes, destinos con sus mappings de Actions, warehouses con su estado de conexión y sus últimas sincronizaciones, el volumen de eventos en el tiempo, Delivery Overview (dónde se pierden los eventos, paso a paso, con los motivos), métricas de entrega por destino, tracking plans y sus reglas (Protocols), Functions con su código, el uso diario de llamadas a la API y de MTU, y el Audit Trail con quién cambió qué. Los tracking plans necesitan Protocols, las Functions la función Functions y los mappings las Destination Subscriptions en el workspace.
Secretos: los campos de configuración que suelen contener las credenciales de destinos y warehouses (claves API, secretos, tokens, contraseñas) se omiten. Eso sí, segment_get_source devuelve las write keys de la fuente, con las que cualquiera puede enviar datos a esa fuente.
Límites: Segment limita las peticiones por token, dirección IP y endpoint, y responde 429 con una cabecera Retry-After. Algunos endpoints son más estrictos: las sincronizaciones de warehouses permiten 2 llamadas por minuto, el volumen de eventos 60 por minuto, las reglas de tracking plans y el estado de conexión de warehouses 200 por minuto. Las listas llegan en páginas de hasta 1.000 elementos, y la IA sigue pagination.next hasta tenerlo todo.
Desactivadas al instalar: segment_update_source y segment_update_destination renombran una fuente o un destino o lo activan y desactivan, y uno desactivado descarta los datos hasta que se vuelve a activar. segment_delete_source y segment_delete_destination no se pueden deshacer. Un administrador activa estas herramientas a propósito, e incluso entonces la IA confirma contigo cada cambio; un borrado espera a que confirmes el id y el nombre.
Errores comunes: 403 "Not authorized to perform this operation": el token es incorrecto o está revocado, pertenece a un workspace de la otra región, es un token de Config API o su rol no cubre este recurso. 401: no se envió ningún token. 404: no hay ningún recurso con ese id en este workspace. 422: falta un parámetro o no es válido, por ejemplo un periodo de Delivery Overview más largo de lo que permite la granularidad. Un mensaje sobre una función significa que el workspace no tiene Protocols, Functions o Destination Subscriptions. 429: espera el tiempo indicado en Retry-After.
El conector no envía eventos: la Tracking API de Segment usa la write key de una fuente en otro host. Tampoco crea fuentes, destinos ni warehouses, y no cubre filtros, transformaciones, Reverse ETL, audiencias y computed traits de Engage, la gestión de accesos, las reglas de eliminación y supresión ni el catálogo.
Paso 2 — Instalar el adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Paso 3 — Añadir el conector en Microsoft Copilot
La URL de tu servidor: en AnythingMCP abre MCP Servers → el servidor donde está este conector y copia su URL (
https://cloud.anythingmcp.com/mcp/…). Úsala donde esta guía muestraYOUR_SERVER_ID.
Microsoft Copilot usa servidores MCP a través de agentes creados en Copilot Studio: añades AnythingMCP a un agente como herramienta y luego publicas el agente en Microsoft 365 Copilot y Teams. Copilot Studio se conecta desde la nube de Microsoft por Streamable HTTP, que AnythingMCP admite.
- En Copilot Studio, abre tu agente (o crea uno), ve a Tools y elige Add a tool → New tool → Model Context Protocol.
- Escribe un Server name (por ejemplo
AnythingMCP), una Server description que diga qué hace el conector y la Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio usa la descripción para decidir cuándo llamar al servidor. - En la autenticación, elige API key, pon Type en Header y
X-API-Keycomo nombre de la cabecera, y selecciona Create. - En Add tool, elige Create a new connection, pega una clave de API MCP de AnythingMCP (MCP Servers → tu servidor → API keys) y selecciona Add to agent.
- Pruébalo en el panel Test del agente: pide algo que necesite las herramientas de
Twilio Segment. - Selecciona Publish y luego Channels → Microsoft 365 and Microsoft Teams, deja marcada Make agent available in Microsoft Copilot y elige Add channel. See agent in Teams lo instala para ti; en Microsoft 365 Copilot, escribe @ y elige el agente.
¿Prefieres que cada persona inicie sesión? En lugar de la clave de API elige OAuth 2.0 → Dynamic discovery: cada usuario inicia sesión en AnythingMCP la primera vez que el agente lo llama.
¿Lo alojas tú mismo? Usa la dirección HTTPS pública de tu instancia en lugar de https://cloud.anythingmcp.com. Copilot Studio se conecta desde la nube de Microsoft, así que localhost no funciona.
Herramientas disponibles
| Tool | What it does |
|---|---|
segment_get_workspace | Get the Segment workspace the token belongs to (id, slug, name) |
segment_list_sources | List the workspace's sources (websites, apps, servers and cloud apps that send data) with id, name, slug, enabled flag, source type… |
segment_get_source | Get one source by id: name, slug, enabled flag, source type, labels, write keys, settings and the id of the tracking plan connected to it |
segment_list_source_destinations | List the destinations connected to one source (id, name, enabled flag, destination type) |
segment_list_source_warehouses | List the warehouses connected to one source (id, name, enabled flag, warehouse type) |
segment_get_source_schema_settings | Get a source's schema settings: whether unplanned track events, properties and traits are allowed or blocked, what happens on tracking plan… |
segment_list_destinations | List the workspace's destinations (tools Segment sends data to) with id, name, enabled flag, destination type, catalog metadata id and the… |
segment_get_destination | Get one destination by id: name, enabled flag, destination type, source id and its settings |
segment_list_destination_subscriptions | List the mappings (subscriptions) of an Actions destination: id, name, action, trigger (which events it fires on) and enabled flag |
segment_get_destination_delivery_metrics | Delivery metrics summary of one destination for one source: totals per metric (delivered, discarded, retried and so on) with breakdowns |
segment_list_warehouses | List the workspace's warehouses (id, name, enabled flag, warehouse type such as Snowflake, BigQuery, Redshift, Postgres) |
segment_get_warehouse | Get one warehouse by id: name, enabled flag, warehouse type and its connection settings without passwords, keys and other secrets |
segment_get_warehouse_connection_state | Check whether Segment can currently connect to a warehouse with its saved settings (e.g |
segment_list_warehouse_syncs | Recent sync reports of a warehouse for every connected source: source id, start and end, status, duration, rows synced and notices |
segment_list_tracking_plans | List the tracking plans (id, name, slug, description, type, created and updated) |
segment_get_tracking_plan | Get one tracking plan by id (name, slug, description, type, created and updated) |
segment_list_tracking_plan_rules | List the rules of a tracking plan: per event or trait the rule type, key, JSON Schema of the allowed properties, version and dates |
segment_list_tracking_plan_sources | List the sources connected to a tracking plan (id, name, slug, enabled flag, source type) |
segment_list_functions | List the workspace's Functions of one type (id, name, description, type, created) |
segment_get_function | Get one Function by id, including its JavaScript code, declared settings (names and types, not values) and type |
segment_get_event_volume | Event volume of the workspace over time: totals and series per bucket, optionally grouped by event name, event type or source and filtered… |
segment_get_delivery_overview | Delivery Overview counts for one step of a source's pipeline: successfully-received and failed-on-ingest (events reaching Segment)… |
segment_get_daily_api_calls_usage | Daily cumulative API call counts of the workspace for one usage month (the volume Segment bills on for API-based plans) |
segment_get_daily_mtu_usage | Daily cumulative monthly tracked users (MTU) of the workspace for one usage month: anonymous, identified, anonymous then identified and… |
segment_list_audit_events | List Audit Trail events (who changed what and when): id, timestamp, type (e.g |
segment_update_source | Rename a source or switch it on or off |
segment_update_destination | Rename a destination or switch it on or off |
segment_delete_source | Delete a source for good, with its settings and connections; data sent with its write key is no longer accepted |
segment_delete_destination | Delete a destination for good, with its settings and mappings |
Ejemplos de prompts
- "¿Cuáles de nuestros destinos están desactivados y de qué fuentes leen?"
- "Muéstrame el Delivery Overview de nuestra fuente de iOS en las últimas 24 horas y dónde se descartaron eventos."
- "¿Cómo evolucionó el volumen de eventos por fuente en los últimos 7 días, y cuántos MTU llevamos este mes?"
- "Según el audit trail, ¿quién cambió fuentes o destinos en las últimas dos semanas?"
FAQ
¿Para qué Copilot es? Para Microsoft 365 Copilot en el trabajo, mediante agentes de Copilot Studio. La app de Microsoft Copilot para cuentas personales no permite añadir tu propio servidor MCP.
¿Qué necesito? Una cuenta de trabajo con acceso a Copilot Studio (licencia o prueba) para crear el agente. Quien lo use en Microsoft 365 Copilot o Teams necesita acceso al agente: compártelo o pide a un administrador que lo publique para la organización. Si tu organización aplica directivas de datos a los conectores de Power Platform, también cubren los servidores MCP.
El agente no llama a las herramientas. Comprueba que el nombre de la cabecera sea exactamente X-API-Key y que la clave pertenezca al mismo servidor MCP que la URL, y escribe una Server description concreta: Copilot Studio la usa para decidir cuándo llamar al servidor. Vuelve a publicar el agente después de cada cambio; en un chat abierto, escribe "start over" para usar la nueva versión.
Siguientes pasos
- Página del conector
- Conectar a Claude
- Conectar a ChatGPT
- Conectar a Cursor
- Conectar a Gemini
- Conectar a Meta Muse
¿Te ha sido útil esta guía?