You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several robot libraries implemented, which provide to robot additional functionalies (keywords).
Those same keywords are potential candidates to be used as mcp.tools.
Why should we implement the same functionality twice, let us use already implemented robot libraries as mcp servers.
Here is a very simple example:
from mcp.server.fastmcp import FastMCP
def to_mcp(self):
mcp = FastMCP(self.__class__.__name__)
for kw in self.keywords.values():
mcp.add_tool(kw)
return mcp
This is a suggestion. Could also be used as a docu.
I was implementing a mcp server and i realised the same implementation what i have done for robot could be taken as it is.
The same code could be turned to a mcp.tool with the following trick. Without changing the code of the library
My example:
my llm can send and recieve mail using the Mailclient robot library.
Another example:
browser library could be directly accessed by a llm. using this trick.
So potentialy the llm can navigate the browser alone. like the "ChatGPT Operator"
Another example:
Now i am experimenting the clicking in windows (windows automation) using FlauiLibrary. Which is also kind of working.
I ask the llm "click the start button" or "open the calc.exe app"
And it is working like a magic
There are several robot libraries implemented, which provide to robot additional functionalies (keywords).
Those same keywords are potential candidates to be used as mcp.tools.
Why should we implement the same functionality twice, let us use already implemented robot libraries as mcp servers.
Here is a very simple example:
i have added these lines in the class after the init of an implemented library
https://github.com/noubar/RobotFramework-MailClientLibrary/blob/55d63296c7e96236041f0ae3310a8bb0f141b3e6/src/MailClientLibrary/__init__.py#L90
this funcionality could also be directly added to the implementation of hybrid core
PythonLibCore/src/robotlibcore/core/hybrid.py
Line 121 in 90a62a0
To run the server localy
And here it is running under vscode insiders version because the relaese version does not have this functionality yet
The text was updated successfully, but these errors were encountered: