@funnest/charts-mcp 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +2 -2
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
17
17
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
18
18
|
import { z } from "zod";
|
|
19
|
-
var server = new McpServer({ name: "funnest-charts", version: "0.
|
|
19
|
+
var server = new McpServer({ name: "funnest-charts", version: "0.4.0" });
|
|
20
20
|
var locale = z.enum(["ko", "en"]).optional().describe("Message language (default ko)");
|
|
21
21
|
var chartType = z.enum(CHART_TYPES);
|
|
22
22
|
var text = (value) => ({ type: "text", text: typeof value === "string" ? value : JSON.stringify(value, null, 2) });
|
|
@@ -24,7 +24,7 @@ server.registerTool(
|
|
|
24
24
|
"list_charts",
|
|
25
25
|
{
|
|
26
26
|
title: "List charts",
|
|
27
|
-
description: "List Funnest Charts chart types (line, area, bar, percentage-bar, sparkline) with what each is for and the React component it maps to. For a full trading chart (candles, indicators, drawing tools) use <FnChart /> with a Datafeed \u2014 see get_datafeed_template.",
|
|
27
|
+
description: "List Funnest Charts chart types (line, area, bar, candlestick, donut, treemap, percentage-bar, sparkline) with what each is for and the React component it maps to. For a full trading chart (candles, indicators, drawing tools) use <FnChart /> with a Datafeed \u2014 see get_datafeed_template.",
|
|
28
28
|
inputSchema: { locale }
|
|
29
29
|
},
|
|
30
30
|
async ({ locale: l = "ko" }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnest/charts-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "MCP server for Funnest Charts: chart list, JSON schemas, spec validation, PNG/SVG rendering with React code, chart suggestions, Datafeed templates",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
40
40
|
"zod": "^4.6.7",
|
|
41
|
-
"@funnest/charts-cli": "0.
|
|
41
|
+
"@funnest/charts-cli": "0.4.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup",
|