diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 5ff10ceb..be8ff66b 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -397,6 +397,11 @@ "name": "excalidraw", "source": "third_party/excalidraw", "description": "Draw and export hand-drawn diagrams from chat." + }, + { + "name": "statsig", + "source": "third_party/statsig", + "description": "Query and manage feature gates, experiments, dynamic configs, and metrics." } ] } diff --git a/README.md b/README.md index 6cff83a3..ff846be0 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc | `meltwater` | [Meltwater](third_party/meltwater/) | Cursor | Integrations | Search media and social mentions and pull analytics. | | `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. | +| `statsig` | [Statsig](third_party/statsig/) | Cursor | Integrations | Query and manage feature gates, experiments, dynamic configs, and metrics. | Author values match each plugin’s `plugin.json` `author.name` (Cursor lists `plugins@cursor.com` in the manifest). ## Repository structure diff --git a/third_party/statsig/.cursor-plugin/plugin.json b/third_party/statsig/.cursor-plugin/plugin.json new file mode 100644 index 00000000..c769097c --- /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": "Query and manage feature gates, experiments, dynamic configs, and metrics.", + "author": { + "name": "Cursor", + "email": "plugins@cursor.com" + }, + "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", + "ab-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.md new file mode 100644 index 00000000..f283f3d2 --- /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 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/LICENSE new file mode 100644 index 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.md new file mode 100644 index 00000000..282f3bea --- /dev/null +++ b/third_party/statsig/README.md @@ -0,0 +1,65 @@ +# Statsig + +Cursor plugin that connects agents to [Statsig](https://statsig.com) through Statsig's official remote [Model Context Protocol](https://modelcontextprotocol.io/) server. + +Look up feature gates, experiments, dynamic configs, and metrics in the signed-in Statsig project, read experiment results, and create or update configs when your Statsig role allows writes. + +## 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 MCP OAuth only supports **Personal Console API Keys**. Your Statsig org owner must enable Personal Console API Key creation for your role under organization settings before the OAuth sign-in will succeed. +- Read-only Statsig users can use all read tools. Write tools require a role with write permissions on the project. + +## What agents can do + +| Category | Capabilities | +| --- | --- | +| Feature gates | List, inspect, create, and update gates and their rules | +| Experiments | List and inspect experiments, read setup and results, create and update experiments | +| Dynamic configs | List, inspect, create, and update dynamic configs | +| Metrics | Look up metrics and metric definitions used by gates and experiments | +| Project | Inspect the signed-in project's configuration | + +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 project role. +- Statsig hosts the server itself; this plugin does not wrap a local stdio server or `mcp-remote`. +- Statsig also documents an API-key setup via `npx mcp-remote` with a Console API key header. This plugin uses the OAuth setup only. +- Revoke access at any time by deleting the Personal Console API Key from your Statsig account settings. + +## Docs + +- Statsig MCP with Cursor: https://docs.statsig.com/integrations/mcp/cursor +- Statsig MCP overview: https://docs.statsig.com/integrations/mcp/overview +- Server URL: https://api.statsig.com/v1/mcp + +Logo is Statsig's official mark, from the `statsig-io` GitHub organization. + +## License + +MIT diff --git a/third_party/statsig/assets/logo.png b/third_party/statsig/assets/logo.png new file mode 100644 index 00000000..3c2c2003 Binary files /dev/null and b/third_party/statsig/assets/logo.png differ diff --git a/third_party/statsig/mcp.json b/third_party/statsig/mcp.json new file mode 100644 index 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" + } + } +}