간단한 MCP Server를 만들고 Inspector로 확인하기
MCP 사이트에는 Quickstart로 Server를 만드는 방법을 제공하고 있습니다. For Server Developers - Model Context ProtocolSince this is the US National Weather service, the queries will only work for US locations.modelcontextprotocol.io저는 이번에 위 예시보다 더 간단한 MCP 서버를 하나 만들어보겠습니다.from mcp.server.fastmcp import FastMCPmcp = FastMCP()@mcp.tool()def top_song(genre: str) -> str: top_songs = { "pop": "Blinding Lights - Th..
2025.04.04