ruby-mcp-client 0.9.0 → 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.
- checksums.yaml +4 -4
- data/README.md +228 -1227
- data/lib/mcp_client/audio_content.rb +46 -0
- data/lib/mcp_client/client.rb +432 -37
- data/lib/mcp_client/elicitation_validator.rb +262 -0
- data/lib/mcp_client/errors.rb +9 -0
- data/lib/mcp_client/http_transport_base.rb +9 -1
- data/lib/mcp_client/json_rpc_common.rb +7 -3
- data/lib/mcp_client/resource.rb +8 -0
- data/lib/mcp_client/resource_link.rb +63 -0
- data/lib/mcp_client/root.rb +63 -0
- data/lib/mcp_client/server_factory.rb +4 -2
- data/lib/mcp_client/server_http.rb +46 -6
- data/lib/mcp_client/server_sse.rb +133 -5
- data/lib/mcp_client/server_stdio.rb +143 -0
- data/lib/mcp_client/server_streamable_http.rb +148 -5
- data/lib/mcp_client/task.rb +127 -0
- data/lib/mcp_client/tool.rb +73 -9
- data/lib/mcp_client/version.rb +2 -2
- data/lib/mcp_client.rb +344 -4
- metadata +9 -4
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-mcp-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Szymon Kurcab
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-02-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
61
|
+
version: '7.0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
68
|
+
version: '7.0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -119,11 +119,13 @@ files:
|
|
|
119
119
|
- LICENSE
|
|
120
120
|
- README.md
|
|
121
121
|
- lib/mcp_client.rb
|
|
122
|
+
- lib/mcp_client/audio_content.rb
|
|
122
123
|
- lib/mcp_client/auth.rb
|
|
123
124
|
- lib/mcp_client/auth/browser_oauth.rb
|
|
124
125
|
- lib/mcp_client/auth/oauth_provider.rb
|
|
125
126
|
- lib/mcp_client/client.rb
|
|
126
127
|
- lib/mcp_client/config_parser.rb
|
|
128
|
+
- lib/mcp_client/elicitation_validator.rb
|
|
127
129
|
- lib/mcp_client/errors.rb
|
|
128
130
|
- lib/mcp_client/http_transport_base.rb
|
|
129
131
|
- lib/mcp_client/json_rpc_common.rb
|
|
@@ -131,7 +133,9 @@ files:
|
|
|
131
133
|
- lib/mcp_client/prompt.rb
|
|
132
134
|
- lib/mcp_client/resource.rb
|
|
133
135
|
- lib/mcp_client/resource_content.rb
|
|
136
|
+
- lib/mcp_client/resource_link.rb
|
|
134
137
|
- lib/mcp_client/resource_template.rb
|
|
138
|
+
- lib/mcp_client/root.rb
|
|
135
139
|
- lib/mcp_client/server_base.rb
|
|
136
140
|
- lib/mcp_client/server_factory.rb
|
|
137
141
|
- lib/mcp_client/server_http.rb
|
|
@@ -144,6 +148,7 @@ files:
|
|
|
144
148
|
- lib/mcp_client/server_stdio/json_rpc_transport.rb
|
|
145
149
|
- lib/mcp_client/server_streamable_http.rb
|
|
146
150
|
- lib/mcp_client/server_streamable_http/json_rpc_transport.rb
|
|
151
|
+
- lib/mcp_client/task.rb
|
|
147
152
|
- lib/mcp_client/tool.rb
|
|
148
153
|
- lib/mcp_client/version.rb
|
|
149
154
|
homepage: https://github.com/simonx1/ruby-mcp-client
|