
finance portfolio agent
MCP agent for portfolio analysis and management with Supabase integration
Repository Info
About This Server
MCP agent for portfolio analysis and management with Supabase integration
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Finance Agent
Model Context Protocol агент для анализа финансового портфеля и генерации рекомендаций.
Возможности
- Интеграция с Tinkoff Invest API
- Анализ портфеля и рисков
- Генерация рекомендаций по оптимизации портфеля
- Мониторинг рыночных данных
- Расчет метрик эффективности
Установка
- Убедитесь, что у вас установлен Python 3.11+
- Установите Poetry:
curl -sSL https://install.python-poetry.org | python3 -
- Клонируйте репозиторий:
git clone <repository-url>
cd mcp-finance-agent
- Установите зависимости:
poetry install
- Создайте файл .env на основе .env.example:
cp .env.example .env
- Настройте переменные окружения в .env
Разработка
- Активируйте виртуальное окружение:
poetry shell
- Установите pre-commit хуки:
pre-commit install
- Запустите тесты:
pytest
Использование
- Запустите агента:
poetry run python -m src.main
- API будет доступно по адресу: http://localhost:8000
Тестирование
# Запуск всех тестов с отчетом о покрытии
pytest
# Запуск конкретного теста
pytest tests/test_specific.py
# Запуск тестов с метками
pytest -m "not integration"
Структура проекта
mcp_finance_agent/
├── src/
│ ├── agent/ # Ядро MCP агента
│ ├── services/ # Внешние сервисы
│ └── models/ # Модели данных
├── tests/ # Тесты
└── docs/ # Документация
Лицензия
MIT
Quick Start
Clone the repository
git clone https://github.com/dre1144/finance-portfolio-agentInstall dependencies
cd finance-portfolio-agent
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.