I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

RobotFrameworkLibrary-to-MCP
Comment transformer n'importe quelle bibliothèque de framework robot en serveur MCP
3 years
Works with Finder
1
Github Watches
0
Github Forks
0
Github Stars
RobotFrameworkLibrary-to-MCP
How to turn any robot framework library to a mcp server
Here is How
- Clone your robot library
- open the folder and go to init.py, where the Library class with hybrid core or dynamic core is initiated.
(example)
from robotlibcore import DynamicCore class LibraryName(DynamicCore): def __init__(self): ...
- Add the following function to the class
def to_mcp(self):
from mcp.server.fastmcp import FastMCP
mcp = FastMCP(self.__class__.__name__)
for kw in self.keywords.values():
mcp.add_tool(kw)
return mcp
Run the following Code in a py file in the root folder of library:
from src.LibraryName import LibraryName
a = LibraryName().to_mcp()
a.run(transport='stdio')
You can use it in any MCP Client Here is an example with vscode insiders
- press ctrl shift p and type MCP:Add Server
- Add the following lines
{
"mcp": {
"servers": {
"LibName": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"C:\\somefolder\\ABS Path to The library Root",
"run",
"test.py"] # the new py file name where you run the server
}
}
}
}
Thats it
Demo
I will be documenting a demo using MailClientLibrary
from src.MailClientLibrary import MailClientLibrary
a = MailClientLibrary(Username="user", Password="pass", MailServerAddress="127.0.0.1", ImapPorts=[993,143], Pop3Ports=[995,110], SmtpPorts=[465,25]).to_mcp()
a.run(transport='stdio')
print(a)
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
Reviews

user_UEluyqWI
RobotFrameworkLibrary-to-MCP is a game changer for those who heavily use Robot Framework and MCP. The integration provided by noubar is seamless and enhances productivity manifold. The library bridges the gap effortlessly, making automation smoother and more efficient. Highly recommend checking it out!