Skip to main content
Glama
18abhi89

exception-mcp-server

by 18abhi89

Exception Analysis Framework

AI-powered exception analysis for operations teams


๐Ÿš€ Quick Start

# 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

Related MCP server: otel-mcp-server

๐Ÿ“š Full Documentation

See FRAMEWORK_README.md for complete documentation including:

  • Configuration guide

  • Testing procedures

  • Usage examples

  • Adaptation for other projects

  • Troubleshooting


๐Ÿงช Test Framework

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! ๐ŸŽฏ

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI-powered debugging through structured logging with pattern recognition and intelligent analysis. Allows applications to write structured logs and receive actionable debugging insights based on error patterns and frequency analysis.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language querying and analysis of OpenTelemetry traces, metrics, and logs stored in Elasticsearch/OpenSearch, allowing AI assistants to investigate performance issues, find root causes, and explore system behavior.
    21
    14
    MIT