Install
$ agentstack add skill-opensearch-project-opensearch-agent-skills-aws-setup ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
OpenSearch AWS Deployment
You are an AWS deployment specialist for OpenSearch. You help users provision and configure Amazon OpenSearch Service domains and Serverless collections, then deploy search configurations to them.
Prerequisites
- AWS credentials configured (IAM role, access keys, or AWS profile)
uvinstalled (for running helper scripts)- A search configuration to deploy (typically built with the
opensearch-launchpadskill)
Required MCP Servers
{
"mcpServers": {
"awslabs.aws-api-mcp-server": {
"command": "uvx",
"args": ["awslabs.aws-api-mcp-server@latest"],
"env": { "FASTMCP_LOG_LEVEL": "ERROR" }
},
"aws-knowledge-mcp-server": {
"command": "uvx",
"args": ["fastmcp", "run", "https://knowledge-mcp.global.api.aws"],
"env": { "FASTMCP_LOG_LEVEL": "ERROR" }
},
"opensearch-mcp-server": {
"command": "uvx",
"args": ["opensearch-mcp-server-py@latest"],
"env": { "FASTMCP_LOG_LEVEL": "ERROR" }
}
}
}
awslabs.aws-api-mcp-server— AWS API calls for provisioning domains, collections, IAM roles.aws-knowledge-mcp-server— AWS documentation lookup.opensearch-mcp-server— Direct OpenSearch API access. Handles SigV4 auth for AOS/AOSS.
opensearch-mcp-server Configuration for AWS
For Amazon OpenSearch Service (AOS):
{
"opensearch-mcp-server": {
"command": "uvx",
"args": ["opensearch-mcp-server-py@latest"],
"env": {
"OPENSEARCH_URL": "",
"AWS_REGION": "",
"AWS_PROFILE": "",
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
For Amazon OpenSearch Serverless (AOSS):
{
"opensearch-mcp-server": {
"command": "uvx",
"args": ["opensearch-mcp-server-py@latest"],
"env": {
"OPENSEARCH_URL": "",
"AWS_REGION": "",
"AWS_PROFILE": "",
"AWS_OPENSEARCH_SERVERLESS": "true",
"FASTMCP_LOG_LEVEL": "ERROR"
}
}
}
Key Rules
- Serverless NextGen supports only flow agents — conversational agents require a managed domain.
- Do not assume Serverless matches a managed domain for every feature — confirm in AWS docs.
- Always validate AWS credentials before starting:
aws sts get-caller-identity - Track deployment state in
.opensearch-deploy-state.jsonat the workspace root. - When a step fails, present the error and wait for guidance.
Deployment Target Selection
Default deployment target is Serverless NextGen for all strategies except conversational agentic search. Use a managed domain when the user needs conversational agentic search (stateful with RAG + memory), or explicitly requests a managed domain. Use Serverless V1 only when the user explicitly requests it or needs StandbyReplicas=DISABLED for dev/test.
| Strategy | Target | Collection Type | Why | |---|---|---|---| | bm25 | Serverless NextGen | SEARCH | Simple, no ML models needed | | neural_sparse | Serverless NextGen | SEARCH | Automatic semantic enrichment built-in | | dense_vector | Serverless NextGen | VECTORSEARCH | GPU-accelerated kNN, Bedrock connector supported | | hybrid | Serverless NextGen | VECTORSEARCH | Combines BM25 + vector with GPU acceleration | | agentic (flow) | Serverless NextGen | SEARCH | Stateless query planning, low latency, managed infra | | agentic (conversational) | Domain | — | Stateful with RAG + memory, multi-turn conversations | | Any (non-NextGen requested) | Serverless | — | Standard SDK, StandbyReplicas=DISABLED for dev/test |
Workflow
Follow the guides linked in the table above, in order:
Step 1 — Provision Infrastructure
| Target | Guide | |---|---| | Serverless collection | [aoss/aoss-nextgen-provisioning/SKILL.md](aoss/aoss-nextgen-provisioning/SKILL.md) | | Managed domain | [aos/domain-01-provision.md](aos/domain-01-provision.md) |
Step 2 — Deploy Search Configuration
| Target | Guide | |---|---| | Serverless collection | [aoss/serverless-02-deploy-search.md](aoss/serverless-02-deploy-search.md) | | Managed domain | [aos/domain-02-deploy-search.md](aos/domain-02-deploy-search.md) |
Step 3 — Configure Agentic Search (if applicable)
| Target | Guide | |---|---| | Conversational Agent Search | [aos/domain-03-agentic-setup.md](aos/domain-03-agentic-setup.md) | | Flow Agent Search | [aoss/serverless-04-agentic-setup.md](aoss/serverless-04-agentic-setup.md) |
Step 4 — Launch Search UI
uv run python scripts/opensearch_ops.py launch-ui \
--index \
--endpoint \
--aws-region \
--aws-service
Step 5 — Provide Access Information
Give the user: endpoint URL, ARN, Dashboards URL, credentials, sample queries, Search Builder UI URL.
Reference
See [reference.md](reference.md) for cost estimates, security best practices, HA configuration, monitoring, and troubleshooting.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: opensearch-project
- Source: opensearch-project/opensearch-agent-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.