flaky-postman-41333
08/28/2025, 9:07 PMflaky-postman-41333
08/28/2025, 9:07 PM#!/usr/bin/env python3
from fastmcp import FastMCP
import json
mcp = FastMCP("Test_Server")
@mcp.tool()
async def test_tool() -> str:
"""A simple test tool to verify MCP connection works."""
return json.dumps({
"status": "working",
"message": "MCP server is connected to OpenHands"
})
if __name__ == "__main__":
mcp.run()
But when prompted the agent (Haiku-3.5)doesn't recognize the toolsflaky-postman-41333
08/28/2025, 9:10 PMgentle-apple-32922
08/28/2025, 9:21 PMflaky-postman-41333
08/28/2025, 10:10 PMflaky-postman-41333
08/28/2025, 10:13 PM