Spaces:
Sleeping
Sleeping
Update math_server.py
Browse files- math_server.py +1 -1
math_server.py
CHANGED
|
@@ -3,6 +3,6 @@ from mcp.server.fastmcp import FastMCP
|
|
| 3 |
mcp = FastMCP(name="MathServer", stateless_http=True)
|
| 4 |
|
| 5 |
|
| 6 |
-
@mcp.tool(description="A simple add tool")
|
| 7 |
def add_two(n: int) -> int:
|
| 8 |
return n + 2
|
|
|
|
| 3 |
mcp = FastMCP(name="MathServer", stateless_http=True)
|
| 4 |
|
| 5 |
|
| 6 |
+
@mcp.tool(description="A simple add +2 to n tool")
|
| 7 |
def add_two(n: int) -> int:
|
| 8 |
return n + 2
|