vlopezalvarez/mcp-server-sros
If you are the rightful owner of mcp-server-sros and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The SROS MCP Server (mcp-server-sros) is a toolset designed for managing Nokia SR OS devices using MCP technology.
The SROS MCP Server (mcp-server-sros) project provides a suite of tools for interacting with Nokia SR OS devices. It leverages Nokia's pySROS Python SDK and FastMCP to facilitate both the retrieval of operational data and the modification of device configurations. This project draws inspiration from the mcp-server-junos project and aims to offer similar functionalities for Nokia SR OS devices. Users can execute MD-CLI commands, retrieve device information, and apply configuration changes through a streamlined interface. The server can be run as a standalone application or within a Docker container, providing flexibility in deployment. Configuration can be managed through a YAML file or environment variables, allowing for easy customization and integration into existing workflows.
Features
- Retrieve basic device information such as system name, software version, and platform.
- Execute MD-CLI commands on Nokia SR OS devices and return the output.
- Modify device configurations by setting values at specified YANG paths.
- Retrieve a list of locally configured devices, including device names and IP addresses.
- Flexible deployment options as a standalone application or Docker container.
Usages
usage with local python
python mcp_server_sros.py
usage with docker
docker run -it -p 10008:10008 \ --name mcp-server-sros \ -e MCP_SERVER_SROS_ACCESS_DEFAULT_USER="admin" \ -e MCP_SERVER_SROS_ACCESS_DEFAULT_PASSWD="admin" \ -e MCP_SERVER_SROS_ACCESS_DEFAULT_PORT=830 \ -e MCP_SERVER_SROS_HOST="0.0.0.0" \ -e MCP_SERVER_SROS_PORT=10008 \ -e MCP_SERVER_SROS_TRANSPORT="sse" \ mcp-server-sros:latest
Tools
get_fact
Retrieve basic information about the SR OS device, such as system name, software version, and platform.
show_command
Execute any MD-CLI command on the device and return the output.
apply_config
Modify configuration by setting a value at a specified YANG path.
list_devices
Retrieve the list of locally configured devices on the MCP server.