From 445a84c44b63c0364d324cf67dac08ef1af93825 Mon Sep 17 00:00:00 2001 From: Michael Latman Date: Thu, 28 Nov 2024 15:42:56 -0500 Subject: [PATCH] Add a helper for Raygun package with required env var --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/michaellatman/mcp-get?shareId=XXXX-XXXX-XXXX-XXXX). --- src/helpers/index.ts | 10 +++++++++- src/utils/package-management.ts | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/helpers/index.ts b/src/helpers/index.ts index 4c61ad4..b4d8384 100644 --- a/src/helpers/index.ts +++ b/src/helpers/index.ts @@ -48,5 +48,13 @@ export const packageHelpers: PackageHelpers = { required: true } } + }, + '@raygun.io/mcp-server-raygun': { + requiredEnvVars: { + RAYGUN_PAT_TOKEN: { + description: 'Personal access token for Raygun API access', + required: true + } + } } -}; \ No newline at end of file +}; diff --git a/src/utils/package-management.ts b/src/utils/package-management.ts index 63e1ed1..7282f03 100644 --- a/src/utils/package-management.ts +++ b/src/utils/package-management.ts @@ -181,4 +181,4 @@ export async function uninstallPackage(packageName: string): Promise { console.error('Failed to uninstall package:', error); throw error; } -} \ No newline at end of file +}