Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
minimax_statusA

Return current Token Plan status (the same numbers shown on the page).

Reads the 5h fixed-window remaining/used percent, time until reset, and weekly window. Use this before any substantial work that will call MiniMax models. If should_pause is true, the agent should sleep until the 5h window resets (see minimax_wait_for_quota).

The web console actually fires two distinct requests; we mirror both so the response matches what the user sees on screen:

  1. /v1/api/openplatform/coding_plan/remains?GroupId={gid} powers the "5h 限额 / X% 已用 / 2h56m 后重置" panel.

  2. /backend/account/token_plan_credit powers the "套餐用量" panel (total / used / remaining credits).

Auth for both uses the persisted web-session cookies (Camoufox capture). When cookies are missing or stale, the failure body is saved to <data_dir>/last_coding_plan_failure.json so the cause can be diagnosed.

minimax_loginA

Launch a headful Camoufox browser so the user can log in manually.

Returns once the _token cookie appears in the browser. The server detects login success automatically; no further action needed.

minimax_windowA

Return only the agent-local 5h observation window (no API call).

minimax_consumeA

Increment the local 5h-window consumption counter by delta.

Call this once per MiniMax API call (or batch) your agent makes. Combined with minimax_status() it lets the agent pace itself without waiting for MiniMax's 5h rate limit to bite.

minimax_wait_for_quotaA

Block until the 5h window remaining percent exceeds target_remaining_percent.

Polls minimax_status() every poll_seconds and exits when the threshold is satisfied (default = pause_threshold_remaining_pct). Cancellable by closing the MCP connection. Intended for use by an agent that wants to truly pause (not just sleep a fixed amount).

minimax_clearA

Wipe persisted cookies, session metadata, and window state.

Requires confirm=True to actually delete (otherwise returns a preview of what would be removed).

minimax_smokeA

Quick health check: launch headless Camoufox and load example.com.

minimax_infoB

Return static configuration + last-known session metadata.

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/yang-cc/minimax-remaining-mcp'

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