Hi all, I'm trying to get the agent in the GUI ver...
# questions
f
Hi all, I'm trying to get the agent in the GUI version to pick up MCP tools but have not been successful, is there anything I am missing here?
The server is a simple
Copy code
#!/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 tools
image.png
g
I'd def encourage creating a github issue for the team but also tagging @full-greece-2387 if he has any insight into this 👀
👍 1
f
I understand that STDIO servers are meant to be spun up by the app itself, but I don't think it's clear from the documentation where to put the tool codes to do that and how to mount it to the app container or runtime