執行 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 授權條款。
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

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
MCP Toolbox for Databases is an open source MCP server for databases.
评论