Skip to content

Commit f1e1f6f

Browse files
Update GlobalContext.ts
1 parent 7a5843c commit f1e1f6f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

core/util/GlobalContext.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import fs from "node:fs";
22

33
import { ModelRole } from "@continuedev/config-yaml";
4+
import {
5+
OAuthClientInformationFull,
6+
OAuthTokens,
7+
} from "@modelcontextprotocol/sdk/shared/auth.js";
48

59
import { SiteIndexingConfig } from "..";
610
import {
@@ -42,6 +46,13 @@ export type GlobalContextType = {
4246
shownDeprecatedProviderWarnings: {
4347
[providerTitle: string]: boolean;
4448
};
49+
mcpOauthStorage: {
50+
[serverUrl: string]: {
51+
clientInformation?: OAuthClientInformationFull;
52+
tokens?: OAuthTokens;
53+
codeVerifier?: string;
54+
};
55+
};
4556
};
4657

4758
/**

0 commit comments

Comments
 (0)