Media MCP Server

MCP server for generating diagrams, charts, presentations, and animations for Markdown documentation

Local serverstdio

What is the Media MCP server?

Most cloud and infrastructure work still happens through a UI a human drives. Media MCP server moves it into the conversation instead. MCP server for generating diagrams, charts, presentations, and animations for Markdown documentation.

The short version

MCP server that generates diagrams, charts, HTML pages, and slide decks from text DSLs -- designed for AI coding agents to embed into Markdown.

The tools it exposes

The server publishes 9 tools. What each one is for:

  • Utilities — The Utilities tool exposed by this server
  • get_tool_guide — Get usage guide for any tool before rendering. Returns examples, anti-patterns to avoid, complexity limits, and tips
  • render_mermaid — The render_mermaid tool exposed by this server
  • render_d2 — The render_d2 tool exposed by this server
  • render_graphviz — The render_graphviz tool exposed by this server
  • render_chart — The render_chart tool exposed by this server
  • render_html_page — Generates a self-contained themed HTML page. No Docker required
  • render_slides — Generates a self-contained HTML slide deck with keyboard/touch navigation. No Docker required
  • list_assets — Returns a JSON array of all generated files with name, path, size, and modification time

Getting it running

Installation goes through your MCP client rather than a global install: point it at mcp-media-forge on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: PROJECT_ROOT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Media's toolset — Utilities, get_tool_guide, render_mermaid and 6 more — is a fair guide to whether it matches your workflow. It is maintained by PavelGuzenfeld; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Media's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Media.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
UtilitiesThe Utilities tool exposed by this server.
get_tool_guideGet usage guide for any tool before rendering. Returns examples, anti-patterns to avoid, complexity limits, and tips.
render_mermaidThe render_mermaid tool exposed by this server.
render_d2The render_d2 tool exposed by this server.
render_graphvizThe render_graphviz tool exposed by this server.
render_chartThe render_chart tool exposed by this server.
render_html_pageGenerates a self-contained themed HTML page. No Docker required.
render_slidesGenerates a self-contained HTML slide deck with keyboard/touch navigation. No Docker required.
list_assetsReturns a JSON array of all generated files with name, path, size, and modification time.

How to install the Media MCP server

{
  "mcpServers": {
    "media-forge": {
      "command": "node",
      "args": ["/path/to/mcp-media-forge/dist/index.js"],
      "env": {
        "PROJECT_ROOT": "/path/to/your/project"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PROJECT_ROOTConfiguration value read at startup.Optional

Example prompts to try

  • Use Media to Utilities.
  • Use Media to get tool guide.
  • Use Media to render mermaid.

Frequently asked questions

It connects Media to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (Utilities, get_tool_guide, render_mermaid, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Media directly.