Koskamo

Generate and validate ApexCharts configuration

A valid, error-free JSON configuration object for an ApexCharts visualization, ready to be integrated into a web application or dashboard without manual debugging.

How it works

Changes data in your accountsSoftware development

The agent takes a user's natural language description of a desired chart (e.g., 'stacked area chart of monthly revenue') and uses the apexcharts_generate_config tool to create the initial configuration. It then immediately passes this configuration to apexcharts_validate_config to check for structural errors or rule violations. If validation fails, the agent reviews the structured error hints and iteratively refines the config until it passes validation, ensuring the final output is robust and correct.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Generate and validate ApexCharts configuration
I need a stacked area chart showing monthly revenue for three regions: North, South, and East. Please generate the ApexCharts configuration for this and then validate it to ensure there are no errors. Return the final valid JSON config.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

It generates valid configs, catches common mistakes, and serves the official knowledge base for each product on demand, so the AI gets your visualization right the first time.
ApexCharts MCP Server: Model Context Protocol for AI Assistants | ApexCharts.js

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.