model_context_protocol_riccardo 0.7.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 +7 -0
- data/.cursor/rules/release-changelogs.mdc +32 -0
- data/.gitattributes +4 -0
- data/.github/workflows/ci.yml +22 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +5 -0
- data/.ruby-version +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +117 -0
- data/LICENSE.txt +21 -0
- data/README.md +473 -0
- data/Rakefile +17 -0
- data/bin/console +15 -0
- data/bin/rake +31 -0
- data/bin/setup +8 -0
- data/dev.yml +31 -0
- data/examples/stdio_server.rb +94 -0
- data/lib/mcp-ruby.rb +3 -0
- data/lib/model_context_protocol/configuration.rb +75 -0
- data/lib/model_context_protocol/content.rb +33 -0
- data/lib/model_context_protocol/instrumentation.rb +26 -0
- data/lib/model_context_protocol/json_rpc.rb +11 -0
- data/lib/model_context_protocol/methods.rb +86 -0
- data/lib/model_context_protocol/prompt/argument.rb +21 -0
- data/lib/model_context_protocol/prompt/message.rb +19 -0
- data/lib/model_context_protocol/prompt/result.rb +19 -0
- data/lib/model_context_protocol/prompt.rb +82 -0
- data/lib/model_context_protocol/resource/contents.rb +45 -0
- data/lib/model_context_protocol/resource/embedded.rb +18 -0
- data/lib/model_context_protocol/resource.rb +24 -0
- data/lib/model_context_protocol/resource_template.rb +24 -0
- data/lib/model_context_protocol/server.rb +258 -0
- data/lib/model_context_protocol/string_utils.rb +26 -0
- data/lib/model_context_protocol/tool/annotations.rb +27 -0
- data/lib/model_context_protocol/tool/input_schema.rb +26 -0
- data/lib/model_context_protocol/tool/response.rb +18 -0
- data/lib/model_context_protocol/tool.rb +85 -0
- data/lib/model_context_protocol/transport.rb +33 -0
- data/lib/model_context_protocol/transports/stdio.rb +33 -0
- data/lib/model_context_protocol/version.rb +5 -0
- data/lib/model_context_protocol.rb +44 -0
- data/model_context_protocol.gemspec +32 -0
- metadata +116 -0
metadata
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: model_context_protocol_riccardo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Model Context Protocol
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2025-05-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json_rpc_handler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: The official Ruby SDK for Model Context Protocol servers and clients
|
42
|
+
email:
|
43
|
+
- mcp-support@anthropic.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".cursor/rules/release-changelogs.mdc"
|
49
|
+
- ".gitattributes"
|
50
|
+
- ".github/workflows/ci.yml"
|
51
|
+
- ".gitignore"
|
52
|
+
- ".rubocop.yml"
|
53
|
+
- ".ruby-version"
|
54
|
+
- CODE_OF_CONDUCT.md
|
55
|
+
- Gemfile
|
56
|
+
- Gemfile.lock
|
57
|
+
- LICENSE.txt
|
58
|
+
- README.md
|
59
|
+
- Rakefile
|
60
|
+
- bin/console
|
61
|
+
- bin/rake
|
62
|
+
- bin/setup
|
63
|
+
- dev.yml
|
64
|
+
- examples/stdio_server.rb
|
65
|
+
- lib/mcp-ruby.rb
|
66
|
+
- lib/model_context_protocol.rb
|
67
|
+
- lib/model_context_protocol/configuration.rb
|
68
|
+
- lib/model_context_protocol/content.rb
|
69
|
+
- lib/model_context_protocol/instrumentation.rb
|
70
|
+
- lib/model_context_protocol/json_rpc.rb
|
71
|
+
- lib/model_context_protocol/methods.rb
|
72
|
+
- lib/model_context_protocol/prompt.rb
|
73
|
+
- lib/model_context_protocol/prompt/argument.rb
|
74
|
+
- lib/model_context_protocol/prompt/message.rb
|
75
|
+
- lib/model_context_protocol/prompt/result.rb
|
76
|
+
- lib/model_context_protocol/resource.rb
|
77
|
+
- lib/model_context_protocol/resource/contents.rb
|
78
|
+
- lib/model_context_protocol/resource/embedded.rb
|
79
|
+
- lib/model_context_protocol/resource_template.rb
|
80
|
+
- lib/model_context_protocol/server.rb
|
81
|
+
- lib/model_context_protocol/string_utils.rb
|
82
|
+
- lib/model_context_protocol/tool.rb
|
83
|
+
- lib/model_context_protocol/tool/annotations.rb
|
84
|
+
- lib/model_context_protocol/tool/input_schema.rb
|
85
|
+
- lib/model_context_protocol/tool/response.rb
|
86
|
+
- lib/model_context_protocol/transport.rb
|
87
|
+
- lib/model_context_protocol/transports/stdio.rb
|
88
|
+
- lib/model_context_protocol/version.rb
|
89
|
+
- model_context_protocol.gemspec
|
90
|
+
homepage: https://github.com/modelcontextprotocol/ruby-sdk
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata:
|
94
|
+
allowed_push_host: https://rubygems.org
|
95
|
+
homepage_uri: https://github.com/modelcontextprotocol/ruby-sdk
|
96
|
+
source_code_uri: https://github.com/modelcontextprotocol/ruby-sdk
|
97
|
+
post_install_message:
|
98
|
+
rdoc_options: []
|
99
|
+
require_paths:
|
100
|
+
- lib
|
101
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 3.2.0
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
requirements: []
|
112
|
+
rubygems_version: 3.5.3
|
113
|
+
signing_key:
|
114
|
+
specification_version: 4
|
115
|
+
summary: The official Ruby SDK for Model Context Protocol servers and clients
|
116
|
+
test_files: []
|