﻿---
title: Elastic plugin for Cursor
description: Install the official Elastic plugin for Cursor to give Cursor agent skills and access to documentation through the Elastic Docs MCP server.
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/ai-features/agent-plugins/cursor-plugin
products:
  - Elastic Cloud Serverless
  - Elastic Documentation
  - Elastic Observability
  - Elastic Security
  - Elasticsearch
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Elastic plugin for Cursor
The [Elastic plugin for Cursor](https://cursor.com/marketplace/elastic) is an official, open-source [Cursor plugin](https://cursor.com/docs/plugins) 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.

## Use cases


### Work with Elasticsearch and Kibana from Cursor

The plugin contains agent skills that are synced from the [elastic/agent-skills](https://github.com/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](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/ai-features/agent-skills) 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 `{{skill-command-example}}`.
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](https://docs-v3-preview.elastic.dev/elastic/cli/tree/main/), which you install and configure separately.
To compare the plugin with installing skills directly from [elastic/agent-skills](https://github.com/elastic/agent-skills), refer to [Elastic plugins for AI agents](/elastic/docs-content/tree/main/explore-analyze/ai-features/agent-plugins#plugins-compared-to-installing-skills-directly).

### Access Elastic documentation in Cursor

The plugin registers the [Elastic Docs MCP server](/elastic/docs-content/tree/main/get-started/machine-readable-docs#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.
<note>
  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](https://docs-v3-preview.elastic.dev/elastic/cli/tree/main/).
</note>


## Install the plugin

To install the plugin from Cursor:
1. Open **Customize** in the Cursor sidebar.
2. Find the **Elastic** plugin and select it.
3. Select **Add to Cursor**, then choose the project or user scope.

![The Elastic plugin details page in Cursor, showing the plugin description, an Add to Cursor button, the elastic-docs MCP server, and the start of the plugin's skills list.](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/ai-features/images/cursor-elastic-plugin.png)

You can also open the [Elastic plugin page in the Cursor Marketplace](https://cursor.com/marketplace/elastic) 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](https://cursor.com/docs/plugins).

## Next steps

- [AI agent skills for Elastic](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/explore-analyze/ai-features/agent-skills): Install individual skills without a plugin, or learn about the skills format.
- [Elastic CLI](https://docs-v3-preview.elastic.dev/elastic/cli/tree/main/): Install and configure the CLI that most skills use to work with your deployment or project.
- [Elastic Docs MCP server](/elastic/docs-content/tree/main/get-started/machine-readable-docs#docs-mcp-server): Connect other agents or tools to the same documentation server that the plugin registers.
- [elastic/cursor-plugins on GitHub](https://github.com/elastic/cursor-plugins): Source code and release history.