MCP roadmap

MCP: stdio shipped — run cargo run -p k2f_mcp --release from a checkout (see engine/k2f_mcp/README.md). Remote HTTP MCP is not shipped. Tool contract: engine/k2f_mcp/mcp_tools.json. Use the K2F skill when MCP is unavailable.

Shipped tools (16)

Each tool maps to an existing SDK call. sign is not a tool. save / export_pdf require path and never return package bytes.

ToolOpSDKmaps toSkill
createwritestdiocopy_template + Editor.open_dirk2f
openwritestdioEditor.open(bytes)k2f
outlinereadstdioEditor.outline()k2f
get_nodereadstdiogetNode(id)k2f
searchreadstdiosearch(query)k2f
replace_textwritestdioreplaceText(id, text)k2f
set_rolewritestdiosetRole(id, role, variant?)k2f
insert_nodewritestdioinsertNode(parentId, index, node)k2f
delete_nodedestructivestdiodeleteNode(id)k2f
validatereadstdioEditor.validate_package()k2f
diffreadstdiodiff()k2f
savedestructivestdiosave()k2f
markdown_to_k2fwritestdiomarkdownToK2f(md, opts)k2f
export_pdfdestructivestdioexportPdf(bytes)k2f
verifyreadstdioViewer.banner() / status_code()integrity banners
publishdestructivestdioPOST /api/publish → /v/{appearance_hash}k2f

Rules