Model Context Protocol servers: เซิร์ฟเวอร์ทดลองสำหรับพัฒนา LLMModel Context Protocol servers: Reference Servers for LLM Development
MCP Servers ใช้ทดสอบและพัฒนาเซิร์ฟเวอร์ที่เชื่อม LLM กับ data และ tools.
MCP Servers are for testing and developing servers that connect LLMs with data and tools.
ไว้ทำอะไร
โครงการนี้มีไว้เพื่อเป็นแนวทางและให้ความรู้สำหรับนักพัฒนาที่ต้องการสร้างเซิร์ฟเวอร์ที่ใช้ Model Context Protocol (MCP) ให้ LLMs เข้าถึง data และ tool ได้อย่างปลอดภัยและควบคุมได้ เหมาะสำหรับการศึกษาศักยภาพของ MCP มากกว่าสำหรับการใช้งานจริงใน production.
ทำงานอย่างไร
เซิร์ฟเวอร์ในแบบต้นแบบเหล่านี้มีการสร้างฟีเจอร์ของ MCP และการใช้งาน SDK อย่างเป็นทางการ ทาง GitHub รีโพนี้มีอิมพลีเมนเทชันตัวอย่างหลายตัว เช่น 'Everything' ซึ่งเป็นเซิร์ฟเวอร์แบบออลอินวันที่แสดงวิธีเรียกใช้งานทรัพยากรและเครื่องมือได้ แล้วยังมี 'Fetch' สำหรับการดึงข้อมูลเว็บ หรือ 'Filesystem' สำหรับการจัดการไฟล์อย่างปลอดภัย. แต่ละเซิร์ฟเวอร์มักจะถูกพัฒนาด้วย SDK ของ MCP ในภาษาต่าง ๆ เช่น TypeScript, Python หรืออื่น ๆ.
โครงสร้างโค้ด
- .github/workflows — การกำหนดค่า CI/CD
- src/everything — เซิร์ฟเวอร์ทดสอบที่รวมฟีเจอร์ทุกอย่าง
- src/fetch — เซิร์ฟเวอร์ดึงข้อมูลเว็บ
- src/filesystem — จัดการไฟล์ในระบบ
- src/memory — ระบบบันทึกแบบ knowledge graph
- package.json — ข้อมูลโปรเจคและการจัดการ package
เริ่มใช้งาน
sh
npx -y @modelcontextprotocol/server-memory
เหมาะกับงานแบบไหน
- ทดสอบการเชื่อมต่อ LLM กับฐานข้อมูล
- พัฒนาเซิร์ฟเวอร์ที่ให้ LLMs ทำงานร่วมกับเครื่องมือภายนอก
- ศึกษาแนวทางการพัฒนาเซิร์ฟเวอร์ MCP สำหรับการศึกษาและพัฒนา AI
ข้อควรรู้
- เซิร์ฟเวอร์เหล่านี้ไม่เหมาะสำหรับการใช้งาน production
- มีจุดประสงค์เพื่อศึกษาและสาธิตวิธีการใช้งาน MCP
- ไม่มีการระบุใบอนุญาตที่ชัดเจน
What it is for
This project serves as a guide and educational resource for developers looking to build servers using the Model Context Protocol (MCP) to give LLMs secure and controlled access to data and tools. It is more suitable for studying MCP's capabilities than for production use.
How it works
These prototype servers implement MCP features and the official SDKs. This GitHub repository includes various example implementations, like 'Everything,' an all-in-one server showcasing resource and tool usage. There's also 'Fetch' for web content fetching and 'Filesystem' for secure file operations. Each server is typically developed using an MCP SDK available in languages like TypeScript, Python, and others.
Code structure
- .github/workflows — CI/CD configurations
- src/everything — All-in-one reference server
- src/fetch — Web content fetching server
- src/filesystem — Secure file management
- src/memory — Knowledge graph-based memory system
- package.json — Project info and package management
Getting started
sh
npx -y @modelcontextprotocol/server-memory
Good fit for
- Testing LLM connectivity with data sources
- Developing servers for LLMs to interact with external tools
- Studying MCP server development for educational and AI development purposes
Things to know
- These servers are not suitable for production use.
- They are intended for studying and demonstrating MCP usage.
- Unspecified license information.
บทวิเคราะห์นี้สร้างจาก README และโค้ดของ repo โดย AI ของ Oneable — ตรวจสอบ license และเอกสารต้นทางก่อนนำไปใช้งานจริงThis breakdown was generated from the repository's README and code by Oneable's AI — check the license and upstream docs before using it in production.