DLI Power Switch MCP Server
by hharte
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DLI_MCP_CONFIG | No | Sets 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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