Tools
Minimax Websearch
MiniMax Web Search plugin for OpenClaw via mcporter MCP
Install
npm install -g
Configuration Example
{
"mcpServers": {
"MiniMax": {
"command": "npx",
"args": ["-y", "@minimax-ai/mcp-server"]
}
}
}
README
# MiniMax WebSearch Plugin for OpenClaw
A web search plugin for [OpenClaw](https://github.com/openclaw/openclaw) that provides AI-powered web search via MiniMax's MCP server through the mcporter CLI.
## Features
- 🔍 **Web Search** - Search the web using MiniMax AI
- ⚡ **Fast & Simple** - Lightweight wrapper with minimal dependencies
- 🔒 **Secure** - API key stored in environment, never in code
- 📦 **Easy Setup** - Minimal configuration required
## Requirements
- Node.js >= 18.0.0
- [mcporter](https://www.npmjs.com/package/mcporter) installed globally
- MiniMax MCP server configured in `~/.mcporter/mcporter.json`
- `MINIMAX_API_KEY` environment variable (or configured in mcporter.json)
## Installation
### 1. Install mcporter
```bash
npm install -g mcporter
```
### 2. Configure MiniMax MCP Server
Create or edit `~/.mcporter/mcporter.json`:
```json
{
"mcpServers": {
"MiniMax": {
"command": "npx",
"args": ["-y", "@minimax-ai/mcp-server"]
}
}
}
```
Set your API key:
```bash
export MINIMAX_API_KEY="your-api-key-here"
```
### 3. Enable the Plugin
Add the plugin to your OpenClaw configuration:
```json
{
"plugins": {
"entries": ["minimax-websearch"]
}
}
```
Or use the OpenClaw CLI:
```bash
openclaw plugins enable minimax-websearch
```
## Usage
The plugin provides the `minimax_search` tool:
```
Tool: minimax_search
Parameters:
- query (string, required): Search query (max 500 characters)
- count (number, optional): Number of results (1-20, default: 10)
```
### Example
```typescript
// Via OpenClaw agent
await minimax_search({
query: "latest AI news",
count: 5
});
```
## Plugin Structure
```
minimax-websearch/
├── index.ts # Main plugin code
├── openclaw.plugin.json # OpenClaw plugin manifest
├── package.json # npm package manifest
├── .gitignore # Git ignore rules
└── README.md # This file
```
## Development
```bash
# Clone the repo
git clone https://github.com/lilmango/minimax-websearch.git
cd minimax-websearch
# Install dependencies (if any)
npm install
# Build (if needed)
npm run build
```
## Contributing
Contributions welcome! Please open an issue or submit a PR.
## License
MIT
## Author
Lil - [GitHub](https://github.com/lilmango)
tools
Comments
Sign in to leave a comment