@tropass/mcp-installer 1.2.4 → 1.2.5
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/README.md +28 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# @tropass/mcp-installer
|
|
2
2
|
|
|
3
|
-
CLI
|
|
3
|
+
CLI-инсталлер для настройки AI-агентов на работу с удалённым Tropass MCP gateway.
|
|
4
4
|
|
|
5
5
|
[Tropass](https://xn--80a1adciab.xn--p1ai/)
|
|
6
6
|
|
|
7
|
-
Tropass
|
|
7
|
+
Tropass отдаёт доступные пользователю ML-модели как MCP tools: с JSON Schema валидацией входных параметров, структурированными ответами моделей и file-like аргументами через существующие Tropass/S3 URL файлов.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Установка
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Запустите интерактивный инсталлер:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
npx -y @tropass/mcp-installer
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
CLI спросит:
|
|
18
18
|
|
|
19
|
-
- MCP client: Codex, Claude, Cursor
|
|
20
|
-
-
|
|
19
|
+
- MCP client: Codex, Claude, Cursor или OpenCode;
|
|
20
|
+
- scope установки: `project` или `global`;
|
|
21
21
|
- Tropass MCP URL;
|
|
22
22
|
- Tropass API token.
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Быстрые Команды
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
27
|
npx -y @tropass/mcp-installer codex
|
|
@@ -30,7 +30,7 @@ npx -y @tropass/mcp-installer claude
|
|
|
30
30
|
npx -y @tropass/mcp-installer opencode
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
##
|
|
33
|
+
## Неинтерактивная Установка
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
36
|
npx -y @tropass/mcp-installer cursor \
|
|
@@ -40,34 +40,34 @@ npx -y @tropass/mcp-installer cursor \
|
|
|
40
40
|
--yes
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Также доступны алиасы scope:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
46
|
npx -y @tropass/mcp-installer codex --global --token "your-api-token" --yes
|
|
47
47
|
npx -y @tropass/mcp-installer codex --local --token "your-api-token" --yes
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
##
|
|
50
|
+
## Какие Файлы Создаются
|
|
51
51
|
|
|
52
|
-
Project
|
|
52
|
+
Project install:
|
|
53
53
|
|
|
54
|
-
- Codex: `.codex/config.toml`, `.codex/skills/tropass-gateway/SKILL.md
|
|
55
|
-
- Cursor: `.cursor/mcp.json`
|
|
56
|
-
- Claude: `.mcp.json`
|
|
57
|
-
- OpenCode: `opencode.json`
|
|
54
|
+
- Codex: `.codex/config.toml`, `.codex/skills/tropass-gateway/SKILL.md` и `.codex/skills/agent-response-display/SKILL.md`
|
|
55
|
+
- Cursor: `.cursor/mcp.json` и `.cursor/rules/tropass-mcp.mdc`
|
|
56
|
+
- Claude: `.mcp.json` и `CLAUDE.md`
|
|
57
|
+
- OpenCode: `opencode.json` и `AGENTS.md`
|
|
58
58
|
|
|
59
|
-
Global
|
|
59
|
+
Global install:
|
|
60
60
|
|
|
61
|
-
- Codex: `~/.codex/config.toml`, `~/.codex/skills/tropass-gateway/SKILL.md
|
|
62
|
-
- Cursor: `~/.cursor/mcp.json`
|
|
63
|
-
- Claude: `~/.claude.json`
|
|
64
|
-
- OpenCode: `~/.config/opencode/opencode.json`
|
|
61
|
+
- Codex: `~/.codex/config.toml`, `~/.codex/skills/tropass-gateway/SKILL.md` и `~/.codex/skills/agent-response-display/SKILL.md`
|
|
62
|
+
- Cursor: `~/.cursor/mcp.json` и `~/.cursor/rules/tropass-mcp.mdc`
|
|
63
|
+
- Claude: `~/.claude.json` и `~/.claude/CLAUDE.md`
|
|
64
|
+
- OpenCode: `~/.config/opencode/opencode.json` или `%APPDATA%\opencode\opencode.json`, и `AGENTS.md`
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Инсталлер сохраняет существующие config entries и использует managed blocks для instruction-файлов, которые могут содержать пользовательский текст.
|
|
67
67
|
|
|
68
|
-
##
|
|
68
|
+
## Ручная MCP Конфигурация
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Для Claude Code нужен явный HTTP server type:
|
|
71
71
|
|
|
72
72
|
```json
|
|
73
73
|
{
|
|
@@ -84,7 +84,9 @@ For clients that support remote MCP with custom headers:
|
|
|
84
84
|
}
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
Cursor использует такой же `mcpServers` формат. Если конкретная версия Cursor не принимает `type`, удалите поле `"type": "http"`.
|
|
88
|
+
|
|
89
|
+
OpenCode хранит MCP servers в секции `mcp` файла `opencode.json` и требует `type: "remote"` и `enabled: true`:
|
|
88
90
|
|
|
89
91
|
```json
|
|
90
92
|
{
|
|
@@ -101,4 +103,4 @@ OpenCode stores MCP servers under the `mcp` key in `opencode.json`:
|
|
|
101
103
|
}
|
|
102
104
|
```
|
|
103
105
|
|
|
104
|
-
|
|
106
|
+
Подробнее: [docs/install.md](docs/install.md).
|