mcp_cli 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +4 -4
- data/lib/mcp_cli/http_client.rb +1 -1
- data/lib/mcp_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65d1a04837dc49372d6f1c05440c84b427cf7f82c01f02093d2748a68c3f8586
|
|
4
|
+
data.tar.gz: 9c752fb780314b2ce8b27799e1a2b09351aadb940f7193762bda66045399e771
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a15eee86b48a1cac683a80d5bdc110fa6d369959b8b40442b941a83aa1e4233bc9d6be9d066e8f76db4db26869dd61af3b217d92e0b009a6e556de408d317c70
|
|
7
|
+
data.tar.gz: 17b30f48c294b5accd0b63a18327b8b5427fbcb66f1b32dc8cf009dae168f77c7bf13560d72534d17962927429f96e04ed622434ae7a5ea7bf0f9751c69eaf0f
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2025-11-04
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Increased HTTP timeout from 30s to 60s to prevent premature connection failures
|
|
12
|
+
- Fixed local development command in README (changed from `gem exec -g` to `ruby -Ilib`)
|
|
13
|
+
|
|
8
14
|
## [1.0.0] - 2025-10-30
|
|
9
15
|
|
|
10
16
|
### Added
|
data/README.md
CHANGED
|
@@ -23,10 +23,10 @@ The fastest way to use MCP CLI is with `gem exec` - no installation required:
|
|
|
23
23
|
```bash
|
|
24
24
|
gem exec mcp_cli list
|
|
25
25
|
gem exec mcp_cli tools my-server
|
|
26
|
-
gem exec mcp_cli call my-server my-tool --arg value
|
|
26
|
+
gem exec --silent mcp_cli call my-server my-tool --arg value | grep "foobar"
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
This is perfect for trying out the tool or using it in scripts without adding dependencies.
|
|
29
|
+
This is perfect for trying out the tool or using it in scripts without adding dependencies. [`gem exec` supports fast software](https://www.joshbeckman.org/blog/practicing/the-gem-exec-command-gives-me-hope-for-ruby-in-a-world-of-fast-software).
|
|
30
30
|
|
|
31
31
|
## Installation (Optional)
|
|
32
32
|
|
|
@@ -204,8 +204,8 @@ bundle install
|
|
|
204
204
|
# Run tests
|
|
205
205
|
bundle exec rspec
|
|
206
206
|
|
|
207
|
-
# Test locally
|
|
208
|
-
|
|
207
|
+
# Test locally without installing
|
|
208
|
+
ruby -Ilib exe/mcp list
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
## License
|
data/lib/mcp_cli/http_client.rb
CHANGED
|
@@ -93,7 +93,7 @@ module MCPCli
|
|
|
93
93
|
|
|
94
94
|
http = Net::HTTP.new(uri.host, uri.port)
|
|
95
95
|
http.use_ssl = uri.scheme == 'https'
|
|
96
|
-
http.read_timeout =
|
|
96
|
+
http.read_timeout = 60
|
|
97
97
|
|
|
98
98
|
request = Net::HTTP::Post.new(uri.path.empty? ? '/' : uri.path)
|
|
99
99
|
request['Content-Type'] = 'application/json'
|
data/lib/mcp_cli/version.rb
CHANGED