From b57978c138556f22ef14b1ba7f74243361f5271b Mon Sep 17 00:00:00 2001 From: Matthew Arbesfeld Date: Wed, 3 Jun 2026 15:14:07 -0400 Subject: [PATCH] Add LogRocket plugin Connects Cursor to LogRocket via the LogRocket MCP server (all toolsets enabled) plus a use-logrocket skill for querying session replays, metrics, issues, and user behavior. Co-authored-by: Cursor --- .cursor-plugin/marketplace.json | 5 +++ README.md | 1 + logrocket/.cursor-plugin/plugin.json | 19 ++++++++ logrocket/CHANGELOG.md | 7 +++ logrocket/LICENSE | 21 +++++++++ logrocket/README.md | 22 +++++++++ logrocket/assets/logo.png | Bin 0 -> 1803 bytes logrocket/mcp.json | 7 +++ logrocket/skills/use-logrocket/SKILL.md | 57 ++++++++++++++++++++++++ 9 files changed, 139 insertions(+) create mode 100644 logrocket/.cursor-plugin/plugin.json create mode 100644 logrocket/CHANGELOG.md create mode 100644 logrocket/LICENSE create mode 100644 logrocket/README.md create mode 100644 logrocket/assets/logo.png create mode 100644 logrocket/mcp.json create mode 100644 logrocket/skills/use-logrocket/SKILL.md diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 49f6d8e..a60e3bb 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -72,6 +72,11 @@ "name": "pstack", "source": "pstack", "description": "if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence." + }, + { + "name": "logrocket", + "source": "logrocket", + "description": "Connect Cursor to LogRocket to query session replays, metrics, issues, and user behavior." } ] } diff --git a/README.md b/README.md index b3348e8..cdc1cec 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc | `cursor-sdk` | [Cursor SDK](cursor-sdk/) | Cursor | Developer Tools | Build apps, scripts, CI pipelines, and automations on top of the Cursor TypeScript SDK (@cursor/sdk) — runtime selection, auth, streaming, MCP, error handling, and ready-to-extend integration patterns. | | `orchestrate` | [Orchestrate](orchestrate/) | Cursor | Developer Tools | Fan large tasks out across parallel Cursor cloud agents with planners, workers, verifiers, and structured handoffs. | | `pstack` | [pstack](pstack/) | Lauren Tan | Developer Tools | if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence. | +| `logrocket` | [LogRocket](logrocket/) | LogRocket | Developer Tools | Connect Cursor to LogRocket to query session replays, metrics, issues, and user behavior. | Author values match each plugin’s `plugin.json` `author.name` (Cursor lists `plugins@cursor.com` in the manifest). diff --git a/logrocket/.cursor-plugin/plugin.json b/logrocket/.cursor-plugin/plugin.json new file mode 100644 index 0000000..9861d5e --- /dev/null +++ b/logrocket/.cursor-plugin/plugin.json @@ -0,0 +1,19 @@ +{ + "name": "logrocket", + "displayName": "LogRocket", + "version": "0.1.0", + "description": "Connect Cursor to LogRocket to query session replays, metrics, issues, and user behavior using natural language.", + "author": { + "name": "LogRocket", + "email": "support@logrocket.com" + }, + "homepage": "https://github.com/cursor/plugins/tree/main/logrocket", + "repository": "https://github.com/cursor/plugins", + "license": "MIT", + "logo": "assets/logo.png", + "keywords": ["logrocket", "session-replay", "analytics", "mcp", "galileo"], + "category": "developer-tools", + "tags": ["logrocket", "session-replay", "analytics", "observability", "debugging"], + "skills": "./skills/", + "mcpServers": "./mcp.json" +} diff --git a/logrocket/CHANGELOG.md b/logrocket/CHANGELOG.md new file mode 100644 index 0000000..16542cb --- /dev/null +++ b/logrocket/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## 0.1.0 + +- Initial release of the LogRocket plugin. +- Added the LogRocket MCP server connection (all toolsets enabled via `?toolsets=all`). +- Added the `use-logrocket` skill for querying sessions, metrics, issues, and user behavior. diff --git a/logrocket/LICENSE b/logrocket/LICENSE new file mode 100644 index 0000000..795df04 --- /dev/null +++ b/logrocket/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 LogRocket + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/logrocket/README.md b/logrocket/README.md new file mode 100644 index 0000000..2249602 --- /dev/null +++ b/logrocket/README.md @@ -0,0 +1,22 @@ +# LogRocket Plugin for Cursor + +Connect Cursor to [LogRocket](https://logrocket.com) to query session replays, metrics, issues, and user behavior using natural language. + +Powered by the [LogRocket MCP Server](https://docs.logrocket.com/docs/mcp) and [Ask Galileo](https://docs.logrocket.com/docs/ask-galileo). + +## What's Included + +- **MCP Server** — Connects Cursor to the LogRocket API so your AI agent can query sessions, metrics, issues, and more. All toolsets are enabled (`?toolsets=all`), exposing `use_logrocket`, `find_sessions`, `watch_sessions`, `build_metric`, `list_organizations`, and `list_projects`. +- **Use LogRocket Skill** — A skill that teaches your agent how to invoke LogRocket queries on your behalf. + +## Setup + +1. Install the plugin. +2. Connect to the MCP server when prompted by Cursor, and authenticate via OAuth. + +The server connects to the root `https://mcp.logrocket.com/mcp` endpoint, so your agent can access the same LogRocket organizations and projects you can access in your browser. No environment variables required — use the `list_organizations` / `list_projects` tools to pick a specific org or project. + +## Learn More + +- [LogRocket MCP Server Docs](https://docs.logrocket.com/docs/mcp) +- [Ask Galileo Docs](https://docs.logrocket.com/docs/ask-galileo) diff --git a/logrocket/assets/logo.png b/logrocket/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..05b07ae1ba35ba84d7b4518b2f810f6accb6aa1d GIT binary patch literal 1803 zcmV+m2lV)fP)@!2#<88(ly=FPeaqq6@1cm#sgl!(WyHt1;$R`O zCJ%+`000JBNklF)HF zPX7LW_~E~SW$y#i9Hx*EgtO2z3jtnX0|3xD@l7*f5x5v!fh*Hg7;F#(J#h0yh8Dsb zF94|PnC3GerU=}DY%SA_I)p5*mRa@{G7BNct7YbTrdhS?F@ij=*3JskwEi5Ih`az; z)uxHnbc$E&HDa^8PWCh}fN*J&mo=%!ZUO8K@^bd`!~jmr5liP3c?C75%<_S}TEMNL zOv67uCI;xi46$VOm{;q~jO2|Le#Xm;GX3I-A}=tpGUKO;Y=O}784wb3iYd_J(!7%A z7IwvIvn($wdP!id{U4W28V~E&c(o$Sm*f>Zj76--wo4K_%w%DvMfS3VT}8H_m8Gxv zup97l3-d)+(PO#FWZLPYE2f_87Sg3(hy@$OV4F2fwnbRvh8IeIO5xSWZqo277H^Y8 zf;`cFnff>3ohyyG+S*GurSc2D2x?>T0>C5UlepH8(9 z`NqL+0bM$KW=*2)XkPx9NQdmgCAEHHC95QRh=k6mE~?~KebkH-USeII7;gagy}&{j zQ$jEqTozZVApONJTZ0VMMrrrDvwM^CE9UQ3C+);o_lY{I_Qxj1pxcxY8POguS!aQw zt_sRW@xZ>zle6Z((oKvtF|_TBIvs-na=Si%$nXMZ-Q9oIbf$=9oe;UzyVBfY^pC6; zi#kEXcf^`*o#t%dqP1RPmdgdo&T-x4+Uwq7oLGMWHCMizy_6zO%bDW8kk!~0@DTNHy_gnEVOjpIUFA2zqhZH49d zyO4crUY25alTNk39I<(}PPG!t#5%+l-{{w33qf;5LMG}nL1tbxQFu-!l+t-If<(}e@lNeti zF(RQD(-~G5V#pM+CqP6evGQ|bVErTZ9`vd*kRS$h5({7NRtvxycW<6=1U`bcFz(k< zyZ~D3iQ{GTUQc)eD_4U$bMV6cur_F>jKiK*u+t1_aoK{R=`FBuXY7UHw>I-13aIB z6tXic<;%PB??KxBYb}}_+h`vHD0USCP$b9eg^{NZf#v-F=8ZXq_dweZ=IFY)6yhZ{3CD*6KvlRSBdEb6p`xx+S}jXbL=n^p@{~!FVay zvI&{D*J5NyzEqk!dm#r>NN4?eqNRd;)l!QpiGpzlEtw)wuzRVc8X*ei=})umI`l-# z(|b1;Kv$mEe5aba?!&NPSIyjWC3}QHHf?3=A_$80tOY`n{CUMp4q&U8CZ0L!u&yr; zQ#|8M*3tFd^)$1UlCDZJ@oqSrZL^L+ z(1wRmBH>mfPAVmbTms>XX~z7=R@y`mV@fE+6h-@($pIaH#&c$a{{!%2Gd4e8+LF)H zLtWK%a@q*boSI+PP|+m)fnD{uo>Ro!=LvtxS5dE%Nfy!WgD@B3`;{%*x46N&Tk{Zn zqy}b~Sly&Ub^BHdK8(IjF-A6ZzuCxAdC$4D;c&)373Qk;c1i>+!{P&%ciy*((7E}=cZmj(Tp>+`e*|`btx`Moh zHo6>q6B7GiiBlSR=Qkk+*)iEz-W6qh*l$T^PDqu%dY9PEy&;J0-EOsBw?Az>22N<2 z*c`}@*#AK+{t^2T`w{z6Vo;nWHcPDcVauR5D78G@ixsg8TliC{sb)x}-Mv za(58hbH8NHn@gvMEOf3?K)SZ=>v<#Z{upX^{eYF(yU5rzX=U7V18_{^UZD6tu t-Ul^{GCQBEuejV!fcIs$PX6#6_y?E-Rav(&(L4YE002ovPDHLkV1h`1kE{Ry literal 0 HcmV?d00001 diff --git a/logrocket/mcp.json b/logrocket/mcp.json new file mode 100644 index 0000000..587daac --- /dev/null +++ b/logrocket/mcp.json @@ -0,0 +1,7 @@ +{ + "mcpServers": { + "logrocket": { + "url": "https://mcp.logrocket.com/mcp?toolsets=all" + } + } +} diff --git a/logrocket/skills/use-logrocket/SKILL.md b/logrocket/skills/use-logrocket/SKILL.md new file mode 100644 index 0000000..cac968d --- /dev/null +++ b/logrocket/skills/use-logrocket/SKILL.md @@ -0,0 +1,57 @@ +--- +name: use-logrocket +description: Query LogRocket for session replays, metrics, issues, and user behavior using natural language. Use when debugging issues, analyzing feature usage, investigating errors, triaging problems, or understanding how users interact with your app. +--- + +# Use LogRocket + +## When to use + +- Debugging a user-reported issue or error +- Understanding how a feature is currently being used before making changes +- Triaging new issues and figuring out root causes +- Checking for regressions after recent deploys or commits +- Prioritizing what to work on next based on real user impact +- Investigating JavaScript errors, rage clicks, or dead clicks +- Analyzing post-launch behavior for a new feature +- Researching a specific user or account's sessions + +## Available tools + +This plugin connects to the LogRocket MCP server with all toolsets enabled (`?toolsets=all`), so you have access to both the high-level natural-language tool and specialized tools: + +- `use_logrocket` — Run a natural-language `query` against LogRocket. Powered by Ask Galileo, which chains the underlying tools internally. Best default for open-ended investigation ("figure out the root cause", "how is this feature used"). +- `find_sessions` — Filter LogRocket sessions by criteria (URL, user email, events, time range, etc.). Use when you need a precise, structured list of sessions. +- `watch_sessions` — Analyze and/or extract detailed information from one or more specific sessions. Use after `find_sessions` (or when you already have session IDs) to get qualitative, step-by-step insight into what a user did. +- `build_metric` — Query LogRocket analytics data to build/return a metric. Use for quantitative questions (counts, trends, conversion, frustration signals). +- `list_organizations` — List the LogRocket organizations you can access. +- `list_projects` — List the LogRocket projects within an organization. + +## Instructions + +1. Pick the right tool for the job: + - For open-ended investigation, start with `use_logrocket` and let Ask Galileo orchestrate. + - For precise filtering or quantitative analysis, use `find_sessions` + `watch_sessions` or `build_metric` directly. +2. This MCP server is connected to the root LogRocket URL (not scoped to a specific org/project). When the target org/project isn't already known from context, call `list_organizations` and `list_projects` first to discover and confirm the right one before querying. +3. For `use_logrocket`, pass a natural language `query` describing what you want to know. To continue the same conversation (e.g. follow-up questions, drilling deeper), pass the `chatID` from the previous response. +4. Be specific about what you want analyzed — mention URLs, click targets, user emails, time ranges, or custom events when possible. +5. Use `watch_sessions` when you need detailed, qualitative insights about user behavior. +6. Present results clearly to the user, including any session URLs, metrics, charts, or actionable insights. + +## Example Prompts + +- **Debug user-reported issues:** "User X reported a problem with checkout. Can you use LogRocket to watch their sessions and figure out the root cause?" +- **Understand feature usage:** "I'm about to work on the search feature — can you use LogRocket to help me understand how it's currently being used?" +- **Triage new issues:** "Can you look at LogRocket for new issues from the past week, try to figure out their root causes, and then suggest which ones I can fix?" +- **Check for regressions:** "Look at all commits from last week, and check LogRocket data to ensure they didn't introduce any regressions." +- **Prioritize your work:** "Use LogRocket to watch sessions and look at issues to figure out what is highest priority that I work on next." + +## Suggested Automations + +Because the MCP server can be called programmatically by AI agents, you can set up powerful automations that continuously leverage LogRocket data: + +- **Research churning customers and low NPS scores:** Automatically pull LogRocket sessions for users who are churning or leaving low NPS scores to understand what went wrong in their experience. +- **Research new support tickets:** Connect to your help desk to automatically research incoming support tickets using LogRocket session data. LogRocket offers out-of-the-box integrations with Zendesk and Intercom to attach session replays directly to tickets. +- **Summarize user behavior for sales and customer success:** Automatically generate summaries of how key accounts are using your product, giving your sales and customer success teams actionable insights. +- **Connect LogRocket with your backend data:** Build a skill that allows your agent to correlate LogRocket frontend data with backend observability tools (e.g. Datadog MCP) for end-to-end debugging. +- **Run daily or weekly reports:** Schedule an agent to look for new issues and UX frustration signals on a recurring basis, so your team is always aware of emerging problems.