Bring Enterprise Search
to Mastra AI
Create your Vinkius account to connect Elastic Enterprise Search to Mastra AI and start using all 6 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Elastic Enterprise Search MCP Server?
Connect your Elastic Enterprise Search deployment to any AI agent and take full control of your application search engines and workplace discovery through natural conversation.
What you can do
- Engine Orchestration — Iterate through explicit engine containers managing logical indexing schemas and search spaces completely
- Search & Discovery — Resolve semantic or literal queries enforcing deep contextual matches against structured enterprise scopes seamlessly
- Document Indexing — Command explicit bulk payload ingestions triggering native pipeline mappings to store and update document collections synchronously
- Metadata Inspection — Analyze specific global bounds fetching discrete index layouts and extracting linguistic configuration nodes cleanly
- Analytics Auditing — Generate precise internal metric tracking isolating usage insights and calculating exact click log data to monitor performance
- Catalog Retrieval — Extract explicitly attached REST arrays mapping exact document payloads fetching physical raw records flawlessly
How it works
- Subscribe to this server
- Enter your Elastic Enterprise Search URL and API Key (found in Kibana > Stack Management > Security > API Keys)
- Start managing your search engines from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Search Engineers — monitor engine configurations and test search relevance without manual API testing
- Software Developers — index documents and verify search results directly from the IDE or chat
- Data Analysts — audit search analytics and monitor click logs using natural language conversation
- Ops Teams — verify engine health and manage document indexing pipelines in real-time
Built-in capabilities (6)
Get search analytics
Get engine
Index newly created JSON documents targeting specific schemas
List indexed documents in an engine
List engines
Search documents within an engine
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Elastic Enterprise Search tool infrastructure. Connect 6 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Elastic Enterprise Search without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Elastic Enterprise Search tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Elastic Enterprise Search in Mastra AI
Why run Elastic Enterprise Search with Vinkius?
The Elastic Enterprise Search connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 6 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Elastic Enterprise Search using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Elastic Enterprise Search and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Elastic Enterprise Search to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Elastic Enterprise Search for Mastra AI
Every request between Mastra AI and Elastic Enterprise Search is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can my agent list all available search engines in Elastic?
Yes. Use the 'list_engines' tool. The agent iterates through your engine containers, managing logical indexing schemas and providing a complete map of your search spaces.
How do I index a batch of JSON documents via chat?
Use the 'index_documents' tool. Provide the engine name and a JSON array of your documents. The agent will command the bulk payload ingestion, triggering native pipeline mappings to store your data synchronously.
Can I check the search analytics for a specific engine through the agent?
Absolutely. The 'analytics' tool generates precise internal metric tracking for your engine. It will isolate usage insights and calculate click log data, allowing you to monitor search performance natively.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Farmonaut
12 toolsAccess satellite agriculture data via Farmonaut — monitor crop health with NDVI, weather, soil moisture, crop advisory, and deforestation alerts from any AI agent.

Click2Mail
8 toolsManage physical mail and printing via Click2Mail — track jobs, monitor credit balance, and submit mailings directly from any AI agent.

Magnolia (Enterprise Headless CMS)
10 toolsManage enterprise content via Magnolia CMS — query JCR nodes, audit template schemas, and orchestrate headless delivery.

Pointr
10 toolsGrant your AI access to precision indoor mapping. Navigate buildings, track BLE beacons, and find POIs.
