Description
Describe the bug
When using the MCP Remote Server and trying to browse for a Pull Request, the path: File or directory path (string, optional) is meant to be optional, but if not filled, the prNumber is placed instead, failing to browse.
Reference template
Template: repo://{owner}/{repo}/refs/pull/{prNumber}/head/contents{/path*}
Parameters:
owner: Repository owner (string, required)
repo: Repository name (string, required)
prNumber: Pull request number (string, required)
path: File or directory path (string, optional)
Affected version
Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output below
Does not apply - using remote instead https://api.githubcopilot.com/mcp/
Steps to reproduce the behavior
mcp.mov
Expected vs actual behavior
Browse PR resource repo://octodemo/copilot_agent_mode-refactored-waddle/refs/pull/2 and not add additional content after