Skip to main content
Glama
czirakim

F5 MCP Server

by czirakim

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.

Installing via Smithery

To install F5 Device Management Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @czirakim/F5.MCP.server --client claude

Credits

This was written by Mihai Cziraki

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/czirakim/F5.MCP.server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server