Skip to main content
Glama
gkoenig

anker-solix-mcp

by gkoenig

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANKER_EMAILYesAnker account email (required)
ANKER_COUNTRYNoTwo-letter country code used at signup (default DE)DE
ANKER_SITE_IDNoDefault site ID, if you have more than one Anker Solix system
ANKER_MCP_HOSTNoBind address for HTTP transports (default 127.0.0.1)127.0.0.1
ANKER_MCP_PATHNoHTTP path the MCP endpoint is mounted at (default /mcp)/mcp
ANKER_MCP_PORTNoBind port for HTTP transports (default 8000)8000
ANKER_PASSWORDYesAnker account password (required)
ANKER_MCP_TRANSPORTNostdio (default), streamable-http, or ssestdio
ANKER_REFRESH_SECONDSNoMinimum seconds between automatic data refreshes (default 60)60

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_sitesA

List every Anker power system ("site") linked to this account, keyed by site ID.

    A site groups together the devices installed at one location - e.g. a
    Solarbank, its expansion battery pack, and a Smartmeter. Start here (or
    with list_devices) to discover the IDs needed by the other tools.
    
get_site_overviewA

Get the cached detail record for one site, including whatever current power-flow summary the Anker cloud API reports for it (e.g. solar input, battery charge/discharge, home load, grid import/export).

    Args:
        site_id: The site ID, as returned by list_sites.
    
list_devicesA

List every device (Solarbank, expansion battery pack, Smartmeter, etc.) linked to the Anker account, keyed by device serial number.

    Each entry contains whatever fields the Anker cloud API reports for
    that specific device model and firmware version - typically at least a
    name and a type/model field, plus live status fields where available.
    Use this to find device serial numbers (device_sn) for the more
    specific tools like get_solarbank_status and get_smartmeter_status.
    
get_deviceA

Get the full cached detail record for one device by serial number, with no type-specific filtering applied.

    Args:
        device_sn: The device serial number, as returned by list_devices.
    
list_solarbanksA

List devices that look like Solarbanks or their expansion battery packs, identified heuristically from model/type/name fields.

    If nothing matches the heuristic, every device is returned instead so
    you can still find the right one by eye - use get_device on any
    serial number for the unfiltered detail record.
    
get_solarbank_statusA

Get current status for one Solarbank (or expansion battery pack): battery state of charge, solar input power, output power, charge/discharge power, temperature, and any other fields the Anker cloud API reports for this device.

    Args:
        device_sn: The Solarbank's device serial number (see list_solarbanks
            or list_devices).
    
get_solarbank_scheduleB

Get the charge/discharge schedule and output-power plan configured for a Solarbank, if the Anker cloud API reports one under this device's cached data.

    Args:
        device_sn: The Solarbank's device serial number (see list_solarbanks
            or list_devices).
    
list_smartmetersA

List devices that look like Anker Smartmeters, identified heuristically from model/type/name fields.

If nothing matches the heuristic, every device is returned instead so you can still find the right one by eye.

get_smartmeter_statusA

Get current status for one Smartmeter: grid import/export power and any other fields the Anker cloud API reports for this device.

    Args:
        device_sn: The Smartmeter's device serial number (see
            list_smartmeters or list_devices).
    
get_energy_statisticsA

Fetch fresh energy statistics from the Anker cloud API: solar production, battery charge/discharge, grid import/export, and home usage totals, for every site/device the account can see.

    Unlike the other tools, this always makes a live request rather than
    serving the throttled cache, since energy totals are the numbers most
    often asked about ("how much did we produce/use today").
    
refresh_dataA

Force an immediate refresh of all cached Anker Solix data (sites, devices, and energy), bypassing the normal refresh-interval throttle.

Call this if you suspect other tools are returning stale data - for example right after changing a setting in the Anker app.

get_account_infoA

Get basic info about the authenticated Anker account (e.g. nickname, account/email identifiers), with any credentials or tokens redacted.

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/gkoenig/anker-solix-mcp'

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