altotech-mcp-demo

elcolie/altotech-mcp-demo

3.1

If you are the rightful owner of altotech-mcp-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Model Context Protocol (MCP) server is a versatile tool designed to facilitate communication between different components of a software system, particularly in environments that utilize machine learning models and large language models (LLMs).

Step to reproduce

  1. uv init altotech_smart_building
  2. cd altotech_smart_building
  3. uv add "mcp[cli]"
  4. uv add requests
  5. uv run mcp install server.py to install to Claude desktop.

claude_desktop_config.json

Do not use default one from uv run mcp install main.py it is broken.

{
  "mcpServers": {
    "Demo": {
      "command": "/usr/local/bin/uv",
      "args": [
        "run",
        "--directory",
        "/Users/sarit/learn_mcp/altotech_smart_building/altotech_smart_building",
        "python",
        "main.py"
      ]
    }
  }
}

Claude does not accept MCP response in file.

Use file_format=json instead. get energy summary of hotel 1. subsystem lighting. start_time 2024-11-01 end_time 2025-03-01. resolution 1month. file_format=json /api/hotels/1/energy-summary/?resolution=1month&subsystem=lighting&start_time=2024-11-01T00%3A00%3A00&end_time=2025-03-01T23%3A59%3A59&file_format=json