Cursor plugin specification and official plugins
TypeScript
feat(statsig): add Statsig third-party MCP plugin
Cursor Agent0fbd4a959b62
diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.jsonindex 98137ca8..ed6afb06 100644--- a/.cursor-plugin/marketplace.json+++ b/.cursor-plugin/marketplace.json@@ -407,6 +407,11 @@"name": "google-cloud-bigquery","source": "third_party/google-cloud-bigquery","description": "Explore datasets and tables and run SQL queries."+ },+ {+ "name": "statsig",+ "source": "third_party/statsig",+ "description": "Inspect and manage feature gates, experiments, dynamic configs, and metrics."}]}diff --git a/README.md b/README.mdindex 75c92cf5..21772a15 100644--- a/README.md+++ b/README.md@@ -82,6 +82,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc| `daloopa` | [Daloopa](third_party/daloopa/) | Cursor | Integrations | Pull source-linked fundamentals, KPIs, filings, and prices. || `excalidraw` | [Excalidraw](third_party/excalidraw/) | Cursor | Integrations | Draw and export hand-drawn diagrams from chat. || `google-cloud-bigquery` | [Google Cloud BigQuery](third_party/google-cloud-bigquery/) | Cursor | Integrations | Explore datasets and tables and run SQL queries. |+| `statsig` | [Statsig](third_party/statsig/) | Cursor | Integrations | Inspect and manage feature gates, experiments, dynamic configs, and metrics. |Author values match each plugin’s `plugin.json` `author.name` (Cursor lists `[email protected]` in the manifest).## Repository structurediff --git a/third_party/statsig/.cursor-plugin/plugin.json b/third_party/statsig/.cursor-plugin/plugin.jsonnew file mode 100644index 00000000..d0b20df4--- /dev/null+++ b/third_party/statsig/.cursor-plugin/plugin.json@@ -0,0 +1,35 @@+{+ "name": "statsig",+ "displayName": "Statsig",+ "version": "1.0.0",+ "minClientVersions": {+ "cursor": "3.13.0"+ },+ "description": "Inspect and manage feature gates, experiments, dynamic configs, and metrics.",+ "author": {+ "name": "Cursor",+ "email": "[email protected]"+ },+ "homepage": "https://docs.statsig.com/integrations/mcp/cursor",+ "repository": "https://github.com/cursor/plugins",+ "license": "MIT",+ "logo": "assets/logo.png",+ "keywords": [+ "statsig",+ "feature flags",+ "feature gates",+ "experiments",+ "a/b testing",+ "dynamic configs",+ "metrics",+ "mcp"+ ],+ "category": "integrations",+ "tags": [+ "statsig",+ "feature-flags",+ "experimentation",+ "mcp"+ ],+ "mcpServers": "./mcp.json"+}diff --git a/third_party/statsig/CHANGELOG.md b/third_party/statsig/CHANGELOG.mdnew file mode 100644index 00000000..bb8b8f45--- /dev/null+++ b/third_party/statsig/CHANGELOG.md@@ -0,0 +1,9 @@+# Changelog++All notable changes to this plugin will be documented here.++## 1.0.0 — initial release++- Added the `statsig` MCP server pointing at Statsig's hosted Streamable HTTP endpoint (`https://api.statsig.com/v1/mcp`).+- Auth uses OAuth with Statsig user login — no Console API key or client ID to configure.+- Logo: Statsig's official mark, from the `statsig-io` GitHub organization.diff --git a/third_party/statsig/LICENSE b/third_party/statsig/LICENSEnew file mode 100644index 00000000..ca2bba77--- /dev/null+++ b/third_party/statsig/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 Cursor++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/third_party/statsig/README.md b/third_party/statsig/README.mdnew file mode 100644index 00000000..9182c4c4--- /dev/null+++ b/third_party/statsig/README.md@@ -0,0 +1,65 @@+# Statsig++Cursor plugin that connects agents to [Statsig](https://www.statsig.com) through Statsig's official remote [Model Context Protocol](https://modelcontextprotocol.io/) server.++List and inspect feature gates, experiments, dynamic configs, and metrics in the signed-in Statsig project, pull gate and experiment results, and (with write permissions) create or update gates, experiments, and configs from chat.++Official Cursor setup: https://docs.statsig.com/integrations/mcp/cursor++## Install++1. Open **Cursor Settings → Plugins**.+2. Search for **Statsig**.+3. Click **Install**, then complete the Statsig sign-in prompt.++Or run `/add-plugin statsig` in chat.++## MCP++```json+{+ "mcpServers": {+ "statsig": {+ "type": "http",+ "url": "https://api.statsig.com/v1/mcp"+ }+ }+}+```++Auth is OAuth against Statsig. Cursor prompts for Statsig user login when the plugin connects — there is no API key or client ID to configure.++## Before you connect++You need a Statsig account with access to a project. Statsig's MCP OAuth issues a **Personal Console API Key** scoped to your role, so your Statsig org owner must have enabled Personal Console API Key creation for your role under organization settings. If sign-in fails, ask your org owner to enable it.++## What agents can do++| Category | Capabilities |+| --- | --- |+| Gates (feature flags) | List gates with type filters (for example stale or permanent), get full gate configuration, pull gate results, view version history, and create or replace gates |+| Experiments | List experiments by status, creator, or tag; get experiment details; pull overall and dimension results with CUPED and confidence options; view version history; start code cleanup; create or replace experiments |+| Dynamic configs | List configs, get targeting rules and return values, and create or replace configs |+| Metrics | List metrics and metric sources and read metric definitions |++The hosted runtime is the source of truth for tool names and schemas.++## Notes++- Tool calls run as the Statsig user who authorizes the connection and cannot exceed that user's role permissions. Read-only roles can use every read tool; write tools require a role with write access.+- `Update_*_Entirely` tools replace the whole entity — any field left out is removed. Read the entity first and confirm before writing.+- Statsig also documents an API-key setup that runs `npx mcp-remote` locally with a `statsig-api-key` header. This plugin intentionally packages only the OAuth Streamable HTTP endpoint and does not wrap a local stdio server.+- Revoke access at any time by deleting the Personal Console API Key from your Statsig project's API keys page.++## Docs++- Statsig MCP in Cursor: https://docs.statsig.com/integrations/mcp/cursor+- Statsig MCP overview and tool list: https://docs.statsig.com/integrations/mcp/overview+- Personal Console API Keys: https://docs.statsig.com/access-management/api-keys+- Server URL: https://api.statsig.com/v1/mcp++Logo is Statsig's official mark, from the `statsig-io` GitHub organization.++## License++MITdiff --git a/third_party/statsig/assets/logo.png b/third_party/statsig/assets/logo.pngnew file mode 100644index 00000000..ffed8d2aBinary files /dev/null and b/third_party/statsig/assets/logo.png differdiff --git a/third_party/statsig/mcp.json b/third_party/statsig/mcp.jsonnew file mode 100644index 00000000..368a7b14--- /dev/null+++ b/third_party/statsig/mcp.json@@ -0,0 +1,8 @@+{+ "mcpServers": {+ "statsig": {+ "type": "http",+ "url": "https://api.statsig.com/v1/mcp"+ }+ }+}