MCP.so
登录

RobotFrameworkLibrary-to-MCP

@noubar

关于 RobotFrameworkLibrary-to-MCP

How to turn any robot framework library to a mcp server

基本信息

分类

开发工具

许可证

MIT license

传输方式

stdio

发布者

noubar

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is RobotFrameworkLibrary-to-MCP?

It is a method to convert any Robot Framework library built on robotlibcore's DynamicCore or hybrid core into an MCP (Model Context Protocol) server. This allows library keywords to be automatically exposed as MCP tools, enabling integration with MCP clients like AI assistants or IDEs.

How to use RobotFrameworkLibrary-to-MCP?

Add a to_mcp method to your library class that creates a FastMCP instance and adds each keyword as a tool. Then create a Python script that instantiates your library, calls to_mcp(), and runs the server via a.run(transport='stdio'). Finally, configure your MCP client (e.g., VSCode) with a stdio server entry pointing to that script using uv run as the command.

Key features of RobotFrameworkLibrary-to-MCP

  • Converts any robotlibcore-based library into an MCP server.
  • Exposes all library keywords as MCP tools automatically.
  • Uses stdio transport for integration with MCP clients.
  • Requires only a small code addition to the library class.
  • Works with both hybrid and dynamic core library types.
  • Demonstrated with MailClientLibrary as an example.

Use cases of RobotFrameworkLibrary-to-MCP

  • Making Robot Framework test libraries available to AI assistants via MCP.
  • Exposing email operations (e.g., MailClientLibrary) as MCP tools in an IDE.
  • Converting existing keyword libraries for use in MCP-compatible development environments.

FAQ from RobotFrameworkLibrary-to-MCP

What type of Robot Framework libraries can be converted?

Libraries that use robotlibcore's DynamicCore or hybrid core, as they contain a keywords dictionary that can be iterated over

评论

开发工具 分类下的更多 MCP 服务器