EGX-Data-MCP-Server

by M-Abdelmegeed

201 downloads
Not rated
GitHub

About

MCP server for Egyptian Exchange (EGX) stock tools

Details

Author
M-Abdelmegeed
Downloads
201
Categories
Search

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name EGX-Data-MCP-Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with pip install -r requirements.txt, ensure Python 3.11+, then run uv --directory . run main.py. Configure the server in your settings.json by specifying the uv command with the absolute path to the egx-mcp folder.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "egx-data-mcp-server": {
            "EGX-Data-MCP-Server": {
                "command": "uv",
                "args": [
                    "--directory",
                    ".",
                    "run",
                    "main.py"
                ]
            }
        }
    }
}

McpServers

{
    "EGX-Data-MCP-Server": {
        "command": "uv",
        "args": [
            "--directory",
            ".",
            "run",
            "main.py"
        ]
    }
}

EGX-Data-MCP-Server

MCP server for Egyptian Exchange (EGX) stock tools.

Installation

1. Clone the repository:

   git clone https://github.com/M-Abdelmegeed/EGX-Data-MCP-Server.git
cd EGX-Data-MCP-Server/egx-mcp

2. Install dependencies:

   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:

   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:

"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 -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:

   uv init egx-mcp
cd egx-mcp

2. Create a virtual environment and activate it:

   uv venv
.venv\Scripts\activate

3. Install dependencies:

   uv add mcp[cli] httpx

4. Create your server file:

   new-item main.py

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.