Agent authoring
FlipCard is designed to be authored by humans or LLM agents. The @microsoft/flipcard-mcp server gives any MCP‑capable host a small, opinionated tool surface for producing valid manifests.
Configure the host
Add the server to your MCP client (Copilot Studio, Claude Desktop, VS Code MCP, etc.):
{
"mcpServers": {
"flipcard": {
"command": "npx",
"args": ["-y", "@microsoft/flipcard-mcp"]
}
}
}
Recommended agent loop
A reliable agent loop for producing a card looks like this:
- Discover — call
list_categoriesto learn the seven presets and their intent. Do this once per session. - Plan — pick the category whose intent matches the user's request.
- Generate — call
generate_manifestwith the chosen category and any provided titles. - Refine — edit
design.front,schema.back.fields, andworkflow.actionsin place. - Validate — call
validate_manifeston the final draft. - Persist — write the JSON wherever your application stores cards.
Prompt scaffolding
A short system prompt that works well:
You are a FlipCard authoring assistant. When the user asks for a card:
- Call
list_categoriesonce to ground yourself.- Pick a category whose intent matches — never the closest color.
- Call
generate_manifestwithcategory,frontTitle, andbackTitle.- Edit the result so
design.front.summaryis one sentence andschema.back.fieldsreflects the data the user described.- Call
validate_manifestand report the result.- Output the final JSON in a fenced
jsonblock.
Quality bar
Before returning a manifest:
idis stable, kebab‑case, and unique within the user's collection.titleis human‑readable, not a duplicate ofid.design.front.titleis short enough to fit a card header.design.front.summaryis one sentence and adds information the title doesn't.- The category matches intent, not color preference.
validate_manifestreturns{ valid: true }.
See also
@microsoft/flipcard-mcp— the full tool/resource list.- Categories & themes — pick the right preset.
- Authoring manifests — the underlying shape.