Skip to main content
Glama

Mirai MCP 服务器

面向 Mirai 经济型聊天补全 API 的官方 MCP 服务器。

npx -y @satuapps/mirai-mcp

访客配额无需密钥即可使用。设置 MIRAI_API_KEY 以进行付费调用。

客户端配置:mcp/README.md。

此仓库是 @satuapps/mirai-mcp 的公开源码。不包含应用服务器代码。

Available Tools

3 tools
account_statusBalance and quotaA
Read-onlyIdempotent

Read remaining guest quota when MIRAI_API_KEY is unset, or paid balance and subscription windows when a key is set. Does not send a chat. Use list_models for prices.

Inputs: no named parameters.

call_modelCall Mirai modelA

Send a chat completion to Mirai and return the assistant text. Use this only to generate a reply. Do not use this to look up prices or remaining quota; use list_models or account_status. Works without MIRAI_API_KEY while daily guest quota remains. With a key, uses the paid chat completions API.

Inputs: messages (required), model, max_tokens.

list_modelsModel catalog and pricingA
Read-onlyIdempotent

Read the live Mirai catalog and public USD price per million tokens. Use this before choosing a model. Does not send a chat. No API key required.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: account_status for quota/balance, call_model for sending chat completions, and list_models for model catalog and prices. There is no overlap or ambiguity.

    Naming Consistency4/5

    Two tools use a verb_noun pattern (call_model, list_models) while account_status is noun_noun, creating a minor inconsistency. However, all names are clear and follow a consistent lowercase snake_case style.

    Tool Count4/5

    With only 3 tools, the set is on the low end of the typical range, but each tool serves a necessary function for the Mirai API. It is well-scoped and not overloaded.

    Completeness4/5

    The tool surface covers the core operations: checking account status, sending chat completions, and listing models. There are no obvious gaps, though advanced features like streaming or conversation management are absent.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers