Skip to main content
Glama
AI1379
by AI1379

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MIHOYO_MCP_DATA_DIRNoData directory for accounts, credentials, and alert state.~/.mihoyo-mcp
MIHOYO_MCP_LOG_LEVELNoLog level (logs go to stderr; stdout is reserved for MCP protocol).INFO
MIHOYO_MCP_FERNET_KEYNoCredential encryption key; production environments should use a secret store.auto-generated
MIHOYO_MCP_STAMINA_THRESHOLDNoDefault stamina threshold for starrail_check_alerts.200

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
auth_start_qr_loginA

Start a Miyoushe QR login. Returns a login URL, a base64 PNG QR code and a session_id. Show the QR to the user (they scan it with the Miyoushe app), then call auth_poll_qr_login.

auth_poll_qr_loginA

Poll a QR login session started by auth_start_qr_login. Returns status pending/scanned/confirmed; on confirmed the account is stored and returned (cookies stay inside the server).

auth_statusA

Overview of logged-in accounts and pending login sessions.

accounts_listA

List logged-in miHoYo accounts with their game roles (uid per game). No credentials are ever included.

accounts_refreshA

Re-discover game roles (uids) for an account from miHoYo. Pass account_id, or omit it when only one account is logged in.

starrail_daily_noteA

Star Rail real-time note: stamina (trailblaze power), reserve stamina, daily training, weekly rogue points and expeditions. account_id from accounts_list; omit when only one account is logged in.

genshin_daily_noteA

Genshin Impact real-time note: resin, realm currency, commissions and expeditions. account_id from accounts_list; omit when only one account is logged in.

zzz_daily_noteA

Zenless Zone Zero real-time note: battery charge, engagement, video store. account_id from accounts_list; omit when only one account is logged in.

starrail_check_alertsA

Check a Star Rail note and return only noteworthy changes (stamina nearly full/full, expeditions complete, daily training complete), with cross-poll dedup — an alert fires once until the condition resets. Designed for scheduled polling: empty alerts means stay quiet. account_id from accounts_list; omit when only one account is logged in; stamina_threshold defaults to 200.

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/AI1379/mihoyo-mcp'

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