A Model Context Protocol server that enables management of F5 devices through natural language commands, allowing users to create, update, list, and delete network objects like virtual servers, pools, and iRules via the iControl REST API.
This project is a MCP( Model Context Protocol ) server designed to interact with F5 devices using the iControl REST API. It provides a set of tools to manage F5 objects such as virtual servers (VIPs), pools, iRules, and profiles. The server is implemented using the FastMCP
framework and exposes functionalities for creating, updating, listing, and deleting F5 objects.
list_tool
, create_tool
, update_tool
, delete_tool
) that encapsulate operations on F5 devices.requests
library to communicate with F5 devices via the iControl REST API..env
file.stdio
transport, making it compatible with various client integrations.F5MCPserver.py
: The main server file that initializes the MCP server and defines the tools.Tools/F5object.py
: A utility class for performing CRUD operations on F5 objects.The repo also contains an example of the Claude desktop app config file.
Only F5object.py
is used from the Tools folder. The others were used in development.
It was tested with the Claude Desktop app. The MCP server was hosted in Windows WSL.
This was written by Mihai Cziraki
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!