mcp-tutorial
by ThiagoCF05
Overview
This server performs fundamental financial analysis of Brazilian stock market companies using AI agents to extract and interpret financial indicators.
Installation
docker compose upEnvironment Variables
- OPENAI_API_KEY
- JWT_MCP_URL
- MCP_USERNAME
- MCP_PASSWORD
- MCP_URL
- PUBLIC_KEY
- JWT_ISSUER
- JWT_AUDIENCE
- JWT_ALGORITHM
- DATABASE_PATH
- PRIVATE_KEY
- USERNAME
- PASSWORD
Security Notes
The system includes a 'code_interpreter' tool that executes arbitrary Python code using `subprocess.run`. This is a critical security vulnerability if the agent's inputs are not strictly controlled and sanitized, as it can lead to arbitrary code execution on the host system. The `DB_PATH` for CVM data is hardcoded in agent tools, which is a minor configuration vulnerability. JWT authentication is used for inter-service communication, but the overall security depends on proper management of environment variables and key files.
Similar Servers
maverick-mcp
Personalized stock analysis, technical indicators, and portfolio optimization via Claude Desktop.
finance-trading-ai-agents-mcp
A specialized MCP server for financial analysis and quantitative trading, designed to deploy local financial MCP services with a departmental architecture for LLM integration and algorithmic trading.
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).
finance-mcp
Finance MCP is an intelligent agent toolkit and MCP server designed for financial research scenarios, leveraging LLMs for deep research, web scraping, and data analysis.