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.
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 templatesget_experiment_template- Get experiment template detailslist_experiments- List experimentsget_experiment- Get experiment detailslist_action_types- List action typesgenerate_template_example- Generate template examples
Write Operations (Require --allow-writes)
start_experiment- Start an experimentstop_experiment- Stop an experimentcreate_experiment_template- Create experiment templatedelete_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
- Clone the repository:
git clone https://github.com/RadiumGu/AWS-FIS-MCP.git
cd AWS-FIS-MCP
-
Install
uvfrom Astral or the GitHub README -
Install Python using
uv python install 3.10 -
Set up a virtual environment:
uv venv
source .venv/bin/activate
uv pip install -e .
- 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 templatesget_experiment_template: Get detailed information about a specific templatecreate_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 experimentsget_experiment: Get detailed information about a specific experimentstart_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 typesgenerate_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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
E2B
Using MCP to run code via e2b.