quick-mcp-shell 0.4.1__tar.gz → 0.4.2__tar.gz

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.
@@ -4,6 +4,12 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.4.2] - 2026-10-09
8
+
9
+ ### Fixed
10
+
11
+ - 修正 README 的 Amazon Quick 配置示例:补全 `mcpServers` → 服务名 → `{command, args}` 的嵌套结构,之前的裸对象会导致用户配置错误。仅文档变更。
12
+
7
13
  ## [0.4.1] - 2026-10-09
8
14
 
9
15
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: quick-mcp-shell
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: A local stdio MCP server for trusted shell and Python execution
5
5
  Project-URL: Homepage, https://pypi.org/project/quick-mcp-shell/
6
6
  Author: Quick MCP Shell maintainers
@@ -33,17 +33,20 @@ Amazon Quick 使用 `uvx` 启动本工具。
33
33
 
34
34
  ## 配置 Amazon Quick
35
35
 
36
- 打开 **Settings → Capabilities → MCP Servers**,在配置文件的 `mcpServers` 中加入以下配置:
36
+ 打开 **Settings → Capabilities → MCP Servers**,编辑配置文件(通常是 `~/.aws/amazonq/mcp.json`),在 `mcpServers` 下添加一个服务条目(下例命名为 `shell`):
37
37
 
38
38
  ```json
39
39
  {
40
- "shell": {
41
- "command": "uvx",
42
- "args": ["--from", "quick-mcp-shell==0.4.1", "quick-mcp-shell"]
40
+ "mcpServers": {
41
+ "execute-cmd": {
42
+ "command": "uvx",
43
+ "args": ["--from", "quick-mcp-shell==0.4.2", "quick-mcp-shell"]
44
+ }
43
45
  }
44
46
  }
45
47
  ```
46
48
 
49
+ 若已有其他 MCP 服务,把 `"shell": { ... }` 这一条目并入现有的 `mcpServers` 对象即可。
47
50
 
48
51
  ## 工具
49
52
 
@@ -64,7 +67,7 @@ Amazon Quick 使用 `uvx` 启动本工具。
64
67
  检查启动环境:
65
68
 
66
69
  ```bash
67
- uvx --from quick-mcp-shell==0.4.1 quick-mcp-shell doctor
70
+ uvx --from quick-mcp-shell==0.4.2 quick-mcp-shell doctor
68
71
  ```
69
72
 
70
73
  ## 安全边界
@@ -13,7 +13,7 @@ uvx twine check --strict dist/*
13
13
  检查 wheel 中只包含预期的包文件,且 README 没有包含本机路径、凭据或真实用户数据。
14
14
 
15
15
  ```powershell
16
- python -m zipfile -l dist\quick_mcp_shell-0.4.1-py3-none-any.whl
16
+ python -m zipfile -l dist\quick_mcp_shell-0.4.2-py3-none-any.whl
17
17
  ```
18
18
 
19
19
  ## 发布
@@ -29,7 +29,7 @@ Remove-Item Env:\UV_PUBLISH_TOKEN
29
29
  上传后,在干净环境中验证命令入口:
30
30
 
31
31
  ```powershell
32
- uvx --from quick-mcp-shell==0.4.1 quick-mcp-shell --version
32
+ uvx --from quick-mcp-shell==0.4.2 quick-mcp-shell --version
33
33
  ```
34
34
 
35
35
  每次发布都必须递增 `pyproject.toml` 和 `quick_mcp_shell/__init__.py` 中的版本号;PyPI 不允许覆盖已上传的版本。
@@ -15,17 +15,20 @@ Amazon Quick 使用 `uvx` 启动本工具。
15
15
 
16
16
  ## 配置 Amazon Quick
17
17
 
18
- 打开 **Settings → Capabilities → MCP Servers**,在配置文件的 `mcpServers` 中加入以下配置:
18
+ 打开 **Settings → Capabilities → MCP Servers**,编辑配置文件(通常是 `~/.aws/amazonq/mcp.json`),在 `mcpServers` 下添加一个服务条目(下例命名为 `shell`):
19
19
 
20
20
  ```json
21
21
  {
22
- "shell": {
23
- "command": "uvx",
24
- "args": ["--from", "quick-mcp-shell==0.4.1", "quick-mcp-shell"]
22
+ "mcpServers": {
23
+ "execute-cmd": {
24
+ "command": "uvx",
25
+ "args": ["--from", "quick-mcp-shell==0.4.2", "quick-mcp-shell"]
26
+ }
25
27
  }
26
28
  }
27
29
  ```
28
30
 
31
+ 若已有其他 MCP 服务,把 `"shell": { ... }` 这一条目并入现有的 `mcpServers` 对象即可。
29
32
 
30
33
  ## 工具
31
34
 
@@ -46,7 +49,7 @@ Amazon Quick 使用 `uvx` 启动本工具。
46
49
  检查启动环境:
47
50
 
48
51
  ```bash
49
- uvx --from quick-mcp-shell==0.4.1 quick-mcp-shell doctor
52
+ uvx --from quick-mcp-shell==0.4.2 quick-mcp-shell doctor
50
53
  ```
51
54
 
52
55
  ## 安全边界
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "quick-mcp-shell"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "A local stdio MCP server for trusted shell and Python execution"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1,3 +1,3 @@
1
1
  """Quick MCP Shell package."""
2
2
 
3
- __version__ = "0.4.1"
3
+ __version__ = "0.4.2"
File without changes