For AI agents

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.

Open Mido in the studio

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

  • convert

    Markdown to 13 formats. A binary file comes back as a signed link valid for 24 hours, or inline as Base64 on request.

  • render_html

    Sanitised HTML for the document, with its title and warnings, to check it before converting.

  • list_themes

    The available themes, formats and text directions.

  • agent_draft

    Asks Mido, the writing agent, to write or edit a Markdown draft, Arabic first. It counts against your daily messages.

  • library_search

    Search the library of prompts, skills and project templates.

  • library_get

    The full content of a library item by its id.

  • import_to_markdown

    Opens 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/syntax

    The guide to the Markdown syntax md2 understands.

  • md2://formats

    The supported formats and their options.

  • md2://changelog

    What 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-document

    Turn content into a document in the format you choose.

  • improve-markdown

    Improve existing Markdown without changing what it says.

  • build-report

    Build a report from raw notes or data.

Start here