@@ -44,19 +44,11 @@ The tool is intentionally small:
4444The maintained source is the official LightningChart JS Agent Skill content
4545bundled with this package.
4646
47- ## Install
47+ ## Setup
4848
49- ``` bash
50- npx -y @lightningchart/mcp-server
51- ```
52-
53- ## Client Configuration
54-
55- Most MCP clients configure local stdio servers by launching a command. For this
56- package, the command is ` npx ` and the package is run on demand.
57-
58- Use this in Claude Code, Cursor, Cline, Roo Code, Windsurf, Codex MCP config, or
59- other MCP-compatible clients:
49+ Add this MCP server to Claude Code, Cursor, Cline, Roo Code, Windsurf, Codex, or
50+ another MCP-compatible coding agent. The client will run the package with ` npx `
51+ when it starts the MCP server:
6052
6153``` json
6254{
@@ -69,24 +61,9 @@ other MCP-compatible clients:
6961}
7062```
7163
72- Restart or reload your MCP client after adding the config.
73-
74- ## How To Make Your Agent Use It
75-
76- MCP is a setup step, not something you should have to mention in every prompt.
77- After you add the config and restart your MCP client, the client exposes
78- LightningChart guidance as a tool the agent can choose when the task involves
79- LCJS, charts, dashboards, real-time data, large datasets, financial charts, or
80- scientific visualization.
81-
82- Use this workflow:
83-
84- 1 . Add the MCP config above.
85- 2 . Restart or reload the MCP client.
86- 3 . Start a new chat/session in a JavaScript or TypeScript project.
87- 4 . Ask for the charting work normally.
88-
89- Normal prompts:
64+ Restart or reload your MCP client after adding the config. Then start a new
65+ chat/session in a JavaScript or TypeScript project and ask for charting work
66+ normally:
9067
9168``` text
9269Add a real-time LightningChart JS line chart to this React component.
@@ -104,8 +81,7 @@ In clients that show tool activity, you should see the agent call
10481` get_lightningchart_context ` automatically when it decides it needs LCJS
10582guidance.
10683
107- If a client does not pick the tool automatically, add one short sentence to the
108- prompt:
84+ If the client does not pick the tool automatically, add one sentence:
10985
11086``` text
11187Use the LightningChart MCP server for LCJS guidance.
@@ -121,20 +97,6 @@ Good signs after the tool call:
12197- it asks for or wires a license key according to project conventions
12298- it runs local type checks when possible
12399
124- ## Example Agent Prompts
125-
126- ``` text
127- Add a real-time LightningChart JS line chart to this React component.
128- ```
129-
130- ``` text
131- Review this LCJS implementation for hallucinated or outdated API usage.
132- ```
133-
134- ``` text
135- Migrate this Chart.js chart to LightningChart JS.
136- ```
137-
138100## Troubleshooting
139101
140102If the agent does not seem to use the server:
0 commit comments