mcp-server-cloudautomator

mcp-server-cloudautomator

0

A Cloud Automator MCP server is an unofficial server that allows users to interact with the Cloud Automator REST API. It provides functionalities to list and manage jobs, workflows, and cloud accounts for AWS and Google Cloud, aiding in automated cloud resource management.

A Cloud Automator MCP server

An unofficial MCP server for using Cloud Automator REST API.

Features

Tools

  1. list-jobs
  • List all jobs with pagination
  • Inputs:
    • pageNumber (number); Page number for pagination (default: 1)
    • pageSize (number); Number of jobs to return (default: 10)
  1. get-job
  • Get a job with a specific ID
  • Inputs:
    • jobId (number); Job ID
  1. get-log
  • Get a job log with a specific ID
  • Inputs:
    • logId (number); Log ID
  1. get-resource-operation-results
  • Get resource operation results which belongs to the job log with a specific ID
  • Inputs:
    • logId (number); Log ID
  1. list-job-workflows
  • List all job workflows with pagination
  • Inputs:
    • pageNumber (number); Page number for pagination (default: 1)
    • pageSize (number); Number of jobs to return (default: 10)
  1. get-job-workflow
  • Get a job workflow with a specific ID
  • Inputs:
    • jobWorkflowId (number); Job ID
  1. list-post-processes
  • List all post processes with pagination
  • Inputs:
    • pageNumber (number); Page number for pagination (default: 1)
    • pageSize (number); Number of jobs to return (default: 10)
  1. get-post-process
  • Get a post process with a specific ID
  • Inputs:
    • postProcessId (number); Post Process ID
  1. list-group-aws-accounts
  • List all AWS accounts which belongs to the group with a specific ID, with pagination
  • Inputs:
    • groupId (number); Group ID
    • pageNumber (number); Page number for pagination (default: 1)
    • pageSize (number); Number of jobs to return (default: 10)
  1. get-group-aws-account
  • Get an AWS account which belongs to the group with a specific ID
  • Inputs:
    • groupId (number); Group ID
    • awsAccountId (number); AWS account ID
  1. list-group-google-cloud-accounts
  • List all Google Cloud accounts which belongs to the group with a specific ID, with pagination
  • Inputs:
    • groupId (number); Group ID
    • pageNumber (number); Page number for pagination (default: 1)
    • pageSize (number); Number of jobs to return (default: 10)
  1. get-group-google-cloud-account
  • Get an Google Cloud account which belongs to the group with a specific ID
  • Inputs:
    • groupId (number); Group ID
    • googleCloudAccountId (number); Google Cloud account ID

Prerequisites

  1. Install Node.js
  2. Create a Cloud Automator API key. To learn more about access tokens, please check out the documentation.

Installation

Clone the repository

$ git clone https://github.com/juno/mcp-server-cloudautomator.git

Build the project

$ cd mcp-server-cloudautomator
$ npm install
$ npm run build

Usage with Cline or Claude Desktop

{
  "mcpServers": {
    "cloudautomator": {
      "command": "node",
      "args": [
        "/path/to/mcp-server-cloudautomator/dist/index.js"
      ],
      "env": {
        "CLOUDAUTOMATOR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Usage with Visual Studio Code

Add the following configuration to your .vscode/mcp.json file. For more information, please refer to the Use MCP servers in VS Code.

{
  "mcp": {
    "servers": {
      "cloudautomator": {
        "type": "stdio",
        "command": "node",
        "args": [
          "/path/to/mcp-server-cloudautomator/dist/index.js"
        ],
        "env": {
          "CLOUDAUTOMATOR_API_KEY": "<YOUR_API_KEY>"
        }
      }
    }
  }
}

Environment Variables

  • CLOUDAUTOMATOR_API_KEY: Your Cloud Automator API key (required)
  • CLOUDAUTOMATOR_API_URL: The base URL for the Cloud Automator API. Default is https://api.cloudautomator.com/v1/

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.