feat: firts mcp.tool
This commit is contained in:
9
src/tryton-mcp/server.py
Normal file
9
src/tryton-mcp/server.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from fastmcp import FastMCP
|
||||
|
||||
|
||||
mcp = FastMCP("Tryton MCP Server")
|
||||
|
||||
|
||||
@mcp.tool
|
||||
def greet(name: str) -> str:
|
||||
return f"Hello, {name}"
|
||||
Reference in New Issue
Block a user