AWS EC2 Instance Connect MCP Config
Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH public keys to EC2, providing users a simple and secure way to connect to their instances.
Config URL
Use this URL in any MCP-compatible client to fetch the config automatically.
https://mcp-bridge.pages.dev/config/amazonaws-com-ec2-instance-connect.jsonConfiguration JSON
Use curl https://mcp-bridge.pages.dev/config/amazonaws-com-ec2-instance-connect.json to fetch programmatically.
{
"mcpServers": {
"amazonaws-com-ec2-instance-connect": {
"command": "npx",
"args": ["-y","@mcp/amazonaws-com-ec2-instance-connect"],
"env": {
"AWS_EC2_INSTANCE_CONNECT_API_KEY": "your_aws_ec2_instance_connect_api_key"
}
}
}
}How to Use
Cursor
Go to Cursor Settings → MCP Servers → Add with the JSON above.
CLI / curl
Fetch the config programmatically:
curl https://mcp-bridge.pages.dev/config/amazonaws-com-ec2-instance-connect.jsonEnvironment Variables
AWS_EC2_INSTANCE_CONNECT_API_KEYReplace your_aws_ec2_instance_connect_api_key with your actual aws ec2 instance connect api key
Endpoints
POST
/#X-Amz-Target=AWSEC2InstanceConnectService.SendSSHPublicKeySendSSHPublicKey
POST
/#X-Amz-Target=AWSEC2InstanceConnectService.SendSerialConsoleSSHPublicKeySendSerialConsoleSSHPublicKey