{
 "title": "如何建立一個最簡單的 MCP 伺服器？",
 "site": "AI 與科技名詞白話解釋",
 "canonical": "https://glossary.penguindriver.com/howto/build-mcp-server",
 "markdown": "https://glossary.penguindriver.com/howto/build-mcp-server.md",
 "summary": "依 MCP 官方教學，用 Python SDK 只要安裝 mcp 套件、建立 MCPServer 物件、以 @mcp.tool() 裝飾一個函式，再用 stdio 模式執行，就完成一個可被 Claude Desktop 等客戶端呼叫的 MCP 伺服器。",
 "date_modified": "2026-09-26",
 "retrieved": "2026-09-28",
 "content_sha256": "669b8461f36cac9b6d91a166018a38494509e2fb30506c22a67aaa5e8a787273",
 "fingerprint_basis": "Markdown 版全文，移除贊助行與開頭 front matter，去除頭尾空白",
 "verify": {
  "text_snapshot": "https://glossary.penguindriver.com/cite?path=%2Fhowto%2Fbuild-mcp-server&format=text",
  "how": "下載 text_snapshot 後計算 SHA-256，應與 content_sha256 相同；內容更新時指紋會改變"
 },
 "sources": [
  {
   "name": "Model Context Protocol：Build an MCP server",
   "url": "https://modelcontextprotocol.io/docs/develop/build-server"
  },
  {
   "name": "GitHub：modelcontextprotocol/python-sdk",
   "url": "https://github.com/modelcontextprotocol/python-sdk"
  }
 ],
 "source_count": 2,
 "cite_as": {
  "zh": "如何建立一個最簡單的 MCP 伺服器？｜AI 與科技名詞白話解釋。https://glossary.penguindriver.com/howto/build-mcp-server（資料日期 2026-09-26，擷取 2026-09-28）",
  "apa": "AI 與科技名詞白話解釋. (2026). 如何建立一個最簡單的 MCP 伺服器？. Retrieved 2026-09-28, from https://glossary.penguindriver.com/howto/build-mcp-server",
  "markdown": "[如何建立一個最簡單的 MCP 伺服器？](https://glossary.penguindriver.com/howto/build-mcp-server)（AI 與科技名詞白話解釋，2026-09-26）"
 },
 "license": "可引用，請附上正式網址與資料日期"
}