• DIRECT LINKS
  • FORMATS
  • VISUALS
  • HUMAN

How to generate diagram image URLs with your agent

Connect this MCP to your AI client to turn text into hosted visuals. Once connected, you ask for the link.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I get a URL for my diagram?

Paste your Mermaid code or describe the diagram you want to your agent. It will render the image and give you a direct URL for a PNG or SVG. You'll get links ready to embed in your docs or slides.

The outcomes

What you'll get

Your agent handles the rendering and hosting so you can copy the link.

DIRECT LINKS

Permanent image URLs

Your agent provides a hosted link for your visual. You can paste these directly into Markdown, Notion, or slide decks.

FORMATS

SVG and PNG options

You can ask for scalable SVG files for high-quality documents or standard PNGs for quick sharing.

VISUALS

Instant rendering

Your agent converts raw Mermaid syntax or plain text into clean diagrams without you needing to use a separate editor.

HUMAN

Manual logic checks

Your agent builds the structure, but you're responsible for checking that the diagram logic matches your actual workflow.

The workflow

What your agent does when you ask for a diagram.

Your agent moves from your text to a hosted asset in a few steps.

  1. Interpret input

    Your agent reads the Mermaid code or the text description you provided.

    render_mermaid_imagerender_diagram
  2. Render image

    Your agent uses the rendering tools to turn that text into a visual file.

    render_mermaid_imagerender_diagram
  3. Host asset

    The resulting image is uploaded to a stable location to create a shareable URL.

    render_mermaid_imagerender_diagram
  4. Deliver link

    Your agent gives you the final URL for the PNG or SVG file.

    render_mermaid_imagerender_diagram

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Kroki tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the diagram tools.

Starting points

Replace the bracketed text with your specific diagram details.

Kroki Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_WjnTtXIIStEIBv7Dip3Iv11w8BrK38LVzON4WJal/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Kroki capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "diagrams-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_WjnTtXIIStEIBv7Dip3Iv11w8BrK38LVzON4WJal/mcp"
    }
  }
}
Copy into chat04
  • 01

    Generate a PNG URL for this Mermaid code: [paste code here]

  • 02

    Create an SVG URL for a flowchart showing a user login process.

  • 03

    Turn this sequence diagram into a shareable image link: [paste code here]

  • 04

    Make a diagram URL for a simple organizational chart of a small tech company.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Diagrams once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start generating URLs immediately.

Connect Diagrams to your agent

FAQ

How the diagram task behaves

  • 01

    Can your agent edit the image file directly?

    No. Your agent generates a new image from code or text. To change the image, you must ask your agent to update the diagram structure and generate a new URL.

  • 02

    Will the URLs work in my documentation?

    Yes. Your agent provides standard image URLs that work in any Markdown or HTML-based documentation tool.

  • 03

    Can your agent create custom icons inside the diagram?

    No. Your agent is limited to the shapes and syntax supported by the rendering tools.

  • 04

    Does your agent store my diagram data?

    Your agent uses the tools to render and host the image, but it does not maintain a database of your private diagram logic.

  • 05

    Can I choose between SVG and PNG?

    Yes. You can specify which format you want in your prompt.

  • More questions about Diagrams? The Connector page answers them. See everything the Diagrams Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Kroki to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Kroki plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Kroki to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.