If the automatic installer python3 install.py doesn't work, use these instructions for manual setup.
# Go to project folder
cd /path/to/yangotech_mcp
# Create virtual environment
python3 -m venv .venv
# Activate it
# macOS/Linux:
source .venv/bin/activate
# Windows:
.venv\Scripts\activate# Update pip
python -m pip install --upgrade pip
# Install dependencies
pip install fastmcp>=2.5.0 httpx>=0.25.0 pydantic>=2.0.0 python-dotenv>=1.0.0# Set environment variables
export YANGO_TECH_API_KEY="your_api_key_here"
export YANGO_TECH_BASE_URL="https://api.tst.eu.cloudretail.tech"
# Test connection
python test_api_connection.py
# Check MCP server
python server.pymacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json# macOS
open ~/Library/Application\ Support/Claude/claude_desktop_config.json
# Windows
notepad "%APPDATA%\Claude\claude_desktop_config.json"
# Linux
nano ~/.config/Claude/claude_desktop_config.jsonIf file is empty or new:
{
"mcpServers": {
"yango-tech": {
"command": "/opt/homebrew/opt/python@3.13/bin/python3.13",
"args": ["/FULL_PATH/yangotech_mcp/server.py"],
"cwd": "/FULL_PATH/yangotech_mcp",
"env": {
"PYTHONPATH": "/FULL_PATH/yangotech_mcp/.venv/lib/python3.13/site-packages",
"YANGO_TECH_API_KEY": "your_api_key_here",
"YANGO_TECH_BASE_URL": "https://api.tst.eu.cloudretail.tech",
"YANGO_TECH_TIMEOUT": "30",
"YANGO_TECH_MAX_RETRIES": "3"
}
}
}
}If file already contains other MCP servers:
{
"mcpServers": {
"existing-server": {
"command": "...",
"args": ["..."]
},
"yango-tech": {
"command": "/opt/homebrew/opt/python@3.13/bin/python3.13",
"args": ["/FULL_PATH/yangotech_mcp/server.py"],
"cwd": "/FULL_PATH/yangotech_mcp",
"env": {
"PYTHONPATH": "/FULL_PATH/yangotech_mcp/.venv/lib/python3.13/site-packages",
"YANGO_TECH_API_KEY": "your_api_key_here",
"YANGO_TECH_BASE_URL": "https://api.tst.eu.cloudretail.tech",
"YANGO_TECH_TIMEOUT": "30",
"YANGO_TECH_MAX_RETRIES": "3"
}
}
}
}- Replace
/FULL_PATH/yangotech_mcpwith actual path to your project - Replace
your_api_key_herewith your Yango Tech API key
For Windows use paths like:
"command": "C:\\path\\to\\yangotech_mcp\\.venv\\Scripts\\python.exe",
"cwd": "C:\\path\\to\\yangotech_mcp"- Press
Cmd/Ctrl + ,to open settings - In left panel find "MCP"
- Click "Add new global MCP server"
Primary option (recommended):
{
"command": "/FULL_PATH/yangotech_mcp/.venv/bin/python",
"args": ["server.py"],
"cwd": "/FULL_PATH/yangotech_mcp",
"env": {
"YANGO_TECH_API_KEY": "your_api_key_here",
"YANGO_TECH_BASE_URL": "https://api.tst.eu.cloudretail.tech",
"YANGO_TECH_TIMEOUT": "30",
"YANGO_TECH_MAX_RETRIES": "3"
}
}Alternative option (if there are path issues):
{
"command": "python3",
"args": ["server.py"],
"cwd": "/FULL_PATH/yangotech_mcp",
"env": {
"PYTHONPATH": "/FULL_PATH/yangotech_mcp",
"PATH": "/FULL_PATH/yangotech_mcp/.venv/bin:$PATH",
"YANGO_TECH_API_KEY": "your_api_key_here",
"YANGO_TECH_BASE_URL": "https://api.tst.eu.cloudretail.tech",
"YANGO_TECH_TIMEOUT": "30",
"YANGO_TECH_MAX_RETRIES": "3"
}
}In "Server name" field enter: yango-tech
- Replace
/FULL_PATH/yangotech_mcpwith actual path to your project - Replace
your_api_key_herewith your Yango Tech API key
cd yangotech_mcp
pwd
# Result: /Users/username/yangotech_mcp# macOS/Linux
which python
# Result: /Users/username/yangotech_mcp/.venv/bin/python
# Windows
where python
# Result: C:\Users\username\yangotech_mcp\.venv\Scripts\python.exeGet API key from Yango Tech and use it.
After setup you should have 6 Yango Tech tools with product name enrichment:
get_order_details- Get order details with product namesget_order_status- Get order statusget_all_products- Get all products with display namesget_products_batch- Get products with pagination and namesget_all_stocks- Get all stocks with product namesget_stocks_batch- Get stocks with pagination and names
π― Key Feature: All tools show user-friendly product names instead of cryptic product IDs!
- "Show 5 products from Yango Tech catalog" (with product names)
- "Show product stocks in stores" (with product names)
- "Show details of order 240920-728268" (with enriched cart items)
- "Get order status for 240920-728268"
Solution: Check correctness of Python and project folder paths
Solution:
# Activate virtual environment
source .venv/bin/activate
# Reinstall dependencies
pip install fastmcp httpx pydantic python-dotenvSolution: Check API key correctness or use test key
Solution:
- Check JSON syntax in configuration
- Restart IDE
- Check IDE logs
Solution:
# Make Python file executable
chmod +x .venv/bin/python
chmod +x server.pyCreate file run_server.sh:
#!/bin/bash
cd /FULL_PATH/yangotech_mcp
export YANGO_TECH_API_KEY="your_key"
export YANGO_TECH_BASE_URL="https://api.tst.eu.cloudretail.tech"
.venv/bin/python server.pyUse in configuration:
{
"command": "/FULL_PATH/yangotech_mcp/run_server.sh"
}Create file run_server.bat:
@echo off
cd /d C:\path\to\yangotech_mcp
set YANGO_TECH_API_KEY=your_key
set YANGO_TECH_BASE_URL=https://api.tst.eu.cloudretail.tech
.venv\Scripts\python.exe server.pyUse in configuration:
{
"command": "C:\\path\\to\\yangotech_mcp\\run_server.bat"
}π― Result: Yango Tech MCP server works in Claude Desktop or Cursor IDE!