Skip to content

Intercept http calls of remote MCP Transportation to manage OAuth #135

@ardaguclu

Description

@ardaguclu

In order to be oauth compatible, MCP Server needs to intercept all http calls and;

  • returns 401 with correct header if header does not contain any bearer token
  • serves its own endpoint /.well-known/oauth-protected-resource that MCP clients can discover oauth authorization server.

I'm not sure https://github.com/mark3labs/mcp-go provides a way for these 2 requirements. If it does, that is good. If not, we'll need to find a way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions