Skip to content

Claude Code, Codex & Gemini CLI · AI app (MCP)

Fliok in your coding CLI, one command away

Add Fliok to Claude Code, Codex CLI or Gemini CLI as a remote MCP server with a scoped Fliok API key, then ask about chats, templates and leads as you work.

Pro and upScoped API keyRevoke any time

Illustration: a hand sketching a flowchart of boxes and arrows in a notebook beside a laptop

What you can ask

Ask your coding CLI, in plain words

Examples, with sample data. The app does only what its tools allow and you approved.

  • “Show today’s unanswered chats”

    Lists the WhatsApp chats waiting for a reply, and who each one is assigned to.

  • “Send the order-update template to this customer”

    Sends an approved template from your own number, through the same checks as the inbox.

  • “Create a lead from this email”

    Adds the lead with a name, number and source. A number you already have is never added twice.

  • “Which of our templates are approved?”

    Reads your templates and Meta’s approval status, so your code uses a template that will send.

Setup

Connect your coding CLI in 3 steps

  1. 1Make an API key in Fliok and set it as FLIOK_API_KEY in your shell.
  2. 2Claude Code: run the first command. Codex CLI: add the [mcp_servers.fliok] lines to ~/.codex/config.toml. Gemini CLI: run the last command.
  3. 3Ask the assistant something like: list my overdue Fliok tasks.
How it signs inFliok API key

A workspace admin creates a Fliok API key with only the scopes the app needs; the app sends it with every call.

https://fliok.com/api/mcp
bash
# Claude Code
claude mcp add --transport http fliok https://fliok.com/api/mcp --header "Authorization: Bearer $FLIOK_API_KEY"

# Codex CLI — ~/.codex/config.toml
# [mcp_servers.fliok]
# url = "https://fliok.com/api/mcp"
# bearer_token_env_var = "FLIOK_API_KEY"

# Gemini CLI
gemini mcp add --transport http fliok https://fliok.com/api/mcp --header "Authorization: Bearer $FLIOK_API_KEY"
Claude Code, Codex CLI and Gemini CLI (commands) in the MCP guide
PlanPro and above
How it connects
MCP address + a Fliok API key
Compare plans

Good to know

  • A workspace admin creates the API key and picks its scopes; the app can do only what they allow.
  • Keep the key out of shared code and chats: anyone holding it can act in Fliok within its scopes.
  • No money moves through it: it cannot buy a plan, top up the wallet or change how you pay.
  • Messages it sends are ordinary WhatsApp messages: free-form text only inside the 24-hour window, a template outside it, and Meta’s charges as usual.
  • Everything the AI app does goes through the same permissions, plan limits, staff restrictions and audit trail as Fliok’s API.
  • What the AI app reads through Fliok is handled under that app’s own terms.

Got questions?

Questions about your coding CLI

Anything else, ask us.

Ask from the terminal, work in Fliok

Start on the Free plan. Using Fliok from your coding CLI needs Pro or higher.

Free forever plan · Keep your WhatsApp app