Engineering Consulting

MCP Server Setup

Back to Sample Lab GUI
1

Static-hosted demo note. This Hostinger-ready build does not include a runnable MCP server process.

The snippet below is left as a reference template only. You would need to host a real MCP runtime elsewhere to make it live.

Loading…

After saving mcp.json, reload VS Code's MCP servers (Ctrl+Shift+PMCP: List Servers).

2

Test the REST API the MCP server calls.

Not tested

Available MCP Tools

These are the tools an AI will see. Good descriptions let models reason about the demo device topology without extra prompting.

Loading…

Example AI Workflows

Turn off a demo terminal load

  1. list_devices("Demo Bay B") — find demo_apc_b
  2. get_outlet_names("demo_apc_b") — find a named load
  3. control_apc_outlet("demo_apc_b", N, "off")

Set a relay output

  1. list_devices("Demo Bay A") — find demo_relay_a
  2. get_device_status("demo_relay_a") — find a relay label
  3. control_relay("demo_relay_a", 1, "on")

Check what groups exist

  1. list_labs() — returns all demo groups with device inventory

Rename a power outlet

  1. list_devices("Demo Bay A") — identify the power unit
  2. get_outlet_names("demo_apc_a")
  3. send_device_command("demo_apc_a", "set_outlet_name", ...)