Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DIRIGERA_TOKENNoThe access token generated from the hub. Required in both stdio and HTTP modes.
DIRIGERA_HUB_IPNoThe IP address of the DIRIGERA hub. Required in both stdio and HTTP modes.
DIRIGERA_MCP_KEYNoShared secret for HTTP mode. Required when running the server over HTTP.

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
list_outletsA

List every outlet (smart plug) paired to the DIRIGERA hub.

Returns id, name, room, on/off state and reachability for each one. Use the id with the other outlet tools.

get_outletA

Get the current state of a single outlet, freshly read from the hub.

Args: outlet_id: The outlet's id, as returned by list_outlets.

set_outletA

Switch an outlet on or off and return its state as read back from the hub.

Args: outlet_id: The outlet's id, as returned by list_outlets. on: True to switch the outlet on, False to switch it off.

toggle_outletA

Flip an outlet to the opposite of its current state and return the new state.

Args: outlet_id: The outlet's id, as returned by list_outlets.

power_cycleA

Power-cycle whatever is plugged into an outlet: switch it off, wait, switch it back on.

Intended for rebooting hardware attached to a smart plug, such as a development board. Power is restored even if the wait is interrupted. Keep off_seconds short -- the call blocks for that long and must finish inside the MCP client's tool-call timeout.

Args: outlet_id: The outlet's id, as returned by list_outlets. off_seconds: How long to stay powered off, in seconds (0.5 to 300).

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/david-s-svedberg/ikea-mcp'

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