Back to Home
thabiso-m-absa icon

opensearch-mcp-server

Verified Safe

by thabiso-m-absa

Overview

This server integrates OpenSearch clusters with AI systems via the Model Context Protocol (MCP), enabling AI to perform search, indexing, aggregation, and management tasks across multiple clusters.

Installation

Run Command
npm start

Environment Variables

  • OPENSEARCH_URL
  • OPENSEARCH_USERNAME
  • OPENSEARCH_PASSWORD
  • OPENSEARCH_CLUSTERS
  • OPENSEARCH_CLUSTER_NAME
  • OPENSEARCH_DEFAULT_CLUSTER
  • OPENSEARCH_REJECT_UNAUTHORIZED
  • OPENSEARCH_CA_CERT_PATH
  • OPENSEARCH_REQUEST_TIMEOUT
  • OPENSEARCH_DEFAULT_INDEX
  • OPENSEARCH_INDEX_PREFIX
  • OPENSEARCH_ADMIN_PASSWORD
  • AWS_REGION
  • AWS_SERVICE

Security Notes

The source code, specifically `src/mcp.json`, contains hardcoded OpenSearch production-like credentials (URL, username, and password). While this might be intended as an example for VS Code configuration, storing such secrets directly in the repository is a critical security vulnerability if the repository is public or accessed by unauthorized individuals. The application itself relies on environment variables for configuration, which is a better practice, but the presence of this example reduces the overall security posture due to potential misuse. Additionally, `aws-sdk` is `require`d dynamically for AWS authentication but is not listed as a dependency in `package.json`, which could lead to runtime errors in AWS-configured environments.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-11-25

Tags

OpenSearchMulti-ClusterMCPSearchAnalytics