Skip to main content
Glama
AWS FIS MCP Server
by RadiumGu

AWS Fault Injection Service (FIS) MCP Server

This MCP server provides tools for working with AWS Fault Injection Service (FIS), allowing users to create, manage, and execute fault injection experiments.

Overview

AWS Fault Injection Service (FIS) is a managed service that enables you to perform fault injection experiments on your AWS workloads. This MCP server provides capabilities to interact with FIS, making it easier to create and manage chaos engineering experiments.

Related MCP server: permission-aware-mcp

Security Features

Read-Only Mode by Default

The server operates in read-only mode by default for enhanced security. Write operations (create, start, stop, delete) require explicit enablement with the --allow-writes flag.

Benefits:

  • Secure by Default: Prevents accidental destructive operations

  • Explicit Enable: Write operations require explicit enablement

  • Clear Messaging: Blocked operations provide informative error messages

Features

Read-Only Operations (Always Available)

  • list_experiment_templates - List experiment templates

  • get_experiment_template - Get experiment template details

  • list_experiments - List experiments

  • get_experiment - Get experiment details

  • list_action_types - List action types

  • generate_template_example - Generate template examples

Write Operations (Require --allow-writes)

  • start_experiment - Start an experiment

  • stop_experiment - Stop an experiment

  • create_experiment_template - Create experiment template

  • delete_experiment_template - Delete experiment template

Installation and Usage

The easiest way to run the server is using uvx. This method doesn't require managing virtual environments:

# Run directly with uvx (installs and runs in one command)
uvx aws-fis-mcp

# Or run from GitHub directly
uvx --from git+https://github.com/RadiumGu/AWS-FIS-MCP.git aws-fis-mcp

# Or install from local directory
cd /home/ec2-user/mcp-servers/AWS-FIS-MCP
uvx --from . aws-fis-mcp

Option 2: Using pip install

# Install globally or in a virtual environment
pip install aws-fis-mcp

# Then run
aws-fis-mcp

Option 3: Local Development Setup

  1. Clone the repository:

git clone https://github.com/RadiumGu/AWS-FIS-MCP.git
cd AWS-FIS-MCP
  1. Install uv from Astral or the GitHub README

  2. Install Python using uv python install 3.10

  3. Set up a virtual environment:

uv venv
source .venv/bin/activate
uv pip install -e .
  1. Run the MCP server:

# Using the installed script
aws-fis-mcp

# Or using python -m
python -m aws_fis_mcp

# Or using uv run
uv run main.py

MCP Client Configuration

Read-Only Mode (Default - Secure):

{
  "mcpServers": {
    "aws_fis_mcp": {
      "command": "uvx",
      "args": ["aws-fis-mcp"],
      "env": {
        "AWS_PROFILE": "default",
        "AWS_REGION": "us-east-1"
      },
      "transportType": "stdio"
    }
  }
}

With Write Operations Enabled:

{
  "mcpServers": {
    "aws_fis_mcp": {
      "command": "uvx",
      "args": ["aws-fis-mcp", "--", "--allow-writes"],
      "env": {
        "AWS_PROFILE": "default",
        "AWS_REGION": "us-east-1"
      },
      "transportType": "stdio"
    }
  }
}

Note: The -- separator is required to pass arguments to the application rather than to uvx itself.

For pip installed version:

{
  "mcpServers": {
    "aws_fis_mcp": {
      "command": "aws-fis-mcp",
      "env": {
        "AWS_PROFILE": "default",
        "AWS_REGION": "us-east-1"
      },
      "transportType": "stdio"
    }
  }
}

For local development:

Read-Only Mode (Default):

{
  "mcpServers": {
    "aws_fis_mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/home/ec2-user/mcp-servers/aws-fis-mcp-server",
        "run",
        "aws_fis_mcp/server.py"
      ],
      "env": {
        "AWS_PROFILE": "default",
        "AWS_REGION": "us-east-1"
      },
      "transportType": "stdio"
    }
  }
}

With Write Operations Enabled:

{
  "mcpServers": {
    "aws_fis_mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/home/ec2-user/mcp-servers/aws-fis-mcp-server",
        "run",
        "aws_fis_mcp/server.py",
        "--allow-writes"
      ],
      "env": {
        "AWS_PROFILE": "default",
        "AWS_REGION": "us-east-1"
      },
      "transportType": "stdio"
    }
  }
}

Available Tools

Experiment Templates

  • list_experiment_templates: List all AWS FIS experiment templates

  • get_experiment_template: Get detailed information about a specific template

  • create_experiment_template: Create a new experiment template (requires --allow-writes)

  • delete_experiment_template: Delete an experiment template (requires --allow-writes)

Experiments

  • list_experiments: List all AWS FIS experiments

  • get_experiment: Get detailed information about a specific experiment

  • start_experiment: Start a new experiment based on a template (requires --allow-writes)

  • stop_experiment: Stop a running experiment (requires --allow-writes)

Action Types

  • list_action_types: List all available AWS FIS action types

  • generate_template_example: Generate an example template for a given target and action type

Security and Error Handling

Read-Only Mode Error Messages

When attempting write operations in read-only mode, you'll receive structured error messages:

{
  "error": "Write operations are disabled",
  "message": "The 'start_experiment' operation requires write mode. Please restart the server with --allow-writes flag to enable write operations.",
  "operation": "start_experiment",
  "read_only_mode": true
}

