feat: firts mcp.tool

This commit is contained in:
2026-03-03 21:24:51 -05:00
parent 19855a7032
commit 5cd665902b
2 changed files with 9 additions and 6 deletions

View File

@@ -1,6 +0,0 @@
def main():
print("Hello from trytonmcp!")
if __name__ == "__main__":
main()

9
src/tryton-mcp/server.py Normal file
View 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}"