# FlowCastle MCP server

Build, edit, and deploy Telegram bots on FlowCastle's hosted visual flow platform.

## Facts

- Endpoint: https://api.flowcastle.ai/api/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: not graded (servers behind sign-in can't be scanned)
- Tools: 36
- Category: Communication · source: registry
- Repository: https://github.com/FlowCastle/telegram-bot-templates
- Last probed: 2026-09-03 · first listed: 2026-07-14
- Directory page: https://gateturbo.com/mcp/flowcastle · this document: https://gateturbo.com/mcp/flowcastle.md · JSON: https://gateturbo.com/api/directory/servers/flowcastle

## Tools (36)

- `list_applications`: List the applications this API key can access, with the caller role and the permissions it grants. Start here when using a personal API key 
- `create_application`: Create a new application (workspace) owned by the caller. Requires a personal API key (usr_...) — application-scoped keys cannot create appl
- `update_application`: Update application-level settings (name, active state, default language, incoming-message behavior). Requires the manage_settings permission
- `list_watched_groups`: List the group/channel chats a telegram_mtproto userbot monitors. Read-only. The watched list is the single source of truth for which chats 
- `set_watched_groups`: Replace a telegram_mtproto userbot's watched-groups list — the chats it monitors. Requires the manage_settings permission. SET semantics: se
- `sync_dialog_contacts`: Import a telegram_mtproto userbot's existing chats as contacts — DM partners, groups, and channels — so everything the account already talks
- `get_workspace_summary`: Return a compact application, flow, sequence, operation, and bot summary — the cheapest way to orient in a workspace. Read-only, no side eff
- `get_variable_context`: Search variable definitions by scope and keyword. Read-only. Returns { variables, total, returned, truncated } — compare returned against to
- `get_application_context`: Return the full application-level automation context in one read-only call: every flow (with folders), connected bots, variables, sequences,
- `get_module_catalog`: Return a compact index of both installed and available marketplace modules, with each module's key, versions, description, actions, and trig
- `get_module_details`: Return everything needed to use one module: action input fields and their types, trigger configuration, manual setup fields (credentials an 
- `install_module`: Install an exact marketplace module version into an application and create any missing installed-template actions. Requires the manage_autom
- `search_flows`: Find every flow and block whose contents contain a keyword. Read-only. Searches message text and its translations, button labels and URLs, a
- `get_flow_context`: Return one flow's graph topology: its blocks, how they link, and a short summary per block. Read-only. Deliberately omits block data and act
- `get_block_details`: Return the complete contents of one block: block data, action configs, HTTP request bodies, custom-code files, triggers, menu payloads, and 
- `get_action_schema`: Return the action-authoring contract: every supported action kind with its required fields, the placeholder ids for referencing entities cre
- `get_design_guidelines`: Return the flow-design rules that validation does NOT enforce: when to split a branch into its own flow, how navigation and menus must be wi
- `get_funnel_analytics`: Return the measured conversion funnel of the workspace's busiest entry flow over the last 30 days: how many new contacts entered, which bloc
- `search_flow_examples`: Search the library of reusable flow examples covering common business cases (lead capture, onboarding, payments, reminders). Read-only, need
- `get_flow_example`: Return one reusable flow example by id, optionally with a complete action batch you can adapt and pass to apply_actions. Read-only, needs no
- … 16 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect FlowCastle to your gate (https://gateturbo.com/login?next=/discovery?connect=flowcastle).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/flowcastle/claude · Claude Desktop → https://gateturbo.com/mcp/flowcastle/claude-desktop · ChatGPT → https://gateturbo.com/mcp/flowcastle/chatgpt · Codex → https://gateturbo.com/mcp/flowcastle/codex · Cursor → https://gateturbo.com/mcp/flowcastle/cursor · Windsurf → https://gateturbo.com/mcp/flowcastle/windsurf · VS Code → https://gateturbo.com/mcp/flowcastle/vscode · Gemini CLI → https://gateturbo.com/mcp/flowcastle/gemini-cli · OpenClaw → https://gateturbo.com/mcp/flowcastle/openclaw · n8n → https://gateturbo.com/mcp/flowcastle/n8n · A script or server → https://gateturbo.com/mcp/flowcastle/script

### Direct: Claude Code

Add FlowCastle to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http flowcastle https://api.flowcastle.ai/api/mcp
```

### Direct: Cursor

Add FlowCastle to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "flowcastle": {
      "url": "https://api.flowcastle.ai/api/mcp"
    }
  }
}
```

### Direct: VS Code

Add FlowCastle to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "flowcastle": {
      "type": "http",
      "url": "https://api.flowcastle.ai/api/mcp"
    }
  }
}
```

### Direct: Codex

Add FlowCastle to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.flowcastle]
url = "https://api.flowcastle.ai/api/mcp"
```

### Direct: Claude

Add FlowCastle as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "FlowCastle" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://api.flowcastle.ai/api/mcp
```

### Direct: ChatGPT

Add FlowCastle as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "FlowCastle" with the URL below.
3. Set authentication to none.

```
https://api.flowcastle.ai/api/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
