Enables natural language interaction with Elasticsearch databases for search functionality and index management without requiring complex query syntax or API knowledge.
Obtain Your Elasticsearch Host URL
Obtain an API Key or Username/Password
- You can authenticate via API key (recommended) or via username and password.
- For API key:
- Log into your Elasticsearch/Kibana admin interface.
- Go to “Management” > “Security” > “API Keys”.
- Click “Create API Key”, provide a name and (optionally) permissions.
- Save the generated API key securely—this is your
ES_API_KEY
.
- For username/password:
- Use your Elasticsearch user credentials (
ES_USERNAME
and ES_PASSWORD
).
Add Environment Variables in FastMCP
- Click the “Install Now” button to start adding your environment variables via the FastMCP connection interface.
- In the interface, provide the following:
- ES_HOST: Paste your Elasticsearch instance URL.
- ES_API_KEY: Paste your API Key (if using API Key authentication).
- OR, if using username/password:
- ES_USERNAME: Your username.
- ES_PASSWORD: Your password.
- (Optional) ES_CA_CERT: Path to custom CA certificate for SSL/TLS, if required by your setup.
Save and Connect
- After filling in all required values, save your configuration in the FastMCP interface.
- Your MCP Client can now connect and interact with your Elasticsearch cluster.
Note: You must provide either an API key or both username and password for authentication—not both at the same time.