mcp-cli-skill 0.4.5__tar.gz → 0.4.7__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.
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/PKG-INFO +1 -1
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/pyproject.toml +1 -0
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/scripts/mcp_call.py +5 -0
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/src/mcp_cli_skill/__init__.py +1 -1
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/src/mcp_cli_skill/cli.py +5 -0
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/README.md +0 -0
- {mcp_cli_skill-0.4.5 → mcp_cli_skill-0.4.7}/SKILL.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-cli-skill
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.7
|
|
4
4
|
Summary: Call any MCP server tool from the command line with shell composition support
|
|
5
5
|
Project-URL: Homepage, https://github.com/wise-toddler/mcp-cli-skill
|
|
6
6
|
Project-URL: Repository, https://github.com/wise-toddler/mcp-cli-skill
|
|
@@ -161,6 +161,11 @@ def parse_args():
|
|
|
161
161
|
key, val = arg[2:].split("=", 1)
|
|
162
162
|
tool_args[key] = parse_value(val)
|
|
163
163
|
elif arg.startswith("--"):
|
|
164
|
+
# --flag value (space-separated) or --flag (boolean)
|
|
165
|
+
if i + 1 < len(args) and not args[i + 1].startswith("--"):
|
|
166
|
+
tool_args[arg[2:]] = parse_value(args[i + 1])
|
|
167
|
+
i += 2
|
|
168
|
+
continue
|
|
164
169
|
tool_args[arg[2:]] = True
|
|
165
170
|
i += 1
|
|
166
171
|
# read JSON from stdin if no args provided and stdin is piped
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""MCP CLI - Call any MCP server tool from the command line."""
|
|
2
|
-
__version__ = "0.4.
|
|
2
|
+
__version__ = "0.4.7"
|
|
@@ -161,6 +161,11 @@ def parse_args():
|
|
|
161
161
|
key, val = arg[2:].split("=", 1)
|
|
162
162
|
tool_args[key] = parse_value(val)
|
|
163
163
|
elif arg.startswith("--"):
|
|
164
|
+
# --flag value (space-separated) or --flag (boolean)
|
|
165
|
+
if i + 1 < len(args) and not args[i + 1].startswith("--"):
|
|
166
|
+
tool_args[arg[2:]] = parse_value(args[i + 1])
|
|
167
|
+
i += 2
|
|
168
|
+
continue
|
|
164
169
|
tool_args[arg[2:]] = True
|
|
165
170
|
i += 1
|
|
166
171
|
# read JSON from stdin if no args provided and stdin is piped
|
|
File without changes
|
|
File without changes
|