Back to Home
neuhausi icon

canvasxpress-mcp-server-main

Verified Safe

by neuhausi

Overview

This server provides AI assistants with the ability to generate CanvasXpress JSON configurations for data visualizations from natural language descriptions, utilizing Retrieval Augmented Generation (RAG) and semantic search.

Installation

Run Command
docker run -d -p 8000:8000 -v $(PWD)/vector_db:/root/.cache --name canvasxpress-mcp-server --env-file .env canvasxpress-mcp-server:latest python -m src.mcp_server --http

Environment Variables

  • AZURE_OPENAI_KEY
  • AZURE_OPENAI_API_VERSION
  • LLM_MODEL
  • LLM_ENVIRONMENT
  • LLM_PROVIDER
  • EMBEDDING_PROVIDER
  • GOOGLE_API_KEY
  • GEMINI_MODEL
  • OPENAI_EMBEDDING_MODEL
  • GEMINI_EMBEDDING_MODEL
  • ONNX_EMBEDDING_MODEL
  • MCP_TRANSPORT
  • MCP_HOST
  • MCP_PORT
  • PROMPT_VERSION
  • ALT_WORDING_COUNT

Security Notes

The server demonstrates good security practices by externalizing API keys to environment variables and avoiding direct execution of arbitrary user input. It relies on established external LLM and embedding APIs (Azure OpenAI, Google Gemini, HuggingFace for local models). Network access for the HTTP server mode is standard but would require proper authentication and network security in a production environment, which FastMCP supports. The system's parsing of LLM output via regex in `_extract_json_from_response` is a common approach and does not introduce obvious vulnerabilities in this context.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens16000
Stars0
Forks0
Last Update2025-12-24

Tags

CanvasXpressMCPRAGLLMVisualizationPythonAI AssistantSemantic Search