Agents · Model Context Protocol (MCP) · Bài 3/5
Building an MCP server
The official Python SDK (mcp) gives a high-level server class - FastMCP in version 1 - that handles the protocol. Tools are declared with @mcp.tool(), resources with @mcp.resource and a URI. The server runs over stdio by default or over Streamable HTTP for remote access, and a client registers it in its configuration with the command that starts it.
Nội dung bài học, quiz và tab Command mở trên site sau khi đăng nhập và được admin cấp quyền học AIOps Peach.