Skip to main content
Glama

AWS Security MCP

find_instances_by_port

Identify EC2 instances with security groups allowing access on a specific port. Filters by instance state and returns results in JSON format for security analysis and configuration checks.

Instructions

Find EC2 instances with security groups allowing access on a specific port.

Args: port: The port number to check for state: Instance state to filter by (default is "running") Returns: JSON formatted string with instances that have the specified port open

Input Schema

NameRequiredDescriptionDefault
portYes
stateNorunning

Input Schema (JSON Schema)

{ "properties": { "port": { "title": "Port", "type": "integer" }, "state": { "default": "running", "title": "State", "type": "string" } }, "required": [ "port" ], "title": "find_instances_by_portArguments", "type": "object" }

You must be authenticated.

Other Tools from AWS Security MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/groovyBugify/aws-security-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server