Add OAuth-protected MCP server with generated API client packages

This commit is contained in:
Mike Cao committed 2026-09-03 16:58:47 -07:00
1 parent 26e236c95c
commit 65bf19e067
235 files changed
+33755 -3199

No files matched your search

@@ -9,7 +9,7 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer',
operation: {
operationId: 'deleteReportsReportId',
operationId: 'deleteReport',
summary: 'Delete reports report id',
tags: ['Reports'],
parameters: [
@@ -83,7 +83,7 @@ const operation2 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'getReportsReportId',
operationId: 'getReport',
summary: 'Get reports report id',
tags: ['Reports'],
parameters: [
@@ -245,7 +245,7 @@ const operation3 = defineOperation({
audience: 'public',
auth: 'bearer',
operation: {
operationId: 'postReportsReportId',
operationId: 'updateReport',
summary: 'Create or update reports report id',
tags: ['Reports'],
parameters: [
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsAttribution',
operationId: 'runAttributionReport',
summary: 'Create or update reports attribution',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsBreakdown',
operationId: 'runBreakdownReport',
summary: 'Create or update reports breakdown',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {
+1 -1
View File
@@ -258,7 +258,7 @@ const operation2 = defineOperation({
audience: 'public',
auth: 'bearer',
operation: {
operationId: 'postReports',
operationId: 'createReport',
summary: 'Create or update reports',
tags: ['Reports'],
requestBody: {
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsFunnel',
operationId: 'runFunnelReport',
summary: 'Create or update reports funnel',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {
@@ -9,7 +9,7 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsGoal',
operationId: 'runGoalReport',
summary: 'Create or update reports goal',
tags: ['Reports'],
requestBody: {
@@ -9,7 +9,7 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsHeatmap',
operationId: 'runHeatmapReport',
summary: 'Create or update reports heatmap',
tags: ['Reports'],
requestBody: {
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsJourney',
operationId: 'runJourneyReport',
summary: 'Create or update reports journey',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {
@@ -9,7 +9,7 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsPerformance',
operationId: 'runPerformanceReport',
summary: 'Create or update reports performance',
tags: ['Reports'],
requestBody: {
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsRetention',
operationId: 'runRetentionReport',
summary: 'Create or update reports retention',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsRevenue',
operationId: 'runRevenueReport',
summary: 'Create or update reports revenue',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {
@@ -9,9 +9,10 @@ const operation1 = defineOperation({
audience: 'public',
auth: 'bearer-or-share',
operation: {
operationId: 'postReportsUtm',
operationId: 'runUtmReport',
summary: 'Create or update reports utm',
tags: ['Reports'],
'x-umami-oauth-scope': 'analytics:read',
requestBody: {
required: true,
content: {