Skip to content

[FEATURE]: Add MCP OAuth authentication UI to settings #11478

Closed

Description

@aaranmcguire

Feature Request

Problem

Currently, users have no UI-based way to manage OAuth credentials for MCP (Model Context Protocol) servers. Authentication must be done through command-line tools or by manually editing configuration files, which is not user-friendly.

Proposed Solution

Add a dedicated MCP settings tab to the OpenCode settings dialog that allows users to:

  • View all configured MCP servers and their authentication status
  • Authenticate with OAuth-enabled MCP servers via browser flow
  • Re-authenticate existing servers when credentials expire
  • Logout/remove stored OAuth credentials
  • See real-time authentication status updates

Benefits

  • Improved UX: Users can manage MCP server authentication through a visual interface
  • Discoverability: Users can see which servers need authentication
  • Error visibility: Clear error messages when authentication fails
  • Convenience: No need to use CLI commands for OAuth flows

Use Case

When a user adds an MCP server that requires OAuth (e.g., GitHub, Google Drive, Jira), they need an easy way to authenticate and manage those credentials without leaving the application.

Related

  • Related to existing MCP OAuth infrastructure
  • Complements existing command-line OAuth functionality
  • Part of improving overall MCP user experience

Activity

  1. github-actions commented on Jan 31, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Apr 2, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  3. flowluap commented on Jul 13, 2026

    @flowluap

    Up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions