
crypto_mcp
使用 Autogen 构建的多智能体系统,分析加密货币并结合 MCP 服务器数据进行投资决策。
Repository Info
About This Server
使用 Autogen 构建的多智能体系统,分析加密货币并结合 MCP 服务器数据进行投资决策。
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
Multi-Agent System avec Autogen for Crypto Investment
Ce projet met en œuvre un système multi-agent basé sur Autogen pour analyser les crypto-monnaies via des agents spécialisés. Il exploite un serveur MCP externe pour récupérer des données en temps réel (actualités, prix, sentiment du marché) avant de prendre une décision d'investissement.
🔧 Prérequis
- Python 3.10 ou plus récent
- Un compte Azure OpenAI avec un modèle déployé (ex:
gpt-4) - Serveur MCP disponible ici :
👉 https://github.com/leehanchung/bing-search-mcp
📦 Installation
1. Clonez ce dépôt
git clone https://github.com/samir88-ms/crypto_mcp.git
cd crypto_mcp
2. Créez un environnement virtuel
python -m venv venv
source venv/bin/activate # Sur Linux/macOS
venv\Scripts\activate # Sur Windows
3. Installez les dépendances
pip install -r requirements.txt
4. Configuration
Créez un fichier .env à la racine du projet avec les variables suivantes :
API_KEY=your_azure_openai_key
PROJECT_CONNECTION_STRING=your_project_conn_str # Peut être vide
MODEL_DEPLOYMENT_NAME=gpt-4-deployment-name
MODEL_API_VERSION=2023-12-01-preview
AZURE_ENDPOINT=https://your-resource-name.openai.azure.com/
MCP_SERVER_URL=http://localhost:8000
DEFAULT_AGENT_ID=default_agent
Vérifiez bien que MODEL_DEPLOYMENT_NAME correspond à un modèle déployé sur votre compte Azure.
5. Lancer le serveur MCP
git clone https://github.com/leehanchung/bing-search-mcp
Et suivez la procédure pour lancer le serveur Bing MCP.
6. Exécution du script principal
python crypto_invest_mcp.py
Quick Start
Clone the repository
git clone https://github.com/samir88-ms/crypto_mcpInstall dependencies
cd crypto_mcp
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.