Elastic plugin for Cursor
The Elastic plugin for Cursor is an official, open-source Cursor plugin that bundles agent skills and an Elastic Docs MCP server connection into a single installable unit. It gives the Cursor agent specialized knowledge of the Elastic Stack so it can perform Elastic tasks more accurately and efficiently. You install the plugin in Cursor, not in Elasticsearch, Kibana, or your Serverless project.
The plugin contains agent skills that are synced from the elastic/agent-skills repository.
When you install them through the plugin, these skills stay up to date. Skills that you install directly from the agent-skills repository stay at the version you installed.
Refer to AI agent skills for Elastic for how skills work and the areas they cover.
The agent decides when to use a skill based on your request.
You can also run a skill directly by typing / followed by the skill name in the chat, for example /elasticsearch-esql.
After you install the plugin, these skills give the agent the procedural knowledge to perform common Elastic tasks without leaving Cursor:
- Write and run ES|QL queries against a live cluster.
- Build and manage Kibana dashboards, alerting rules, and workflows.
- Onboard a service into Observability using Elastic OpenTelemetry.
- Triage Elastic Security alerts and manage cases.
- Provision Elastic Cloud resources and manage user access.
Most of these skills run their operations through the Elastic CLI, which you install and configure separately.
To compare the plugin with installing skills directly from elastic/agent-skills, refer to Elastic plugins for AI agents.
The plugin registers the Elastic Docs MCP server, which lets the agent search and retrieve Elastic documentation as part of any conversation. The agent can look up configuration options, API references, and feature guides without leaving Cursor.
The Elastic Docs MCP server only gives the agent access to Elastic documentation, not to your data. To let the agent work with your data, install and configure the Elastic CLI.
To install the plugin from Cursor:
- Open Customize in the Cursor sidebar.
- Find the Elastic plugin and select it.
- Select Add to Cursor, then choose the project or user scope.
You can also open the Elastic plugin page in the Cursor Marketplace and install it from there.
After installation, the plugin's skills and the Elastic Docs MCP server appear in Customize, where you can manage them. For more about installing and managing plugins, including distributing plugins to a team, refer to the Cursor plugins documentation.
- AI agent skills for Elastic: Install individual skills without a plugin, or learn about the skills format.
- Elastic CLI: Install and configure the CLI that most skills use to work with your deployment or project.
- Elastic Docs MCP server: Connect other agents or tools to the same documentation server that the plugin registers.
- elastic/cursor-plugins on GitHub: Source code and release history.