md2 for AI agents
Agents write Markdown natively, and md2 turns it into a document ready to send. People get a writing agent in the studio; other agents get an MCP server.
Mido: the writing agent in the studio
Mido is a writing agent that starts from Arabic. Ask for a document in your own words and it writes straight into the editor while you watch the page take shape; it asks when it needs to, then prepares the file in the format you want.
Another agent can use it over MCP through the agent_draft tool: send a brief and get a complete Markdown draft back.
What MCP gives your agent
One server offering three things: tools the agent calls, resources it reads, and ready prompts it shows the user.
Seven tools
convertMarkdown to 13 formats. A binary file comes back as a signed link valid for 24 hours, or inline as Base64 on request.
render_htmlSanitised HTML for the document, with its title and warnings, to check it before converting.
list_themesThe available themes, formats and text directions.
agent_draftAsks Mido, the writing agent, to write or edit a Markdown draft, Arabic first. It counts against your daily messages.
library_searchSearch the library of prompts, skills and project templates.
library_getThe full content of a library item by its id.
import_to_markdownOpens a public web page in a real browser and returns its main content as Markdown.
Resources
Texts the agent reads to know what md2 understands, without guessing.
md2://guide/syntaxThe guide to the Markdown syntax md2 understands.
md2://formatsThe supported formats and their options.
md2://changelogWhat changed in md2.
md2://themes/{name}The details of one theme.
md2://library/{id}A library item by its id.
Ready prompts
Prompt templates the server offers your client, which the user can invoke in a click.
convert-documentTurn content into a document in the format you choose.
improve-markdownImprove existing Markdown without changing what it says.
build-reportBuild a report from raw notes or data.