Add Ruby MCP client example
## 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.
This commit is contained in:
parent
494cfaa301
commit
ded91068d0
1 changed files with 173 additions and 0 deletions
1
mcp-client-ruby/.env.example
Normal file
1
mcp-client-ruby/.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
ANTHROPIC_API_KEY=
|
||||
Loading…
Reference in a new issue