Back to Home
xenoxavier icon

Indicators

by xenoxavier

Overview

This server provides programmatic access to analyze TradingView Pine Script indicators via the Model Context Protocol (MCP).

Installation

Run Command
docker-compose up

Environment Variables

  • NODE_ENV

Security Notes

The server uses `fs.readdirSync(".")` and `fs.readFileSync(filename, 'utf-8')` to access indicator files. The `analyze_indicator`, `search_indicators`, and `extract_functions` tools take `indicatorName` or `searchTerm` as direct string inputs. While `getIndicatorFiles` attempts to filter out non-indicator files based on common patterns (e.g., `file.startsWith('.')`, `file.includes('package')`), this filtering is regex-based and applied to filenames in the current directory. This approach is vulnerable to path traversal (e.g., `../../sensitive_file.txt`) or cleverly named files that could bypass the filters, potentially allowing an attacker to read arbitrary files within the server's working directory or mounted volumes. The Docker configuration mitigates write risks by mounting the volume as read-only, but reading sensitive files (e.g., configuration, logs) within the mounted context remains a risk if the filters are imperfect or bypassed. There are no obvious signs of 'eval' or hardcoded secrets.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-11-25

Tags

TradingViewPine ScriptMCPTechnical AnalysisCode Analysis