Skip to content

Using Github MCP with remote url gives 401 / 403 error #18

@IllesAprod

Description

@IllesAprod

I have been trying to setup Github MCP for Relay using the remote address.

I generated a Personal Access Token in Github, and using this config, but I constantly get authorization (401, 403) errors.

        'github' => [
            'url' => env('RELAY_GITHUB_SERVER_URL', 'https://api.githubcopilot.com/mcp/'),
            'api_key' => env('RELAY_GITHUB_SERVER_API_KEY', 'xxx'),
            'timeout' => 30,
            'transport' => \Prism\Relay\Enums\Transport::Http,
        ],

I debugged that the api key is sent to Github, but couldn't figure out the underlying problem yet.

Thanks for the help!

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