| name | aws-messaging |
| description | Manage AWS messaging services (SNS, SQS, MQ, Step Functions, Location) without MCP. Use when the user asks about queues, topics, messages, message brokers, or workflows. |
AWS Messaging & Integration / AWS ๋ฉ์์ง ๋ฐ ํตํฉ
MCP ์์ด boto3/CLI๋ก ์ง์ ๋ฉ์์ง ์๋น์ค๋ฅผ ๊ด๋ฆฌํฉ๋๋ค.
When to Use / ์ฌ์ฉ ์์
- "SQS ํ ๋ชฉ๋ก" / "List SQS queues"
- "SNS ํ ํฝ ๋ฐํ" / "Publish to SNS topic"
- "๋ฉ์์ง ์ ์ก/์์ " / "Send/receive messages"
- "Step Functions ์ํฌํ๋ก" / "Step Functions workflows"
SNS (Topics & Notifications) / SNS (ํ ํฝ ๋ฐ ์๋ฆผ)
aws sns list-topics
aws sns publish --topic-arn <TOPIC_ARN> --message "Hello World"
aws sns list-subscriptions-by-topic --topic-arn <TOPIC_ARN>
aws sns subscribe --topic-arn <TOPIC_ARN> --protocol email --notification-endpoint user@example.com
import boto3
sns = boto3.client('sns')
sns.list_topics()
sns.publish(TopicArn='arn:aws:sns:...', Message='Hello World')
sns.subscribe(TopicArn='arn:aws:sns:...', Protocol='email', Endpoint='user@example.com')
sns.list_subscriptions_by_topic(TopicArn='arn:aws:sns:...')
SQS (Queues) / SQS (๋๊ธฐ์ด)
aws sqs list-queues
aws sqs send-message --queue-url <URL> --message-body "Hello"
aws sqs receive-message --queue-url <URL> --max-number-of-messages 10
aws sqs get-queue-attributes --queue-url <URL> --attribute-names All
aws sqs purge-queue --queue-url <URL>
sqs = boto3.client('sqs')
sqs.list_queues()
sqs.send_message(QueueUrl='https://sqs...', MessageBody='Hello')
sqs.receive_message(QueueUrl='https://sqs...', MaxNumberOfMessages=10)
sqs.send_message_batch(
QueueUrl='https://sqs...',
Entries=[
{'Id': '1', 'MessageBody': 'msg1'},
{'Id': '2', 'MessageBody': 'msg2'},
]
)
sqs.list_dead_letter_source_queues(QueueUrl='https://sqs...')
Amazon MQ (RabbitMQ/ActiveMQ) / ๋ฉ์์ง ๋ธ๋ก์ปค
aws mq list-brokers
aws mq describe-broker --broker-id <BROKER_ID>
mq = boto3.client('mq')
mq.list_brokers()
mq.describe_broker(BrokerId='broker-id')
mq.describe_broker_engine_types()
mq.describe_broker_instance_options()
Step Functions / ์ํฌํ๋ก
aws stepfunctions list-state-machines
aws stepfunctions start-execution \
--state-machine-arn <ARN> \
--input '{"key": "value"}'
aws stepfunctions list-executions --state-machine-arn <ARN> --status-filter RUNNING
sfn = boto3.client('stepfunctions')
sfn.list_state_machines()
sfn.start_execution(stateMachineArn='arn:...', input='{"key":"value"}')
sfn.list_executions(stateMachineArn='arn:...', statusFilter='RUNNING')
Amazon Location / ์์น ์๋น์ค
location = boto3.client('location')
location.search_place_index_for_text(IndexName='default', Text='Seoul Station')
location.search_place_index_for_position(IndexName='default', Position=[126.9718, 37.5519])
location.calculate_route(
CalculatorName='default',
DeparturePosition=[126.97, 37.55],
DestinationPosition=[127.02, 37.50]
)