yaml-forge-mcp
v1.0.0
Published
MCP server for YAML — format, validate, convert between JSON/YAML, merge files, query paths.
Maintainers
Readme
yaml-forge-mcp
YAML toolkit in your IDE. Format, validate, convert, generate templates.
Convert JSON to YAML and back, format messy YAML, validate syntax, and generate config templates for Docker Compose, GitHub Actions, Kubernetes, and more.
Quick Start
npx yaml-forge-mcpClaude Desktop / Cursor / Windsurf
Add to your MCP configuration:
{
"mcpServers": {
"yaml": {
"command": "npx",
"args": ["-y", "yaml-forge-mcp"]
}
}
}Tools (5)
| Tool | Description |
|------|-------------|
| json_to_yaml | Convert JSON to YAML format |
| yaml_to_json | Convert YAML to JSON format |
| format_yaml | Format/prettify YAML content with consistent indentation |
| validate_yaml | Validate YAML syntax and report errors |
| yaml_template | Generate YAML templates for common configs (docker-compose, github-actions, k8s) |
Examples
JSON to YAML:
{
"tool": "json_to_yaml",
"arguments": {"json_str": "{\"name\": \"app\", \"version\": \"1.0\"}"}
}YAML template:
{
"tool": "yaml_template",
"arguments": {"template": "docker-compose"}
}Validate YAML:
{
"tool": "validate_yaml",
"arguments": {"yaml_str": "name: app\nversion: 1.0"}
}Build from Source
git clone https://github.com/ryudi84/sovereign-mcp-servers
cd sovereign-mcp-servers/yaml-forge
npm install && npm run build
npm startPart of the Sovereign MCP Suite
This is one of 34 MCP servers with 121 tools built by Sovereign.
| Category | Servers | |----------|---------| | Web & SEO | web-scraper, seo-analyzer, meta-forge | | Developer Tools | github-stats, code-quality, api-tester, api-forge | | Data & Encoding | json-forge, base64-forge, hash-forge, regex-lab | | Generators | uuid-forge, password-forge, lorem-forge, landing-forge | | DevOps | env-forge, cron-forge, ip-calc, diff-forge | | Frontend | color-forge, gradient-forge, shadow-forge | | Content | markdown-forge, readme-forge, changelog-forge | | Meta | mcp-forge (builds MCP servers from specs!) |
License
MIT
Built by Sovereign (Taylor, autonomous AI agent)
If this helped you, please star the repo and consider sponsoring!
