@ameno/pi-minimax-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +207 -0
- package/bin/pi-minimax-mcp.js +163 -0
- package/dist/client.d.ts +30 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +189 -0
- package/dist/client.js.map +1 -0
- package/dist/config.d.ts +12 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +84 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +49 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +13 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +38 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +118 -0
- package/dist/utils.js.map +1 -0
- package/extensions/index.ts +271 -0
- package/package.json +67 -0
- package/skill/SKILL.md +63 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ameno/pi-minimax-mcp",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "MiniMax MCP tools for pi - Web search and image understanding via MiniMax's Model Context Protocol",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pi",
|
|
7
|
+
"pi-package",
|
|
8
|
+
"pi-extension",
|
|
9
|
+
"pi-coding-agent",
|
|
10
|
+
"pi-mcp",
|
|
11
|
+
"pi-tool",
|
|
12
|
+
"pi-ai",
|
|
13
|
+
"ai",
|
|
14
|
+
"minimax",
|
|
15
|
+
"mcp",
|
|
16
|
+
"mcp-server",
|
|
17
|
+
"web-search",
|
|
18
|
+
"image-understanding",
|
|
19
|
+
"model-context-protocol",
|
|
20
|
+
"coding-agent",
|
|
21
|
+
"agent-tools"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "dist/index.js",
|
|
25
|
+
"types": "dist/index.d.ts",
|
|
26
|
+
"files": [
|
|
27
|
+
"dist/",
|
|
28
|
+
"bin/",
|
|
29
|
+
"extensions/",
|
|
30
|
+
"skill/",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"bin": {
|
|
35
|
+
"pi-minimax-mcp": "./bin/pi-minimax-mcp.js"
|
|
36
|
+
},
|
|
37
|
+
"pi": {
|
|
38
|
+
"extensions": [
|
|
39
|
+
"./extensions/index.ts"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsc",
|
|
44
|
+
"dev": "tsc --watch",
|
|
45
|
+
"test": "node --test dist/**/*.test.js",
|
|
46
|
+
"lint": "biome check src/",
|
|
47
|
+
"format": "biome format --write src/"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@mariozechner/pi-ai": "*",
|
|
51
|
+
"@mariozechner/pi-coding-agent": "*",
|
|
52
|
+
"@sinclair/typebox": "*"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/node": "^22.0.0",
|
|
56
|
+
"typescript": "^5.5.0"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=20.0.0"
|
|
60
|
+
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "git+https://github.com/ameno-/pi-minimax-mcp.git"
|
|
64
|
+
},
|
|
65
|
+
"author": "ameno",
|
|
66
|
+
"license": "MIT"
|
|
67
|
+
}
|
package/skill/SKILL.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: minimax-mcp
|
|
3
|
+
description: MiniMax Web Search & Image Understanding MCP for Pi
|
|
4
|
+
author: ameno
|
|
5
|
+
tags: [search, image, mcp, minimax]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# MiniMax MCP Skill
|
|
9
|
+
|
|
10
|
+
Web search and image understanding via MiniMax's Model Context Protocol.
|
|
11
|
+
|
|
12
|
+
## Tools
|
|
13
|
+
|
|
14
|
+
### web_search
|
|
15
|
+
Real-time web search for up-to-date information.
|
|
16
|
+
|
|
17
|
+
**Usage:**
|
|
18
|
+
```
|
|
19
|
+
Search for latest React server components documentation
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### understand_image
|
|
23
|
+
Analyze and describe image content.
|
|
24
|
+
|
|
25
|
+
**Usage:**
|
|
26
|
+
```
|
|
27
|
+
What does this image show? [path/to/image.png]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Setup
|
|
31
|
+
|
|
32
|
+
1. Get API key from https://platform.minimax.io/subscribe/coding-plan
|
|
33
|
+
2. Set environment variable:
|
|
34
|
+
```bash
|
|
35
|
+
export MINIMAX_API_KEY="your-api-key"
|
|
36
|
+
export MINIMAX_API_HOST="https://api.minimax.io" # optional
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Configuration
|
|
40
|
+
|
|
41
|
+
Config file: `~/.pi/agent/extensions/minimax-mcp.json`
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"apiKey": "your-api-key",
|
|
46
|
+
"apiHost": "https://api.minimax.io",
|
|
47
|
+
"basePath": "/tmp/minimax-output",
|
|
48
|
+
"resourceMode": "url"
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## CLI Usage
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# Direct search
|
|
56
|
+
pi-minimax-mcp search "quantum computing latest breakthroughs"
|
|
57
|
+
|
|
58
|
+
# Image understanding
|
|
59
|
+
pi-minimax-mcp understand ./screenshot.png
|
|
60
|
+
|
|
61
|
+
# Interactive mode
|
|
62
|
+
pi-minimax-mcp interactive
|
|
63
|
+
```
|