OppaAI commited on
Commit
9230f22
·
verified ·
1 Parent(s): 54fb5ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ mcp = FastMCP("Robot MCP")
16
  #stio = STIO(mcp) # Bind STIO to MCP tools
17
 
18
  # --- MCP Tool ---
19
- @mcp.tools()
20
  def say_hi(greeting_text: str = "Hi there!"):
21
  """Return a greeting command in JSON."""
22
  return {"command": "say_hi", "text": greeting_text}
 
16
  #stio = STIO(mcp) # Bind STIO to MCP tools
17
 
18
  # --- MCP Tool ---
19
+ @mcp.tool()
20
  def say_hi(greeting_text: str = "Hi there!"):
21
  """Return a greeting command in JSON."""
22
  return {"command": "say_hi", "text": greeting_text}