Showing the changes to apps/server/src (1 of 13 files). Show all
Unified · Split
| @@ -59,6 +59,7 @@ const mcpSources: McpToolSource[] = [ · 58 unmodified lines | ||
| 59 | 59 | const POSTHOG_API_KEY = process.env["POSTHOG_PERSONAL_API_KEY"]; |
| 60 | 60 | const POSTHOG_PROJECT_ID = process.env["POSTHOG_PROJECT_ID"]; |
| 61 | 61 | const GITHUB_TOKEN = process.env["OPENASSISTANT_GITHUB_TOKEN"]; |
| 62 | +const VERCEL_TOKEN = process.env["VERCEL_TOKEN"]; | |
| 62 | 63 | |
| 63 | 64 | const openApiSources: OpenApiToolSource[] = [ |
| 64 | 65 | ...(POSTHOG_API_KEY ? [{ |
| @@ -76,6 +77,13 @@ const openApiSources: OpenApiToolSource[] = [ · 11 unmodified lines | ||
| 76 | 77 | defaultReadApproval: "auto" as const, |
| 77 | 78 | defaultWriteApproval: "required" as const, |
| 78 | 79 | }] : []), |
| 80 | + ...(VERCEL_TOKEN ? [{ | |
| 81 | + name: "vercel", | |
| 82 | + spec: "https://openapi.vercel.sh/", | |
| 83 | + auth: { type: "bearer" as const, token: VERCEL_TOKEN }, | |
| 84 | + defaultReadApproval: "auto" as const, | |
| 85 | + defaultWriteApproval: "required" as const, | |
| 86 | + }] : []), | |
| 79 | 87 | ]; |
| 80 | 88 | |
| 81 | 89 | // --------------------------------------------------------------------------- |