
Quick Chart MCP Server
A Model Context Protocol (MCP) server that provides chart tools, allowing it to interact with the quick chart through a standardized interface. This implementation is based on the chart definition and enables users can open quick chart pages seamlessly.
Overview
This MCP server tools:
Interact with Quick Chart
The server implements the Model Context Protocol specification to standardize chart interactions for AI agents.
Prerequisites
Node.js (v16 or higher)
pnpm (recommended), npm, or yarn
Installation
Installing via Smithery
To install quick-chart-mcp for Claude Desktop automatically via Smithery:
Option 1: Install from npm (recommend for clients like Cursor/Cline)
Option 2: Build from Source (for developers)
Clone this repository:
Install dependencies (pnpm is recommended, npm is supported):
Build the project:
Development the project (by @modelcontextprotocol/inspector):
Configuration
MCP Configs
Environment Setup
Create a .env file with your credentials:
Project Structure
Available Tools
The MCP server provides the following Quick Chart tools:
GetChartImgLink- Retrieve chart image link by parameters.InstallQuickChart- Install quick chart service locally.
Security Considerations
Use environment variables for sensitive information
Regularly monitor and audit AI agent activities
Troubleshooting
If you encounter issues:
Verify the build was successful
Dependencies
image APIs.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the MIT License.