Skip to main content

MCP server for accessing Azure Cloud Health information.

Project description

Health MCP Server

This project provides an MCP server for accessing Azure Cloud Health information using custom health tools.

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)
  • Azure credentials set up for DefaultAzureCredential (e.g., via az login or environment variables)
  • The following Python packages:
    • requests
    • azure-identity
    • mcp (ensure this is installed or available in your environment)

Installation

  1. Clone this repository.

  2. Install dependencies:

    pip install requests azure-identity
    

    If mcp is not available on PyPI, ensure it is installed or accessible in your environment.

Running the MCP Server

From the root directory, run:

python src/HealthToolsMcpServer.py

The server will start and register the health tools.

Usage

The server exposes two main tools:

  • GetEntityHealthPy: Get the health of an entity.
  • GetHealthModelPy: Get the health model.

Refer to the code in src/HealthToolsMcpServer.py for details on tool parameters.

Logging

Logs are written to c:\temp\McpServerPy.txt.

Troubleshooting

  • Ensure your Azure credentials are correctly configured.
  • Check the log file for error details if something goes wrong.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

health_mcp_server-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

health_mcp_server-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file health_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: health_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for health_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd1e448d33a3362bb0b3617b23a25de5235260be9145d7c161a4de7ca6717737
MD5 c69709c5ea7040eee7a2a6d05b6bfeaf
BLAKE2b-256 89ebdb72c5e3da5641ab1f393ca6735289c73c754a92f6d777345a0f7734044c

See more details on using hashes here.

File details

Details for the file health_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for health_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0eee930b284610984840956ac9c12cb873595bf0c6acb43287801592ac53fea
MD5 003ae3287169b1c434b755c56381d127
BLAKE2b-256 573fa08bc9703e705ea9b4eb00e8da952d89f77fdd8a35b549fb9dff1195370a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page