`--add-github-mcp-tool=create_pull_request` leaves the configured endpoint readonly
Open
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
Assessment
This issue has not been assessed yet.