An MCP server that connects AI assistants to the elastic.io iPaaS platform — letting them discover, build, modify, and debug integration flows directly.
Important: Before proceeding with the installation of the MCP server, please read the applicable Terms of Use.
The elastic.io MCP server is optional. By installing it or connecting an AI agent to elastic.io through it, you agree to the elastic.io Terms of Use, in particular the MCP Interface and AI agents section.
In short:
curl command to clipboard. The setup wizard accepts this command directly — just paste it when prompted.Run this in your terminal — it will detect your installed AI clients and configure them automatically:
macOS / Linux:
npx -y @elastic.io/mcp@beta setup
Windows (PowerShell):
npx -y "@elastic.io/mcp@beta" setup
Windows notes:
- Always wrap the package name in quotes (
"@elastic.io/mcp") — PowerShell misinterprets the@symbol without them.- If you get a
PSSecurityExceptionerror, allow script execution for your user first:Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
Works on macOS, Linux, and Windows. The setup wizard will:
curl command from your profile page (or ask for email and API key manually)node/npx (handles NVM, fnm, Homebrew, etc.)After setup, restart your AI client — the elastic.io tools will appear in the chat.
Our MCP server supports a wide range of MCP-compatible clients:
Please Note: Configuration instructions may vary between clients. Refer to each client’s documentation for setup instructions and configuration file locations.
If you prefer to configure manually, add the following to your client’s MCP config file:
{
"mcpServers": {
"elasticio": {
"command": "npx",
"args": ["-y", "@elastic.io/mcp"],
"env": {
"ELASTICIO_API_EMAIL": "your_email@example.com",
"ELASTICIO_API_KEY": "your_api_key",
"ELASTICIO_API_BASE_URL": "https://<tenant_api_base_url>"
}
}
}
}
Please Note: ChatGPT / Codex uses TOML format — use
npx -y @elastic.io/mcp@beta setupfor automatic configuration.
The AI client starts the MCP server as a subprocess and communicates over stdin/stdout:
AI Client (Claude/ChatGPT/Cursor/...) <--> [stdin / stdout] <--> MCP Server <--> elastic.io API
The server exposes tools that let the AI: list components, discover credentials, create and manage flows, build JSONata mappings, debug flow steps, manage data samples, analyze logs, and more.
$getPassthrough() calls).| Variable | Required | Default | Description |
|---|---|---|---|
ELASTICIO_API_EMAIL |
yes | — | Your user account email |
ELASTICIO_API_KEY |
yes | — | Your user API key |
ELASTICIO_API_BASE_URL |
no | https://<tenant_api_base_url> |
Base URL for the platform REST API |
ELASTICIO_MCP_LOCAL_SEARCH |
no | — | Set to any truthy value to use local Qdrant + Gemini search instead of platform API |
EMBEDDING_PROVIDER_API_KEY |
if local search | — | Google Gemini API key for generating embeddings |
VECTOR_STORE_URL |
if local search | — | Qdrant instance URL |
VECTOR_STORE_API_KEY |
no | — | Qdrant API key (if authentication is enabled) |
LOG_LEVEL |
no | INFO |
Log level (DEBUG, INFO, WARN, ERROR) |
LOG_FILE |
no | — | Path to a log file (logs to file in addition to stderr) |
To update to the latest version, clear the npx cache first, then run setup again:
# macOS / Linux
npx -y clear-npx-cache && npx -y @elastic.io/mcp@beta setup
# Windows (PowerShell)
npx -y clear-npx-cache; npx -y "@elastic.io/mcp@beta" setup
This ensures npx fetches the latest version from npm. Your credentials will be re-prompted. Restart your AI clients after the update.
To completely remove the elastic.io MCP server and its credentials from your machine:
elasticio entry from your AI client configsOpen the config file for each client you configured and delete the elasticio section. Config file locations:
| Client | macOS | Windows | Linux |
|---|---|---|---|
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json |
%APPDATA%\Claude\claude_desktop_config.json |
~/.config/Claude/claude_desktop_config.json |
| Claude Code | ~/.claude.json |
~/.claude.json |
~/.claude.json |
| ChatGPT / Codex | ~/.codex/config.toml |
~/.codex/config.toml |
~/.codex/config.toml |
| Cursor | ~/.cursor/mcp.json |
~/.cursor/mcp.json |
~/.cursor/mcp.json |
| VS Code (Copilot) | ~/Library/Application Support/Code/User/mcp.json |
%APPDATA%\Code\User\mcp.json |
~/.config/Code/User/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
~/.codeium/windsurf/mcp_config.json |
~/.codeium/windsurf/mcp_config.json |
| Gemini CLI / Gemini IDE | ~/.gemini/config/mcp_config.json |
~/.gemini/config/mcp_config.json |
~/.gemini/config/mcp_config.json |
| Zed | ~/.config/zed/settings.json |
~/.config/zed/settings.json |
~/.config/zed/settings.json |
| Cline (VS Code) | ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json |
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json |
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json |
| Trae | ~/.trae/mcp.json |
~/.trae/mcp.json |
~/.trae/mcp.json |
| Qwen Code | ~/.qwen/settings.json |
~/.qwen/settings.json |
~/.qwen/settings.json |
| Kimi Code | ~/.kimi-code/mcp.json |
~/.kimi-code/mcp.json |
~/.kimi-code/mcp.json |
| DeepSeek | ~/.deepseek/mcp.json |
~/.deepseek/mcp.json |
~/.deepseek/mcp.json |
The MCP server binary is cached by npx. To remove it:
# macOS / Linux
npx -y clear-npx-cache
# or manually:
rm -rf ~/.npm/_npx
# Windows (PowerShell)
Remove-Item -Recurse -Force "$env:USERPROFILE\.npm\_npx"
Your elastic.io API key is stored in plain text in each config file listed above. After removing the config entries:
This invalidates the old key even if a copy remains on disk.
Security Note: Keep your MCP credentials secret and revoke them without delay if you suspect they may have been compromised.
Restart any AI clients that were configured to pick up the changes.