Skip to main content
Glama
weixin-grokbot-adapter

weixin-grokbot-adapter

by ma-pony

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WEIXIN_GROKBOT_BASE_URLNoiLink API (used for a fresh login)https://ilinkai.weixin.qq.com
WEIXIN_GROKBOT_BOT_AGENTNobase_info.bot_agentGrokBotAdapter/1.1.0
WEIXIN_GROKBOT_STATE_DIRNoCredentials, cursors, context tokens, inbound media~/.weixin-grokbot-adapter
WEIXIN_GROKBOT_CDN_BASE_URLNoFallback CDN originhttps://novac2c.cdn.weixin.qq.com/c2c
WEIXIN_GROKBOT_API_TIMEOUT_MSNoTimeout for ordinary API calls15000
WEIXIN_GROKBOT_CDN_TIMEOUT_MSNoTimeout for CDN upload/download60000
WEIXIN_GROKBOT_MAX_UPLOAD_BYTESNoLocal and remote upload size limit (100 MiB)104857600
WEIXIN_GROKBOT_CONFIG_TIMEOUT_MSNoTimeout for getConfig / typing / notify10000
WEIXIN_GROKBOT_LONG_POLL_TIMEOUT_MSNoClient timeout for getUpdates35000

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
weixin_statusA

Show whether this machine has a saved Weixin iLink bot token, and the local state directory. Does not start login or show a QR code.

weixin_pollA

One getUpdates long-poll cycle (default ~35s). Returns new inbound Weixin messages and caches context_token. Empty result is normal when nobody wrote. Requires a prior CLI login.

weixin_sendA

Send a text message to a Weixin user via ilink/bot/sendmessage. Defaults to the last inbound peer. A cached context_token is attached when available.

weixin_send_mediaA

Upload a local file (or an http(s) URL) to the Weixin CDN and send it as an image, video, or file attachment. Optional caption is sent as a separate text message first. Requires a prior CLI login.

weixin_typingB

Show or cancel the official typing indicator for a user (ilink/bot/sendtyping).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct operation: status inspection, message polling, text sending, media sending, and typing indicators. The only adjacent pair, weixin_send and weixin_send_media, is clearly separated by text vs. file/URL payloads.

Naming Consistency4/5

All tools share the same weixin_ prefix and snake_case convention, making the namespace predictable. However, the suffix mixes states/nouns (status, typing) with actions (poll, send), so the verb pattern is not perfectly uniform.

Tool Count5/5

Five tools is a well-scoped surface for a Weixin bot adapter, covering the essential receive, send, media, and presence operations without bloat. Each tool earns its place.

Completeness4/5

The core messaging lifecycle is covered: status, inbound polling, outbound text, media attachments, and typing indicators. Minor gaps exist around login/QR initiation and richer message or contact operations, but those appear intentionally delegated to the CLI.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues