Stash
This commit is contained in:
parent
397d87f32b
commit
7ddc1196d5
1
.ruby-version
Normal file
1
.ruby-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.4.1
|
||||||
2
Gemfile
2
Gemfile
@ -5,6 +5,8 @@ source "https://rubygems.org"
|
|||||||
# Specify your gem's dependencies in mcp.gemspec
|
# Specify your gem's dependencies in mcp.gemspec
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
|
gem "pry"
|
||||||
|
|
||||||
gem "rake", "~> 13.0"
|
gem "rake", "~> 13.0"
|
||||||
|
|
||||||
gem "rake-compiler", "~> 1.2.0"
|
gem "rake-compiler", "~> 1.2.0"
|
||||||
|
|||||||
@ -8,14 +8,19 @@ GEM
|
|||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
ast (2.4.2)
|
ast (2.4.2)
|
||||||
|
coderay (1.1.3)
|
||||||
diff-lcs (1.6.0)
|
diff-lcs (1.6.0)
|
||||||
json (2.10.2)
|
json (2.10.2)
|
||||||
language_server-protocol (3.17.0.4)
|
language_server-protocol (3.17.0.4)
|
||||||
lint_roller (1.1.0)
|
lint_roller (1.1.0)
|
||||||
|
method_source (1.1.0)
|
||||||
parallel (1.26.3)
|
parallel (1.26.3)
|
||||||
parser (3.3.7.1)
|
parser (3.3.7.1)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
racc
|
racc
|
||||||
|
pry (0.15.2)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
racc (1.8.1)
|
racc (1.8.1)
|
||||||
rainbow (3.1.1)
|
rainbow (3.1.1)
|
||||||
rake (13.2.1)
|
rake (13.2.1)
|
||||||
@ -78,6 +83,7 @@ PLATFORMS
|
|||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
mcp!
|
mcp!
|
||||||
|
pry
|
||||||
rake (~> 13.0)
|
rake (~> 13.0)
|
||||||
rake-compiler (~> 1.2.0)
|
rake-compiler (~> 1.2.0)
|
||||||
rspec (~> 3.0)
|
rspec (~> 3.0)
|
||||||
|
|||||||
@ -7,7 +7,6 @@ RSpec.describe Mcp do
|
|||||||
|
|
||||||
it "does something useful" do
|
it "does something useful" do
|
||||||
a = Mcp::Client.new("/Users/joshuacoles/.local/bin/mcp-server-fetch", [])
|
a = Mcp::Client.new("/Users/joshuacoles/.local/bin/mcp-server-fetch", [])
|
||||||
expect(a.connect).to eq(true)
|
|
||||||
puts a.list_tools
|
puts a.list_tools
|
||||||
puts a.tools.fetch(url: 'http://example.com')
|
puts a.tools.fetch(url: 'http://example.com')
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user