@htoo-tw/report-generator
v0.2.1
Published
An MCP report generator server
Readme
MCP Report Generator
A tool for generating interactive data visualization reports with multiple charts.
Sample usage
{
"charts": [
{
"type": "bar",
"data": [
{ "x": "Jan", "y": 100 },
{ "x": "Feb", "y": 150 },
{ "x": "Mar", "y": 200 }
],
"options": {
"title": "Monthly Sales",
"xAxisLabel": "Month",
"yAxisLabel": "Revenue ($)"
}
},
{
"type": "line",
"data": [
{ "x": "Week 1", "y": 10 },
{ "x": "Week 2", "y": 25 },
{ "x": "Week 3", "y": 15 },
{ "x": "Week 4", "y": 30 }
],
"options": {
"title": "Weekly Trend"
}
}
],
"title": "Sales Performance Report",
"description": "Analysis of sales performance across different timeframes"
}Development
pnpm devThis will start the MCP server with the STDIO as the transport method in which dist/stdio.js is generated.
For interactive testing and debugging, the MCP inspector is recommended to use
Run the inspector by
npx @modelcontextprotocol/inspectorand add the command:
node /PATH/mcp/report-generator/dist/stdio.jsProduction
Build by using
pnpm buildThis project was created with create-xmcp-app.
