YAMLTools logo
Model Context Protocol

Use YAMLTools from your AI editor

Validate, convert and visualize YAML without leaving your AI assistant. Connect your account and let the AI create and edit your diagrams just by asking.

Connect in 30 seconds

Works with Claude Code, Cursor and any client that speaks MCP over HTTP.

Public tools — no account needed

claude mcp add --transport http yamltools https://yamltools.dev/api/mcp/mcp

With your API key — create and edit your diagrams

claude mcp add --transport http yamltools https://yamltools.dev/api/mcp/mcp \
  --header "Authorization: Bearer yt_your_key"
01

Add the server

Run the command below. The three public tools work with no account.

02

Connect your account

Optional — add your API key to also create and edit your saved diagrams.

03

Just ask

Tell your AI to validate, convert, visualize or edit a diagram — it picks the right tool.

Seven tools, one server

Three work for anyone; four operate on your account's diagrams.

Public — no account needed

validate_yaml

Validate and lint YAML: syntax errors with line and column, plus warnings for tabs, implicit booleans and duplicate keys.

convert_yaml

Convert between YAML, JSON, XML, TOML, CSV, INI, Properties and more — source format auto-detected.

visualize_yaml

Turn YAML into a diagram: Mermaid source — plus a hosted image on yamltools.dev when you add an API key.

With your account (API key)

list_diagrams

List your saved diagrams with their titles and types.

get_diagram

Fetch one of your diagrams, returning its YAML source.

create_diagram

Save a new diagram to your account from YAML.

update_diagram

Edit an existing diagram's source, title or type and save it.

Live

Edit a diagram by talking to your AI

Open a diagram in the editor and ask your assistant for changes. It updates your diagram through the MCP and the editor refreshes on its own — no copy-paste, no reloading by hand.

  1. 1Open one of your diagrams in the YAMLTools editor.
  2. 2Ask your AI for a change — "add a redis cache and a worker".
  3. 3Watch the diagram update in place, saved to your account.

Bring YAMLTools into your workflow

The free tools need no key. Connect your account to create and edit diagrams from your AI editor.

Get your API key