Back to Home
ThiagoCF05 icon

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

Run Command
docker compose up

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassHigh
Avg Tokens7500
Stars0
Forks0
Last Update2026-01-18

Tags

Financial AnalysisStock MarketAI AgentBrazilMCP