hybris-log-mcp
Hybris / SAP Commerce Cloud Log MCP
MCP server for reading and searching SAP Commerce Cloud (CCV2) logs stored in Azure Blob Storage.
Setup
git clone https://github.com/punitdwivedi/hybris-log-mcp.git
cd hybris-log-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # fill in Azure credentialsCursor config
Add to ~/.cursor/mcp.json (or merge with existing servers). Replace /absolute/path/to/hybris-log-mcp with your clone path:
{
"mcpServers": {
"hybris-logs": {
"command": "/absolute/path/to/hybris-log-mcp/.venv/bin/python",
"args": ["/absolute/path/to/hybris-log-mcp/sap_mcp_server.py"],
"env": {
"AZURE_STORAGE_ACCOUNT_NAME": "your-account-name",
"AZURE_STORAGE_ACCOUNT_KEY": "your-account-key",
"AZURE_STORAGE_CONTAINER": "commerce-logs-separated"
}
}
}
}Pass credentials via the env block in MCP config. A local .env also works as a fallback via python-dotenv.
Tools
Tool | Purpose |
| Verify Azure container connectivity |
| List blobs under a prefix |
| Blob metadata |
| Download + decompress log text |
| Regex search in one blob |
| Regex search across recent blobs |
Environment
Variable | Description |
| Storage account name |
| Storage account key |
| Container (default: |
| Optional full connection string override |
License
MIT