:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(phai): grant full read/write in MCP API key preset (#63513)
Georgiy Tarasovb3f17173e253
diff --git a/frontend/src/lib/scopes.tsx b/frontend/src/lib/scopes.tsxindex ed2e9bc8f744..4c4508cf1d78 100644--- a/frontend/src/lib/scopes.tsx+++ b/frontend/src/lib/scopes.tsx@@ -192,10 +192,8 @@ export const API_KEY_SCOPE_PRESETS: {{value: 'mcp_server',label: 'MCP Server',- scopes: API_SCOPES.filter(({ key }) => !key.includes('llm_gateway')).map(({ key }) =>- ['feature_flag', 'insight', 'dashboard', 'survey', 'experiment', 'event_definition'].includes(key)- ? `${key}:write`- : `${key}:read`+ scopes: API_SCOPES.filter(({ key }) => !key.includes('llm_gateway') && !key.includes('file_system')).map(+ ({ key }) => `${key}:write`),access_type: 'all',},