Improve example MCP server

This commit is contained in:
Pavindu Lakshan 2025-08-11 16:39:46 +05:30
parent 8589035d64
commit c38e27b097
2 changed files with 2 additions and 5 deletions

View file

@ -2,7 +2,6 @@ from mcp.server.fastmcp import FastMCP
mcp = FastMCP("Echo")
@mcp.resource("echo://{message}")
def echo_resource(message: str) -> str:
"""Echo a message as a resource"""