Guía de conector3 minutos de lectura13 herramientas MCP7 idiomas

Cómo conectar Telegram Bot a Gemini — via MCP

Envía mensajes, fotos, documentos, audio, ubicación y encuestas de Telegram desde cualquier agente de IA a través de la Telegram Bot API. 13 herramientas, autenticación con bot token. Envío + lectura ligera de actualizaciones recientes (sin long-polling).

HCPor el equipo de HelpCodeActualizado 3 min de lectura Código abierto en GitHub

Sin tarjeta de crédito · 7 días de prueba · Alternativa self-host disponible

Telegram Bot

Telegram Bot

Send Telegram messages, photos, documents, audio, location and polls from any AI agent via the Telegram Bot API. 14 tools, bot-token auth. Outbound + lightweight read of recent updates (no long-polling).

herramientas

13

Región

INTL

Categoría

Mensajería

Autenticación

Public API

Env vars requeridas

TELEGRAM_BOT_TOKEN
Instalar con un clic en Cloud

7 días de prueba gratis · Sin tarjeta de crédito

  • Prueba gratis de 7 días
    Sin tarjeta de crédito
  • RGPD y SOC 2 ready
    Datos en la UE, registros de auditoría
  • Código abierto en GitHub
    Open source · AGPL-3.0
  • Funciona con ChatGPT, Claude, Gemini
    Cualquier cliente compatible con MCP

Sáltate la instalación. Funcionando en menos de 2 minutos.

Inicia una prueba gratuita en cloud.anythingmcp.com, añade Telegram Bot con un clic y apunta tu cliente de IA (Claude, ChatGPT, Copilot o Cursor) al endpoint MCP generado. Sin Docker, sin git clone, sin experiencia de desarrollo.

Empezar prueba gratis

Resumen

Envía mensajes, fotos, documentos, audio, ubicación y encuestas de Telegram desde cualquier agente de IA a través de la Telegram Bot API. 13 herramientas, autenticación con bot token. Envío + lectura ligera de actualizaciones recientes (sin long-polling).

Prueba a pedir

Prompts de ejemplo para Telegram Bot

Haz clic en un prompt para copiarlo. Pégalo en Claude, ChatGPT, Cursor, Gemini, Copilot u OpenClaw para ejecutarlo contra este conector.

Telegram Bot · live vía MCP
Compartir
Opus 4.7

Claude es IA y puede equivocarse. Verifica siempre las respuestas.

💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → Telegram Bot, pega tus credenciales, genera una MCP API key — listo. Sin Docker, sin git clone, sin servidor local.

Telegram Bot + Gemini

Envía mensajes, fotos, documentos, audio, ubicación y encuestas de Telegram desde cualquier agente de IA a través de la Telegram Bot API. 13 herramientas, autenticación con bot token. Envío + lectura ligera de actualizaciones recientes (sin long-polling).

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:

TELEGRAM_BOT_TOKEN

Paso 1 — Obtener credenciales

Setup:

  1. In Telegram, open chat with @BotFather → /newbot → pick a display name and a username ending in bot.
  2. BotFather replies with an HTTP API token like 123456789:ABCDEFghijklmnopqrstuvwxyz. Treat as a secret — anyone with it can send as your bot.
  3. Set TELEGRAM_BOT_TOKEN to the full token.

Authentication model (Telegram-specific): the bot token goes in the URL path, NOT in a header. The base URL is https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN} and every endpoint is appended as /methodName. The adapter substitutes the token via the {{TELEGRAM_BOT_TOKEN}} env-var template in baseUrl.

…(continued in the in-app connector instructions)

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 Gemini

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 muestra YOUR_SERVER_ID.

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/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Obtén tu MCP API key desde AnythingMCP → MCP Servers → tu servidor → API keys.
  2. Guarda el archivo y reinicia gemini.
  3. Ejecuta /mcp en la Gemini CLI — Telegram Bot debería aparecer como disponible.
  4. Vertex AI Studio: pasa https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID al array tools de tu petición con el mismo header X-API-Key.

Herramientas disponibles

ToolWhat it does
telegram_bot_get_meReturn the bot's own user info: id, username, first_name, can_join_groups, can_read_all_group_messages, supports_inline_queries
telegram_bot_send_messageSend a text message to a chat
telegram_bot_send_photoSend a photo (JPG/PNG, ≤5MB via URL) by HTTPS URL or by reusable file_id
telegram_bot_send_documentSend a document (any type, ≤20MB via URL) by HTTPS URL or file_id
telegram_bot_send_audioSend an audio file (MP3, M4A, ≤20MB via URL)
telegram_bot_send_voiceSend a voice note (OGG-Opus encoded)
telegram_bot_send_videoSend a video (MP4, H
telegram_bot_send_locationSend a location point
telegram_bot_send_pollSend a poll (regular or quiz)
telegram_bot_edit_message_textEdit the text of a previously-sent message (your bot's own messages only)
telegram_bot_delete_messageDelete a message the bot sent (within ~48 hours for groups, anytime for own DMs)
telegram_bot_get_chatFetch chat info: title, type (private/group/supergroup/channel), photo, description, invite_link, member_count, permissions
telegram_bot_get_updatesLong-poll recent inbound messages (one-shot — pulls all updates since the last offset+1)

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 personalizzati.

Siguientes pasos

¿Te ha sido útil esta guía?

Tu agente de Telegram Bot está a un clic.

Instala el conector, pega la clave y pregunta a Gemini. 7 días gratis, sin tarjeta de crédito.

Guías relacionadas

Conectores

Cómo conectar Telegram Bot a Meta Muse — via MCP

Send Telegram messages, photos, documents, audio, location and polls from any AI agent via the Telegram Bot API. 13 tools, bot-token auth. Outbound + lightweight read of recent updates (no long-polling).

Conectores

Cómo conectar Telegram Bot a ChatGPT — via MCP

Envía mensajes, fotos, documentos, audio, ubicación y encuestas de Telegram desde cualquier agente de IA a través de la Telegram Bot API. 13 herramientas, autenticación con bot token. Envío + lectura ligera de actualizaciones recientes (sin long-polling).

Conectores

Cómo conectar Telegram Bot a Claude — via MCP

Send Telegram messages, photos, documents, audio, location and polls from any AI agent via the Telegram Bot API. 13 tools, bot-token auth. Outbound + lightweight read of recent updates (no long-polling).

Conectores

Cómo conectar Telegram Bot a Cursor — via MCP

Envía mensajes, fotos, documentos, audio, ubicación y encuestas de Telegram desde cualquier agente de IA a través de la Telegram Bot API. 13 herramientas, autenticación con bot token. Envío + lectura ligera de actualizaciones recientes (sin long-polling).

Conectores

Telegram Bot a MCP — Pilota Telegram Bot desde cualquier agente IA

Envía mensajes, fotos, documentos, audio, ubicación y encuestas de Telegram desde cualquier agente de IA a través de la Telegram Bot API. 13 herramientas, autenticación con bot token. Envío + lectura ligera de actualizaciones recientes (sin long-polling).

Conectores

Cómo conectar Outlook (Microsoft 365 Mail and Calendar) a Gemini — via MCP

Deja que tu IA trabaje en Outlook: busca y lee correos, archiva mensajes en carpetas, redacta borradores, envía y responde, consulta el calendario, crea y mueve reuniones y encuentra huecos libres con tus compañeros. Microsoft 365 y Outlook.com a través de Microsoft Graph, con tu cuenta de Microsoft.