Build, edit, and deploy Telegram bots on FlowCastle's hosted visual flow platform.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
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 |
FlowCastle exposes an MCP server over Streamable HTTP:
Get a key: sign up β create an application β API page β MCP tab.
Claude Code
Codex
Cursor / any MCP client (JSON config)
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.
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:
search_flow_examples / get_flow_example and apply one (optionally customized) to your workspaceFull index and format description: templates/README.md.
Application-scoped REST API for contacts, contact variables, goal events, flow sends, and broadcasts:
https://api.flowcastle.ai/api/public/v1Auth uses the same app_β¦ application key (Authorization: Bearer or X-API-Key).
Step-by-step builds on the FlowCastle blog:
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.
The contents of this repository are licensed under the MIT License.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/flowcastle)<a href="https://allmcps.com/mcp/flowcastle"><img src="https://allmcps.com/api/badge/flowcastle?style=directory" alt="FlowCastle on AllMCPs" /></a>