Skip to content

Use OAuth for Authentication to Terraform Cloud #165

@jblaaa-codes

Description

@jblaaa-codes

Use-cases

MCP Servers have been standardizing on the OAuth protocol for authentication. It would be great if the MCP server would follow suite and not require authentication via the TFE Token.

Attempted Solutions

when building from source, we can now reference terraform cloud but it requires a TFE token.

Proposal

Follow the standard OAuth2 to allow the MCP server to access Terraform Cloud without a static token. Ensure use of PDM so VS Code will automatically know how to perform OAuth authentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions