AWS FIS MCP Server

AWS FIS MCP Server

Enables interaction with AWS Fault Injection Service to create, manage, and execute chaos engineering experiments. Operates in read-only mode by default for security, with optional write operations for starting/stopping experiments and managing templates.

Category
Visit Server

README

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.

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

Option 1: Using uvx (Recommended)

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

For uvx usage (Recommended):

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured