執行 MCP 伺服器展示需要哪些環境?
需要安裝 Ruby、Node.js 和 npm(後者用於 MCP inspector)。
@etrex
基本情報
MCP Server Demo
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-demo-etrex": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"ruby",
"demo.rb"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
MCP 伺服器展示是一個練習用的 Model Context Protocol (MCP) 伺服器實作,旨在幫助開發者學習和了解 MCP 協議的運作原理。它提供兩種不同的實作方式(基礎與結構化),並支援與 Claude 整合。
環境需求為 Ruby 以及 Node.js 和 npm(用於 MCP inspector)。透過修改 Claude 的設定檔,加入指定 ruby 命令與 demo.rb 路徑的 JSON 結構來整合。測試可透過 MCP Inspector 或直接使用 STDIO 方式執行。
需要安裝 Ruby、Node.js 和 npm(後者用於 MCP inspector)。
複製專案到本地,修改 Claude 設定檔加入 JSON 結構,指定 ruby 命令與 demo.rb 的絕對路徑,然後重新啟動 Claude。
可使用 MCP Inspector(執行 `npx @modelcontextprotocol/inspector ruby demo.rb`)或直接以 STDIO 模式執行 Ruby 檔案並手動輸入 JSON-RPC 指令。
simple_server.rb 為單一檔案的基礎實作,展示完整的 JSON-RPC 流程;demo.rb 使用模組化方式組織專案,適合建構可擴展的 MCP 伺服器架構。
採用 MIT 授權條款。

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
A search tool helps dev to solve the naming things problem.
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Painless E2E Automation for Mobile and Web
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
コメント