minimax搜索skill

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
name: minimax-web-search
description: 使用 MiniMax MCP 进行网络搜索。触发条件:(1) 用户要求进行网络搜索、在线搜索、查找信息 (2) 需要查询最新资讯、新闻、资料 (3) 使用 MiniMax 的 web_search 功能
---

# minimax-web-search

通过 mcporter 调用已配置的 MiniMax MCP 服务器进行网络搜索。

## 前提条件

- mcporter 已安装并配置(配置文件位于 `~/.mcporter/mcporter.json`)
- MiniMax MCP 服务器健康可用(`mcporter list` 显示 healthy)
- MiniMax 账户余额充足

## 使用方法

### 步骤 1: 确认服务器状态

```bash
mcporter list
```

确认 minimax 服务器状态为 `healthy`。如果不是,检查 `~/.mcporter/mcporter.json` 配置和 API Key 余额。

### 步骤 2: 调用搜索

使用 mcporter 的 function-call 语法调用 web_search:

```bash
mcporter call 'minimax.web_search(query: "<搜索查询>")' --timeout 30000 --output text
```

**示例:**

```bash
# 搜索今日新闻
mcporter call 'minimax.web_search(query: "今天的热点新闻")' --timeout 30000 --output text

# 搜索技术问题
mcporter call 'minimax.web_search(query: "Python asyncio 教程")' --timeout 30000 --output text
```

### 输出格式选项

- `--output text`:纯文本(默认,适合阅读)
- `--output json`:JSON 原始输出
- `--output markdown`:Markdown 格式

## 错误处理

- **`insufficient balance`**:MiniMax 账户余额不足,需要充值
- **`mcporter: command not found`**:需要安装 mcporter
- **服务器不 healthy**:检查 `~/.mcporter/mcporter.json` 配置和 API Key

## 注意事项

- API Key 和服务器配置由 mcporter 管理,不需要手动维护
- MCP 服务器配置文件:`~/.mcporter/mcporter.json`
- 如果需要调整超时时间,修改 `--timeout` 参数(单位毫秒