This commit is contained in:
Joshua Coles 2025-03-17 10:46:32 +00:00
parent 397d87f32b
commit 7ddc1196d5
4 changed files with 9 additions and 1 deletions

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
3.4.1

View File

@ -5,6 +5,8 @@ source "https://rubygems.org"
# Specify your gem's dependencies in mcp.gemspec
gemspec
gem "pry"
gem "rake", "~> 13.0"
gem "rake-compiler", "~> 1.2.0"

View File

@ -8,14 +8,19 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
coderay (1.1.3)
diff-lcs (1.6.0)
json (2.10.2)
language_server-protocol (3.17.0.4)
lint_roller (1.1.0)
method_source (1.1.0)
parallel (1.26.3)
parser (3.3.7.1)
ast (~> 2.4.1)
racc
pry (0.15.2)
coderay (~> 1.1)
method_source (~> 1.0)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
@ -78,6 +83,7 @@ PLATFORMS
DEPENDENCIES
mcp!
pry
rake (~> 13.0)
rake-compiler (~> 1.2.0)
rspec (~> 3.0)

View File

@ -7,7 +7,6 @@ RSpec.describe Mcp do
it "does something useful" do
a = Mcp::Client.new("/Users/joshuacoles/.local/bin/mcp-server-fetch", [])
expect(a.connect).to eq(true)
puts a.list_tools
puts a.tools.fetch(url: 'http://example.com')
end