Skip to content

[Feature]: MCP OAuth / OpenID Integration #2777

@lstanden

Description

@lstanden

1. Why Do You NEED This Feature?

Many MCP Servers are moving to this OAuth model, which makes it much more user-friendly to connect services.
Claude Code has this out of the box, so having this in place will make it easier for users to migrate.

2. What Is NOT Possible Right Now?

Any MCP which is only available through OAuth is inaccessible.

3. What WILL Be Possible With This Feature?

Trivially connecting Atlassian MCP for Jira/Confluence

Proposed Solution (User Experience)

User should add an MCP using existing methods

  • Forge Code should detect this requires OAuth through one of the two discovery mechanisms described in the spec.
  • Forge code should prompt the user to go through an OAuth flow to authenticate to the MCP server

Alternatives Considered

No response

Feature Category

MCP Integration

Priority/Impact

Critical - Blocking my work

Examples from Other Tools

Cursor, Claude Code, Codex CLI all support OAuth for MCP servers, and have for some time.

Additional Context

Marking this as critical, as I believe there are some MCP servers which are only viable through OAuth because they issue short-lived tokens which must be refreshed using refresh tokens.

Pre-submission Checklist

  • I have searched existing issues and confirmed this is not a duplicate
  • I am willing to submit a PR to implement this feature

Metadata

Metadata

Labels

type: featureBrand new functionality, features, pages, workflows, endpoints, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions