Jofthomas commited on
Commit
2a4d673
·
verified ·
1 Parent(s): c376253

Update math_server.py

Browse files
Files changed (1) hide show
  1. math_server.py +3 -3
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 +2 to n 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 tool")
7
+ def add_two(a: int, b:int) -> int:
8
+ return a + b