exception-mcp-server
by 18abhi89
README.md
# Exception Analysis Framework
**AI-powered exception analysis for operations teams**
---
## ๐ Quick Start
```bash
# 1. Install dependencies
pip install -r requirements.txt
# 2. Configure credentials
# Edit config.yaml and paste your Azure OpenAI endpoint and API key:
# azure_openai:
# endpoint: "https://your-resource.openai.azure.com/"
# api_key: "your-api-key-here"
# 3. Run tests
python test_framework.py
# 4. Ingest data
python ingest.py
# 5. Launch UI
streamlit run streamlit_app.py
```
---
## ๐ Full Documentation
See **[FRAMEWORK_README.md](FRAMEWORK_README.md)** for complete documentation including:
- Configuration guide
- Testing procedures
- Usage examples
- Adaptation for other projects
- Troubleshooting
---
## ๐งช Test Framework
```bash
python test_framework.py
```
Expected: **5/7 tests pass** (2 expected failures: ChromaDB install, Azure credentials)
---
## ๐ Project Structure
```
โโโ config.yaml # Configuration
โโโ llm_client.py # Azure OpenAI client
โโโ stacktrace_parser.py # Parse stack traces
โโโ vector_store.py # ChromaDB wrapper
โโโ server.py # MCP server
โโโ streamlit_app.py # UI
โโโ ingest.py # Load data into vector DB
โโโ test_framework.py # Test suite
โโโ data/
โ โโโ exceptions.csv # Exception data (100 samples)
โโโ FRAMEWORK_README.md # Complete documentation
```
---
## โจ Features
- **Vector similarity search** using ChromaDB
- **AI analysis** with Azure OpenAI
- **Simple architecture** that works across projects
- **Comprehensive tests** included
- **Copy-paste schema** - no manual definitions
---
**Framework is production-ready. Run tests and start analyzing exceptions!** ๐ฏ
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues