oshaani MCP Marketplace
Sign in

← Documentation

AWS MCP Cloud

Query EC2, S3, CloudWatch Logs and ECS in your AWS account through a cross-account IAM role.

2 credits / tool call

Quick start

  1. Add a AWS connection with the settings below, then click Test configuration.
  2. Create an API key for your agent.
  3. Paste the key below, click Test endpoint, and copy the configuration for your platform.
Endpointhttps://market.oshaani.com/aws (your default connection) or https://market.oshaani.com/aws/<connection-id>
TransportStreamable HTTP (stateless, JSON responses). MCP protocol versions 2024-11-05 to 2025-11-25 and 2026-07-28.
AuthenticationAuthorization: Bearer <API key>, using a key from the API keys page.

Agent configuration

The default URL uses your organisation's default AWS connection; a URL with an ID pins one connection.
Get a key
The key is filled into the snippets below. It stays in this page and is only sent with the test request.
Runs initialize and tools/list against the endpoint, exactly like an agent. No credits are charged.

Any MCP client that supports remote (Streamable HTTP) servers with custom headers.

{
  "name": "aws",
  "transport": "streamable-http",
  "url": "https://market.oshaani.com/aws",
  "headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  }
}

Connection settings

Entered once per connection on market.oshaani.com. Secrets are encrypted and never shown again or sent to agents.

SettingTypeDescription
IAM role ARN
role_arn required
string Role in your account that trusts the oshaani marketplace AWS account, e.g. arn:aws:iam::123456789012:role/OshaaniMarketplace
pattern ^arn:aws[a-zA-Z-]*:iam::\d{12}:role/[\w+=,.@/-]+$
External ID
external_id required
string Must match the role's trust policy
min length 2, max length 1224
Default region
region
string
default "us-east-1"

pattern ^[a-z]{2}(-gov)?-[a-z]+-\d$
Session duration (seconds)
session_duration
integer
default 900

min 900, max 43200

Tools (7)

ec2_describe_instances read-only

List EC2 instances with state, type, IPs and Name tag

ArgumentTypeDescription
state string Filter by state: pending, running, stopping, stopped, terminated
instance_ids array of string Specific instance IDs
max_results integer
default 100

min 1, max 500
region string AWS region override, e.g. eu-west-1 (defaults to the connection's region)

s3_list_buckets read-only

List S3 buckets in the account

No arguments.

s3_list_objects read-only

List objects in an S3 bucket under an optional prefix

ArgumentTypeDescription
bucket required string
prefix string
default ""
max_keys integer
default 100

min 1, max 1000
region string AWS region override, e.g. eu-west-1 (defaults to the connection's region)

logs_list_groups read-only

List CloudWatch log groups

ArgumentTypeDescription
prefix string Log group name prefix, e.g. /aws/lambda/
limit integer
default 50

min 1, max 50
region string AWS region override, e.g. eu-west-1 (defaults to the connection's region)

logs_query read-only

Run a CloudWatch Logs Insights query and wait for the results

ArgumentTypeDescription
log_group required string
query string
default "fields @timestamp, @message | sort @timestamp desc"
Logs Insights query, e.g. 'fields @timestamp, @message | filter @message like /ERROR/'
minutes integer
default 60
Look back this many minutes
min 1, max 10080
limit integer
default 100

min 1, max 1000
region string AWS region override, e.g. eu-west-1 (defaults to the connection's region)

ecs_list_clusters read-only

List ECS clusters

ArgumentTypeDescription
region string AWS region override, e.g. eu-west-1 (defaults to the connection's region)

ecs_list_services read-only

List services in an ECS cluster with desired/running counts and deployment status

ArgumentTypeDescription
cluster required string
region string AWS region override, e.g. eu-west-1 (defaults to the connection's region)

Billing & errors

Each successful tool call costs 2 oshaani.com credits. initialize, tools/list, failed calls and timeouts are free.

JSON-RPC codeMeaning
-32054 (HTTP 401)Missing, unknown or revoked API key
-32053 (HTTP 404)No AWS connection configured for your organisation, or the connection ID is wrong
-32055 (HTTP 403)Connection disabled or origin not allowed
-32052 (HTTP 429)Rate limit reached; retry after a minute
-32050Not enough oshaani.com credits for the call
-32051Billing temporarily unavailable; the call was not run

Errors from AWS itself (bad IDs, permissions) come back as tool results with isError: true so the agent can read and correct them. See the AWS API documentation.