pysr-mcp-server
Verified Safeby archetana
Overview
Discovering interpretable mathematical equations from data using symbolic regression for scientific discovery, feature engineering, and data modeling.
Installation
claude mcp add pysr npx @neural-symphony/pysr-mcp-serverEnvironment Variables
- PYTHON_PATH
- PYSR_PYTHON
- DATABASE_URL
- SECRET_KEY
- ALGORITHM
- ACCESS_TOKEN_EXPIRE_MINUTES
- UPLOAD_DIR
- MAX_FILE_SIZE
- MCP_SERVER_URL
Security Notes
The server uses Python's `pickle` module for saving and loading PySR models. `pickle` is known to be insecure against maliciously constructed data, which could lead to arbitrary code execution if a loaded model file is untrusted or tampered with. While the server generates these files internally, a compromised file system could exploit this. The Node.js wrapper utilizes `child_process.spawn` to execute Python scripts, but input sanitization and path management appear to be handled carefully by internal logic, reducing direct command injection risk. For other components in the repository (like `app_server.py`, which is not the MCP server itself), a hardcoded fallback `SECRET_KEY` poses a critical vulnerability if deployed in production without modification.
Similar Servers
academia_mcp
An MCP server providing tools for searching, fetching, analyzing, and reporting on scientific papers and datasets, often powered by LLMs.
mcp-server-mas-sequential-thinking
Enhances sequential thinking and complex problem-solving through a multi-agent system, supporting revisions and branching paths.
arxiv-mcp-server
The server enables researchers to search for academic papers on arXiv, analyze citations and trends, and export data in multiple formats, with a stated aim for AI-assisted discovery and processing.
analytical-mcp
Provides a suite of analytical tools for data analysis, logical reasoning, and research verification, designed to enhance AI capabilities for structured problem-solving and decision-making.