flompt MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add flompt -- npx -y @nyrok/flompt
README.md

Turn any AI prompt into a visual flow. Decompose, edit as a flowchart, recompile.

flompt

flow + prompt = flompt Turn any AI prompt into a visual flow. Decompose, edit as a flowchart, recompile.


🎥 Demo

→ Try it live at flompt.dev — no account, no install needed.

Paste any prompt → AI decomposes it into blocks → drag & reorder → get a Claude-optimized XML prompt.

flompt demo


✨ What is flompt?

flompt is a visual prompt engineering tool that transforms how you write AI prompts.

Instead of writing one long block of text, flompt lets you:

  1. Decompose: Paste any prompt and let AI break it into structured blocks
  2. Edit visually: Drag, connect, and reorder blocks in a flowchart editor
  3. Recompile: Generate a Claude-optimized, machine-ready prompt from your flow

Think of it as Figma for prompts: visual, structured, and built for Claude.


🧩 Block Types

16 specialized blocks that map directly to Claude's prompt engineering best practices:

Block Purpose Claude XML
Document External content grounding <documents><document>
Role AI persona & expertise <role>
Tools Callable functions the agent can use <tools>
Audience Who the output is written for <audience>
Context Background information <context>
Environment System context: OS, paths, date, runtime <environment>
Objective What to DO <objective>
Goal End goal & success criteria <goal>
Input Data you're providing <input>
Constraints Rules & limitations <constraints>
Guardrails Hard limits and safety refusals <guardrails>
Examples Few-shot demonstrations <examples><example>
Chain of Thought Step-by-step reasoning <thinking>
Output Format Expected output structure <output_format>
Response Style Verbosity, tone, prose, markdown (st

Tools (2)

decompose_promptDecomposes a raw prompt into 12 semantic blocks.
compile_promptRecompiles semantic blocks into a Claude-optimized XML prompt.

Configuration

claude_desktop_config.json
{"mcpServers": {"flompt": {"command": "npx", "args": ["-y", "@nyrok/flompt"]}}}

Try it

Decompose this prompt into semantic blocks: [paste your long prompt here]
Take these prompt blocks and recompile them into a Claude-optimized XML format
Help me structure my system prompt by decomposing it into role, objective, and constraints blocks

Frequently Asked Questions

What are the key features of flompt?

Decomposes raw prompts into 12 semantic blocks. Recompiles blocks into Claude-optimized XML. Visual flowchart editing for prompt components. Maps blocks directly to Claude prompt engineering best practices.

What can I use flompt for?

Structuring complex system prompts for better Claude performance. Visualizing and reordering prompt logic for clarity. Standardizing prompt formats across multiple AI projects. Converting unstructured text into machine-ready XML prompt structures.

How do I install flompt?

Install flompt by running: npx -y @nyrok/flompt

What MCP clients work with flompt?

flompt works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep flompt docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare