Telegram bot templates + MCP server for AI bot development
MCP serverCommunicationThis integration lets your AI build, edit, and deploy Telegram bots on FlowCastle, a hosted platform where bots are put together as visual flows. Once added, your AI can take a bot from an idea to a working Telegram bot and make changes to it whenever you need.
Use Telegram bot templates + MCP server for AI bot development in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Telegram bot templates + MCP server for AI bot development and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use Telegram bot templates + MCP server for AI bot development to list applications
Needs your own account with this service. Keys stay in your vault.
Details
Available today. Use it from your connected AI after setup.
After adding it, ask your AI to create a Telegram bot for you, or have it start from the templates in the flowcastle repository on GitHub.
What your AI can do with it
- Build Telegram bots by arranging steps visually
- Edit existing bots when you want changes
- Deploy bots so they run on Telegram
- Start new bots from ready-made templates
- Keep bots running on FlowCastle's hosted platform
Install Telegram bot templates + MCP server for AI bot development
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user telegram-bot-templates-mcp-serve 'https://api.flowcastle.ai/api/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://api.flowcastle.ai/api/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=telegram-bot-templates-mcp-serve&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93Y2FzdGxlLmFpL2FwaS9tY3AifQ==Open the link and Cursor adds the server at that address.
ChatGPT
https://api.flowcastle.ai/api/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add telegram-bot-templates-mcp-serve --url 'https://api.flowcastle.ai/api/mcp'Run it once, then sign in with codex mcp login telegram-bot-templates-mcp-serve if the server asks for an account.
From the project's README
As published by flowcastle/telegram-bot-templates in README.md.
Ready-to-use Telegram bot templates and an MCP server — build, edit, and deploy Telegram bots from Claude Code, Codex, Cursor, or any MCP-capable AI agent. No SDK boilerplate: describe the bot, and your agent assembles the flow.
FlowCastle is a visual workflow builder for Telegram bots and web chat: flows, triggers, conditions, AI steps, payments (Stripe / YooKassa / Telegram Stars), broadcasts, drip sequences, and integrations (Gmail, Google Sheets, Notion, OpenAI, …) — with a REST API and an MCP server, so bot development works straight from your AI coding agent. Every block an agent creates through MCP is the same block you can drag, wire, and edit visually.
This repo is for developers. It contains:
| Path | What it is |
|---|---|
templates/ | 23 production bot templates as JSON — the same source that powers the template gallery and the MCP get_flow_example tool |
mcp/ | MCP server reference: endpoint, auth, all 16 tools, and a snapshot of the flow-action schema used by apply_actions |
Build a bot from your AI agent (MCP)
FlowCastle exposes an MCP server over Streamable HTTP:
POST https://api.flowcastle.ai/api/mcp
Authorization: Bearer <your-application-api-key> # starts with app_
Get a key: sign up → create an application → API page → MCP tab.
Claude Code
export FLOWCASTLE_MCP_TOKEN='<your-application-api-key>'
claude mcp add --transport http flowcastle https://api.flowcastle.ai/api/mcp \
--header "Authorization: Bearer $FLOWCASTLE_MCP_TOKEN"
Codex
codex mcp add flowcastle \
--url https://api.flowcastle.ai/api/mcp \
--bearer-token-env-var FLOWCASTLE_MCP_TOKEN
Cursor / any MCP client (JSON config)
{
"mcpServers": {
"flowcastle": {
"type": "http",
"url": "https://api.flowcastle.ai/api/mcp",
"headers": {
"Authorization": "Bearer <your-application-api-key>"
}
}
}
}
Then just ask your agent things like:
"Look at my FlowCastle workspace and add a lead-qualification flow: greet on /start, ask three button questions, save answers to contact variables, and notify me."
The agent reads your workspace with get_workspace_summary / get_flow_context, drafts a batch of flow-builder actions, checks it with validate_actions, and applies it with apply_actions. See mcp/README.md for the full tool reference.
Templates
Each JSON file in templates/ is a complete bot: metadata (title, summary, use-cases, suggested variables, required modules) plus a schemaExample.actions array — an ordered batch of create_flow / create_block / create_link / create_variable operations in the exact format apply_actions accepts.
Three ways to use them:
- One-click install from the gallery: flowcastle.ai/templates
- Via MCP — ask your agent to
search_flow_examples/get_flow_exampleand apply one (optionally customized) to your workspace - As reference — study how real flows wire triggers, conditions, wait-for-reply steps, payments, and AI blocks
Full index and format description: templates/README.md.
REST Public API
Application-scoped REST API for contacts, contact variables, goal events, flow sends, and broadcasts:
- Base URL:
https://api.flowcastle.ai/api/public/v1 - Interactive docs (Swagger): https://api.flowcastle.ai/api/public/docs
- OpenAPI spec: https://api.flowcastle.ai/api/public/openapi.json
Auth uses the same app_… application key (Authorization: Bearer or X-API-Key).
Guides
Step-by-step builds on the FlowCastle blog:
- Build a Lead Bot in Telegram in 10 Minutes
- Build an AI Support Bot for Telegram
- I Replaced My Morning Apps With One Telegram Bot
Links
- Product: https://flowcastle.ai
- Dashboard: https://dashboard.flowcastle.ai
- Template gallery: https://flowcastle.ai/templates
- API docs: https://api.flowcastle.ai/api/public/docs
Contributing
Found a bug in a template, or built a flow worth sharing? Open an issue or PR — templates are plain JSON, and validate_actions (via MCP) will tell you if a batch is well-formed.
License
The contents of this repository are licensed under the MIT License.
Tools it offers (51)
What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
list_applicationscreate_applicationupdate_applicationimport_website_knowledgeget_website_importlist_watched_groupslist_telegram_operationsexecute_telegram_operationget_telegram_operationset_watched_groupssync_dialog_contactsget_workspace_summaryget_variable_contextget_application_contextget_module_catalogget_module_detailsinstall_modulesearch_flowsget_flow_contextget_block_detailsget_action_schemaget_design_guidelinesget_funnel_analyticsget_flow_analyticsget_survey_resultssearch_flow_examplesget_flow_examplevalidate_actionsapply_actionsdeploy_application
Signals
- GitHub stars
- 2
- Last commit
- Jul 2026
Advanced
- Delivery
- flowcastle MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
ai-flowcastle-flowcastle- Source
- github.com/flowcastle/telegram-bot-templates
- Hosted endpoint
https://api.flowcastle.ai/api/mcp
github.com/flowcastle/telegram-bot-templates
More in Communication
MCP server · builderio
More in Communicationpalisade
MCP server · palisadeemail
More in Communicationagent-native-brain
MCP server · builderio
More in Communicationqr-generator
MCP server · modelcontextprotocol
More in Communicationshipmail-mcp
MCP server · shipmail-to
More in Communicationagentphone
MCP server · agentphone-ai
More in Communication