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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。