内容
# EGX-Data-MCP-Server
MCP server for Egyptian Exchange (EGX) stock tools.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/M-Abdelmegeed/EGX-Data-MCP-Server.git
cd EGX-Data-MCP-Server/egx-mcp
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
## Setup
1. Ensure you have Python 3.11 or higher installed.
2. Run the MCP server using the following command:
```bash
uv --directory . run main.py
```
## Adding the MCP Server
To add the EGX MCP server to your environment, use the following configuration in your `settings.json`:
```json
"egx-mcp": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/egx-mcp",
"run",
"main.py"
]
}
```
Replace the directory path with the appropriate path to the `egx-mcp` folder on your system.
## Additional Installation Steps
### Installing `uv` Command
To install the `uv` command, run the following command in PowerShell:
```powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```
Make sure to restart your terminal afterwards to ensure that the `uv` command gets picked up.
### Setting Up the Project
#### Windows
1. Create a new directory for your project:
```bash
uv init egx-mcp
cd egx-mcp
```
2. Create a virtual environment and activate it:
```bash
uv venv
.venv\Scripts\activate
```
3. Install dependencies:
```bash
uv add mcp[cli] httpx
```
4. Create your server file:
```bash
new-item main.py
```
连接信息
猜你喜欢
Vibe-Trading
Vibe-Trading:您的个人交易代理
ai-berkshire
AI 时代的伯克希尔:基于 Claude Code 的价值投资研究框架。巴菲特·芒格·段永平·李录四大师方法论 + 多Agent并行研究。
HexStrike AI
HexStrike AI是一个AI驱动的MCP网络安全自动化平台,拥有150多个工具。
friday-studio
🤖 AI 代理运行时 — 可共享的工作空间、MCP 工具、技能、内存和 cron/webhook 自动化的自托管和透明运行。
Train-in-Silence
首款任务感知MCP服务器和LLM微调自动VRAM计算器。立即在10多个云服务提供商中选择最便宜、最快的GPU。
vnstock-agent
MCP 服务器和 CLI,用于越南股票市场数据 (vnstock)