Region Support

All functions support specifying AWS regions, with configurable defaults:

# Examples of region usage
List all my FIS experiment templates in us-west-2
Start an experiment using template exp-12345abcde in eu-west-1

Example Usage

Once connected to Amazon Q with the MCP server running, you can use commands like:

List all my FIS experiment templates in us-west-2
Start an experiment using template exp-12345abcde in us-east-1
Generate an example template for stopping EC2 instances

Requirements

  • Python 3.10+

  • boto3

  • AWS credentials configured with appropriate permissions for FIS

License

This project is licensed under the MIT License - see the LICENSE file for details.

Available Tools

10 tools
create_experiment_templateB
Create a new AWS FIS experiment template.

Args:
    name: Name for the experiment template
    description: Description of the experiment template
    targets: Dictionary of targets configuration
    actions: Dictionary of actions configuration
    role_arn: ARN of the IAM role to use for the experiment
    stop_conditions: List of stop conditions
    region: AWS region to use (default: us-east-1)
    
Returns:
    JSON string containing the created template information

Inputs: name (required), description (required), targets (required), actions (required), +3 more.

delete_experiment_templateB
Delete an AWS FIS experiment template.

Args:
    template_id: ID of the experiment template to delete
    region: AWS region to use (default: us-east-1)
    
Returns:
    Success or error message

Inputs: template_id (required), region.

generate_template_exampleB
Generate an example AWS FIS experiment template for a given target and action type.

Args:
    target_type: Target resource type (default: aws:ec2:instance)
    action_type: Action type to perform (default: aws:ec2:stop-instances)
    region: AWS region to use (default: us-east-1)
    
Returns:
    JSON string containing an example template configuration

Inputs: target_type, action_type, region.

get_experimentB
Get detailed information about a specific AWS FIS experiment.

Args:
    experiment_id: ID of the experiment to retrieve
    region: AWS region to query (default: us-east-1)
    
Returns:
    JSON string containing detailed experiment information

Inputs: experiment_id (required), region.

get_experiment_templateB
Get detailed information about a specific AWS FIS experiment template.

Args:
    template_id: ID of the experiment template to retrieve
    region: AWS region to query (default: us-east-1)
    
Returns:
    JSON string containing detailed template information

Inputs: template_id (required), region.

list_action_typesB
List all available AWS FIS action types.

Args:
    region: AWS region to query (default: us-east-1)
    
Returns:
    JSON string containing action types information

Inputs: region.

list_experimentsB
List all AWS FIS experiments in the specified region.

Args:
    region: AWS region to query (default: us-east-1)
    
Returns:
    JSON string containing experiments information

Inputs: region.

list_experiment_templatesB
List all AWS FIS experiment templates in the specified region.

Args:
    region: AWS region to query (default: us-east-1)
    
Returns:
    JSON string containing experiment templates information

Inputs: region.

start_experimentA
Start a new AWS FIS experiment based on an experiment template.

Args:
    template_id: ID of the experiment template to use
    region: AWS region to use (default: us-east-1)
    client_token: Optional client token for idempotency
    
Returns:
    JSON string containing the started experiment information

Inputs: template_id (required), region, client_token.

stop_experimentB
Stop a running AWS FIS experiment.

Args:
    experiment_id: ID of the experiment to stop
    region: AWS region to use (default: us-east-1)
    
Returns:
    JSON string containing the stopped experiment information

Inputs: experiment_id (required), region.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 10 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific AWS FIS operations with no overlap. Tools like create_experiment_template, delete_experiment_template, and get_experiment_template handle different lifecycle stages of templates, while start_experiment and stop_experiment manage experiment execution separately. The list_* tools provide distinct listing functions for different resource types.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern with snake_case throughout. The naming convention is perfectly predictable: create_experiment_template, delete_experiment_template, get_experiment, list_experiments, start_experiment, stop_experiment, etc. This consistency makes the tool set immediately understandable and navigable.

    Tool Count5/5

    With 10 tools, this server is well-scoped for AWS FIS operations. Each tool earns its place by covering essential CRUD operations for experiment templates (create, delete, get, list), experiment management (start, stop, get, list), plus supporting utilities like list_action_types and generate_template_example. This provides comprehensive coverage without being overwhelming.

    Completeness5/5

    The tool set provides complete lifecycle coverage for AWS FIS operations. It includes full CRUD for experiment templates (create, get, list, delete), experiment execution (start, stop, get, list), plus discovery tools (list_action_types) and a helpful utility (generate_template_example). There are no obvious gaps - agents can create templates, run experiments, monitor them, and clean up resources as needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Analyzes DevOps findings to automatically recommend and generate AWS Fault Injection Simulator (FIS) experiment templates. It helps teams validate system resilience by mapping reported issues to specific chaos engineering actions across AWS services.
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables secure file system operations (read, write, delete) and simulated command execution with server-enforced permission policies, risk assessment, and human-in-the-loop approval.
      5
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables cloud and platform engineers to investigate AWS incidents by grounding responses in approved runbooks and operational evidence, with authenticated access, citations, observability, and human approval before any write action.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only access to operations and telemetry data across 12 domains through 45 agent tools, including asset inventory, metrics, outages, incidents, and platform settings, with support for AWS SigV4-signed live access and a fixture-based mock mode that runs without a backend.
      MIT