Manages sensitive configuration data like IP addresses and authorization strings through environment variables loaded from a .env file.
F5 MCP Server
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.
Features
- Tool-Based API: The project defines tools (
list_tool
,create_tool
,update_tool
,delete_tool
) that encapsulate operations on F5 devices. - REST API Integration: Uses Python's
requests
library to communicate with F5 devices via the iControl REST API. - Environment Configuration: Sensitive information like IP addresses and authorization strings are managed through environment variables loaded from a
.env
file. - Extensibility: Modular design allows additional tools or functionalities to be added easily.
- Transport Support: The server runs using the
stdio
transport, making it compatible with various client integrations. - Dockerfile: If you want to run this as a Docker container
Key Files
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.
Credits
This was written by Mihai Cziraki
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
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.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for Xcode-related operations, making it easier to work with iOS project management, building, testing, archiving, and deploying apps to both simulators and physical devices.Last updated -93964JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides network control and management capabilities through the POX SDN controller, enabling Python-based network programming, OpenFlow device management, and automated network analysis.Last updated -1PythonMIT License
- AsecurityAlicenseAqualityA server implementing the Model Context Protocol that provides filesystem operations (read/write, directory management, file movement) through a standardized interface with security controls for allowed directories.Last updated -93TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to interact with iOS simulators, perform accessibility testing, manage apps, and automate complex iOS workflows.Last updated -12PythonApache 2.0