Minimax Cli Web Search
Web search via MiniMax MCP using a local CLI wrapper (mcporter), with environment preflight, API-key
- Rating
- 3.8 (451 reviews)
- Downloads
- 37,814 downloads
- Version
- 1.0.0
Overview
Web search via MiniMax MCP using a local CLI wrapper (mcporter), with environment preflight, API-key/config checks.
Complete Documentation
View Source →
MiniMax CLI Web Search
Use this skill to run web search through MiniMax MCP from CLI, then return clean, source-first results.
Phase 1: Environment Preparation (must run first)
1) Preflight checks
Run:scripts/minimax_web_search.sh --preflight
This verifies:
mcporterexists- MiniMax MCP server is discoverable (
mcporter list --json) - Server status is healthy (
name=minimax,status=ok)
2) If preflight fails, repair by failure type
mcporter not found- Install/setup mcporter in PATH.
minimax MCP server not ready- Check
config/mcporter.jsonincludes minimax server. - Verify command/transport is valid.
- Auth/API-key related errors
- Ensure MiniMax API key is configured for the minimax MCP server.
- Re-run preflight.
3) Initiate / smoke test
Run one query after preflight passes:scripts/minimax_web_search.sh --query "latest OpenClaw release" --count 3
If this returns results, environment is ready.
Phase 2: Search Usage (runtime)
Quick usage
scripts/minimax_web_search.sh --query "your query" --count 5
Supported options
--query: required search query--count: max printed results (default5)--freshness: freshness hint appended to query (optional)--json: normalized JSON output--raw: raw tool JSON output--timeout: command timeout (default35)
Output contract (default text)
- Show top-N results in order
- For each item: title, URL, snippet, date (when available)
- Keep output concise and directly actionable
Agent behavior guideline
- Start with a focused query (3–7 keywords).
- If low quality, rephrase once with narrower terms.
- Return key findings + links (no table required).
- For time-sensitive asks, include time words in query (e.g.,
today,latest, date).
Error model (for reliable automation)
Script exit codes:
0: success2: argument error3: dependency missing (mcporter/python3)4: config/auth issue (MCP server unavailable, API key/auth problems)5: upstream/runtime/network failure6: no results (non-fatal)
6 as a normal “no match” outcome, not a crash.Risks and handling
- CLI/config drift across machines
- Use
--preflightbefore first use in a new environment. - API key exposure risk
- Never print key values; report only missing/invalid status.
- Temporary file safety
- Wrapper uses
mktempfor stderr/output temp files and cleans them withtrap. - Upstream response variance
- Use
--jsonnormalized output for downstream automation. - Timeout/network instability
- Increase
--timeoutand retry with narrower query/count. - Weak relevance
- Rephrase query, add concrete entities/time ranges.
Additional reference
- For setup/verification commands and publish readiness checks, read:
references/environment-checklist.md
Reference style
When presenting findings, include direct links for verification. Prefer 3–5 high-signal sources over large dumps.
Installation
openclaw install minimax-cli-web-search
💻Code Examples
scripts/minimax_web_search.sh --preflight
This verifies:
- `mcporter` exists
- MiniMax MCP server is discoverable (`mcporter list --json`)
- Server status is healthy (`name=minimax`, `status=ok`)
### 2) If preflight fails, repair by failure type
- `mcporter not found`
- Install/setup mcporter in PATH.
- `minimax MCP server not ready`
- Check `config/mcporter.json` includes minimax server.
- Verify command/transport is valid.
- Auth/API-key related errors
- Ensure MiniMax API key is configured for the minimax MCP server.
- Re-run preflight.
### 3) Initiate / smoke test
Run one query after preflight passes:scripts/minimax_web_search.sh --query "latest OpenClaw release" --count 3
If this returns results, environment is ready.
---
## Phase 2: Search Usage (runtime)
### Quick usageTags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.