Skip to main content
Glama

Flowith MCP

A stdio MCP server that lets AI agents use Flowith Canvas for text, image, and video generation, canvas retrieval, file transfer, and recoverable asynchronous jobs.

The server is designed for MCP clients such as Claude Code, Codex, Zcode, and other agent harnesses. An agent sends structured tool calls to this server. The server then uses the Flowith CLI and HTTP APIs to perform authenticated operations.

What agents can do

  • Generate text, images, and videos.

  • Create, list, search, read, and recall canvas content.

  • Upload local reference files and download completed results.

  • Inspect models, credits, session state, and job receipts.

  • Resume status checks after a disconnected or interrupted generation request.

The canvas is the execution and storage context for these operations. This project provides an agent-facing MCP interface for Flowith capabilities.

Related MCP server: AI-video-generator-MCP

Quick start

Requirements

  • A Flowith account.

  • Bun 1.4 or newer.

  • An MCP client that supports local stdio servers.

Install dependencies:

bun install

Authorize Flowith once through the explicit login tool. Routine MCP calls run without opening a browser.

Claude Code

Copy .mcp.json.example to .mcp.json in the repository root. The local file is ignored by Git.

The example configuration starts:

{
  "mcpServers": {
    "flowith": {
      "type": "stdio",
      "command": "bun",
      "args": ["mcp-server.mjs"],
      "env": {
        "FLOWITH_BOT": "claude-code"
      }
    }
  }
}

Other MCP clients

Use the same stdio command and arguments:

command: bun
args: mcp-server.mjs

Set FLOWITH_BOT to the client identity when the harness supports environment variables. codex-config.toml.example contains a Codex example.

Tool groups

Group

Tools

Session

flowith_status, flowith_login, flowith_whoami

Catalogue

flowith_models, flowith_credits

Canvas

flowith_list_canvases, flowith_create_canvas, flowith_search_canvases, flowith_read_canvas, flowith_recall, flowith_read_node

Generation

flowith_generate, flowith_generate_async, flowith_get_result

Files

flowith_upload, flowith_download_result

Recovery

flowith_list_jobs, flowith_job_result

The server exposes 18 tools and does not expose MCP prompts.

Generation and recovery

Asynchronous generation returns stable node and canvas identifiers. A client can query the same node with flowith_get_result after a local timeout or process restart.

Local job receipts record the minimum metadata needed to recover a request. Receipts do not store access tokens, full prompts, or model responses. An uncertain submission is reported as SUBMISSION_UNKNOWN, and the server does not automatically submit a duplicate paid request.

Documentation

Development

Run the offline regression suite:

bun run test

The tests use mocks and temporary directories. They do not consume Flowith credits.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to draw on a self-hosted canvas by creating and editing frames, text, shapes, images, and SVGs with auto-layout, then inspecting, exporting, and sharing the results. Also supports live viewing of agent edits, pinned comments, screenshots, and revision history so people and agents can collaborate on boards.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to interact with the Canvas LMS, providing role-specific tools for students, educators, learning designers, and developers to manage courses, assignments, submissions, grades, discussions, modules, and accessibility reviews.
      MIT