Skip to main content
Glama
exception-mcp-server

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: SAP RCA 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! 🎯

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • 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.
      22 npm
      14
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to perform root cause analysis on SAP systems by querying Azure Log Analytics data, offering schema discovery, validated KQL execution, result analysis, and automated 8-step RCA workflows.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to perform observability analysis across Prometheus-compatible metrics and logs without prior vendor knowledge, including signal discovery, entity topology resolution, root-cause analysis, correlation, and capacity forecasting through natural-language anchors.
      Apache 2.0
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to query and manage monitoring data through structured tools, covering alerts, devices, metrics, dashboards, reports, remediation workflows, and optional AI/ML analysis integrations.
      -