github / github/copilot-cli

`--add-github-mcp-tool=create_pull_request` leaves the configured endpoint readonly

Open
#3,052 1 comment 1 reaction 0 assignees View on GitHub
area:configuration area:mcp area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

`--add-github-mcp-tool` argument still makes the `github-mcp-server` pointing to read only endpoint `/mcp/readonly`
Therefore tool is not added.

### Affected version

1.0.39

### Steps to reproduce the behavior

1. Run copilot with --add-github-mcp-tool=create_pull_request
1. Observe in `github-mcp-server` tool is not added
2. Observe URL pointing to read only endpoint `/mcp/readonly`

### Expected behavior

`--add-github-mcp-tool=create_pull_request` or any other write tool changes the endpoint to `/mcp`

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.