Skip to content

Commit 742e96e

Browse files
committed
Update Statsig plugin to MCP v3
1 parent c47b128 commit 742e96e

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

‎third_party/statsig/.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "statsig",
33
"displayName": "Statsig",
4-
"version": "1.0.0",
4+
"version": "2.0.0",
55
"minClientVersions": {
66
"cursor": "3.13.0"
77
},

‎third_party/statsig/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this plugin will be documented here.
44

5+
## 2.0.0
6+
7+
- Switch the hosted MCP endpoint to `https://api.statsig.com/v3/mcp`.
8+
- MCP v3 changes tool names and input schemas; use the advertised tool catalog and `discover_tools` for capabilities that are not visible.
9+
- Add upgrade guidance for reconnecting, refreshing the tool catalog, and migrating manually configured connections.
10+
511
## 1.0.0 — initial release
612

713
- Added the `statsig` MCP server pointing at Statsig's hosted Streamable HTTP endpoint (`https://api.statsig.com/v1/mcp`).

‎third_party/statsig/README.md‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,20 @@ Or run `/add-plugin statsig` in chat.
2121
"mcpServers": {
2222
"statsig": {
2323
"type": "http",
24-
"url": "https://api.statsig.com/v1/mcp"
24+
"url": "https://api.statsig.com/v3/mcp"
2525
}
2626
}
2727
}
2828
```
2929

3030
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.
3131

32+
## Upgrading from 1.x
33+
34+
Version 2.0.0 connects to MCP v3, which changes the tool names and input schemas. After updating the plugin, reconnect the Statsig server and start a new chat so the agent loads the current tool catalog. Complete the Statsig sign-in prompt if Cursor requests authorization again.
35+
36+
Existing manually configured MCP connections are not changed by this plugin update. If you also configured Statsig manually, update that connection separately and avoid enabling duplicate Statsig connections. Instructions or automations that hardcode legacy tool names must be updated to the tools advertised by v3.
37+
3238
## Before you connect
3339

3440
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.
@@ -42,12 +48,12 @@ You need a Statsig account with access to a project. Statsig's MCP OAuth issues
4248
| Dynamic configs | List configs, get targeting rules and return values, and create or replace configs |
4349
| Metrics | List metrics and metric sources and read metric definitions |
4450

45-
The hosted runtime is the source of truth for tool names and schemas.
51+
The hosted runtime is the source of truth for tool names and schemas. MCP v3 consolidates related actions into typed tools. Use the tools advertised by the connected server; if a capability is not visible, use `discover_tools` to find the operation and its current input schema.
4652

4753
## Notes
4854

4955
- 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.
50-
- `Update_*_Entirely` tools replace the whole entity — any field left out is removed. Read the entity first and confirm before writing.
56+
- For operations that replace an entity, read the current entity first and preserve fields that should remain unchanged. Confirm the intended change before writing and follow any review or acknowledgement requirements returned by the server.
5157
- 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.
5258
- Revoke access at any time by deleting the Personal Console API Key from your Statsig project's API keys page.
5359

@@ -56,7 +62,7 @@ The hosted runtime is the source of truth for tool names and schemas.
5662
- Statsig MCP in Cursor: https://docs.statsig.com/integrations/mcp/cursor
5763
- Statsig MCP overview and tool list: https://docs.statsig.com/integrations/mcp/overview
5864
- Personal Console API Keys: https://docs.statsig.com/access-management/api-keys
59-
- Server URL: https://api.statsig.com/v1/mcp
65+
- Server URL: https://api.statsig.com/v3/mcp
6066

6167
Logo is Statsig's official mark, from the `statsig-io` GitHub organization.
6268

‎third_party/statsig/mcp.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"mcpServers": {
33
"statsig": {
44
"type": "http",
5-
"url": "https://api.statsig.com/v1/mcp"
5+
"url": "https://api.statsig.com/v3/mcp"
66
}
77
}
88
}

0 commit comments

Comments
 (0)