Skip to content

Commit 39921ee

Browse files
continue[bot]ContinueNate
authored
Make account level MCPs generally available (#8493)
Remove @continue.dev filter for account level MCPs - Made remote sessions (account-level MCPs) generally available to all authenticated users - Removed email domain restriction from shouldEnableRemoteSessions() and listRemoteSessions() in ControlPlaneClient - Removed email domain restriction from getRemoteSessions() in CLI session management Generated with [Continue](https://continue.dev) Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com> Co-authored-by: Continue <noreply@continue.dev> Co-authored-by: Nate <nate@continue.dev>
1 parent d1ba7c9 commit 39921ee

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

core/control-plane/client.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,25 +352,20 @@ export class ControlPlaneClient {
352352

353353
/**
354354
* Check if remote sessions should be enabled based on feature flags
355-
* Requires: PostHog feature flag AND @continue.dev email
356355
*/
357356
public async shouldEnableRemoteSessions(): Promise<boolean> {
358357
// Check if user is signed in
359358
if (!(await this.isSignedIn())) {
360359
return false;
361360
}
362361

363-
// Check if user has @continue.dev email
364362
try {
365363
const sessionInfo = await this.sessionInfoPromise;
366364
if (isOnPremSession(sessionInfo) || !sessionInfo) {
367365
return false;
368366
}
369367

370-
const hubSession = sessionInfo as HubSessionInfo;
371-
const email = hubSession.account?.id;
372-
373-
return email ? email.includes("@continue.dev") : false;
368+
return true;
374369
} catch (e) {
375370
Logger.error(e, {
376371
context: "control_plane_check_remote_sessions_enabled",
@@ -388,16 +383,13 @@ export class ControlPlaneClient {
388383

389384
/**
390385
* Fetch remote agents/sessions from the control plane
391-
* Currently restricted to @continue.dev emails for internal use
392386
*/
393387
public async listRemoteSessions(): Promise<RemoteSessionMetadata[]> {
394388
if (!(await this.isSignedIn())) {
395389
return [];
396390
}
397391

398392
try {
399-
// Note: This endpoint is currently restricted to internal @continue.dev users
400-
// In the future, this may be expanded to support broader remote session access
401393
const resp = await this.requestAndHandleError("agents/devboxes", {
402394
method: "GET",
403395
});

extensions/cli/src/session.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,7 @@ export async function getRemoteSessions(): Promise<ExtendedSessionMetadata[]> {
337337
const authConfig = loadAuthConfig();
338338
const accessToken = getAccessToken(authConfig);
339339

340-
if (
341-
!accessToken ||
342-
!isAuthenticatedConfig(authConfig) ||
343-
!authConfig.userEmail.endsWith("@continue.dev")
344-
) {
340+
if (!accessToken || !isAuthenticatedConfig(authConfig)) {
345341
return [];
346342
}
347343

0 commit comments

Comments
 (0)