d4s_mcp_server

KMilan94/d4s_mcp_server

3.1

If you are the rightful owner of d4s_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The D4S AI ERP – MCP Server is a robust platform designed to facilitate seamless integration and communication between AI models and enterprise resource planning systems using the Model Context Protocol (MCP).

D4S AI ERP – MCP Server

Prerequisites

Before starting, ensure you have the following installed or available:

  • Python 3.10+
    Verify your installation with:
    python --version
    
  • OpenAI API Key
    Required for connecting to GPT-4o-mini or similar OpenAI models.

Setup Instructions

1. Create a Virtual Environment

Create and activate a Python virtual environment:

python -m venv mcp-env
source mcp-env/bin/activate    # macOS / Linux
mcp-env\Scripts\activate       # Windows

2. Install Dependencies

Install all required packages:

pip install openai python-dotenv httpx uvicorn starlette mcp

3. Configure Environment Variables

Create a file named .env in your project root and add the following:

OPENAI_API_KEY=your-openai-api-key
MCP_SSE_URL=http://localhost:8080/sse

Running the Server

Start the MCP server (ensure server.py is present in your working directory):

python server.py --host localhost --port 8080

Running the Client

Once the server is running, start the client interface:

python client.py