Skip to main content
Glama
hharte

DLI Power Switch MCP Server

by hharte

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DLI_MCP_CONFIGNoSets the environment variable for the configuration file path. If omitted, it defaults to switches_config.json in the current directory.switches_config.json

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_inventoryD
power_actionD
group_power_actionD
list_outletsB

Lists all outlets and their status for a given switch.

sync_config_from_hardwareD
add_switchB

Adds a new DLI power switch to the configuration. Connects to the switch, syncs its configuration, and saves it.

remove_switchC

Removes a DLI power switch from the configuration.

update_outletC

Updates the definition of an outlet.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hharte/dli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server