maas-mcp-server

lspecian/maas-mcp-server

3.3

If you are the rightful owner of maas-mcp-server 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 MAAS MCP Server is a Model Context Protocol server designed to facilitate interaction with MAAS infrastructure through a JSON-RPC 2.0 interface.

The MAAS MCP Server is a robust implementation of the Model Context Protocol, specifically tailored for managing MAAS (Metal as a Service) environments. It provides a standardized JSON-RPC 2.0 API that allows AI assistants and other tools to interact seamlessly with MAAS infrastructure. This server supports machine management, network configuration, storage management, and more, making it an essential tool for administrators and developers working with MAAS. The server can operate in two transport modes: HTTP/HTTPS for web-based interactions and SSE streaming, and stdin/stdout for direct integration with AI assistants and CLI tools. This flexibility ensures that the server can be integrated into a wide range of workflows and environments, providing a consistent and reliable interface for managing MAAS resources.

Features

  • Standardized JSON-RPC 2.0 API for seamless integration
  • Supports HTTP/HTTPS and stdin/stdout transport modes
  • Comprehensive machine and network management capabilities
  • Dynamic tool generation based on MAAS API documentation
  • Flexible configuration through environment variables and .roo/mcp.json

Usages

usage with roo

{
  "mcpServers": {
    "maas-server": {
      "command": "./maas-mcp-server",
      "args": [
        "stdio"
      ],
      "protocol": "stdio",
      "jsonrpc": "2.0",
      "readyMessage": "MCP server ready",
      "env": {
        "MAAS_API_URL": "http://your-maas-server:5240/MAAS",
        "MAAS_API_KEY": "consumer:token:secret",
        "LOG_LEVEL": "debug",
        "LOG_FORMAT": "json",
        "AUTH_ENABLED": "false"
      },
      "disabled": false,
      "alwaysAllow": [
        "maas_list_machines",
        "maas_get_machine_details",
        "maas_power_on_machine",
        "maas_power_off_machine",
        "list_machines"
      ]
    }
  }
}

Tools

  1. maas_list_machines

    List all machines managed by MAAS with filtering and pagination

  2. maas_get_machine_details

    Retrieve detailed information about a specific machine

  3. maas_power_on_machine

    Power on a specified machine

  4. maas_power_off_machine

    Power off a specified machine