No install? Use cloud.anythingmcp.com directly.
Sign in, install the Heap in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Send events, identify users and update properties in Heap (product analytics) from any AI agent. 5 tools, app_id-based auth.
💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → Heap, pega tus credenciales, genera una MCP API key — listo. Sin Docker, sin
git clone, sin servidor local.
Heap + Gemini
Send events, identify users and update properties in Heap (product analytics) from any AI agent. 5 tools, app_id-based auth.
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:
HEAP_APP_ID
Paso 1 — Obtener credenciales
heap.io/docs/server-side-apis).
Setup:
- Sign in to https://app.heap.io → top-right → Account → Projects → select project → Project ID (called
app_id). - Set
HEAP_APP_IDto the numeric app/project ID.
Authentication: NONE — Heap's server-side API uses the app_id in the request body to route events to your project. There's no secret on the ingestion endpoint (anyone with your app_id can fake events — same trust model as Google Analytics client-side JS).
…(continued in the in-app connector instructions)
Paso 2 — Instalar el adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Paso 3 — Añadir el conector en Gemini
Gemini CLI lee servidores MCP desde ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json en Windows). Añade:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Obtén tu MCP API key desde AnythingMCP → Perfil → MCP API Keys → Nueva Key.
- Guarda el archivo y reinicia
gemini. - Ejecuta
/mcpen la Gemini CLI —Heapdebería aparecer como disponible. - Vertex AI Studio: pasa
https://cloud.anythingmcp.com/mcpal arraytoolsde tu petición con el mismo header Bearer.
Herramientas disponibles
| Tool | What it does |
|---|---|
heap_track_event | Track a single behavioral event for a user |
heap_bulk_track | Bulk-track many events in one call (up to 1000 events, 1MB total) |
heap_add_user_properties | Set or update user-level properties (Heap merges with existing) |
heap_add_account_properties | Set or update properties on an account (B2B model — accounts group users) |
heap_add_user_to_account | Associate a user (identity) with an account (account_id) |
FAQ
¿Gemini 1.5 Pro o 2.x soportan MCP? Sí — Gemini CLI ≥ 0.4 y la API de tools de Vertex AI aceptan conectores MCP httpUrl con header Bearer.
Siguientes pasos
¿Te ha sido útil esta guía?