elcolie/altotech-mcp-demo
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
uv init altotech_smart_building
cd altotech_smart_building
uv add "mcp[cli]"
uv add requests
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