## Motivation and Context Add an LLM-powered chatbot MCP client example using the MCP Ruby SDK and the Anthropic Ruby SDK, following the same pattern as other language examples. https://github.com/modelcontextprotocol/ruby-sdk The Gemfile specifies mcp version 0.9.1 or higher, which supports the stdio client. https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.9.1 ## Additional context Once https://github.com/anthropics/anthropic-sdk-ruby/pull/161 is merged and released, `gem "base64"` will no longer be needed in the Gemfile.
8 lines
126 B
Ruby
8 lines
126 B
Ruby
# frozen_string_literal: true
|
|
|
|
source "https://rubygems.org"
|
|
|
|
gem "anthropic"
|
|
gem "base64"
|
|
gem "dotenv"
|
|
gem "mcp", '>= 0.9.1'
|