You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue and PR MCP tools ignore a project's tracked repositories: link_issue, create_issue and pull_request_read fail when the project root has no remote #45382
In a multi-repository project, the agent-facing issue and pull request MCP tools refuse every GitHub repository that a tracked folder holds:
link_issue with url: https://github.com/<owner>/<repo>/issues/<n> (and with an explicit projectId) fails with:
Issue operation resolveUrl failed: No project in T3 Code is on github.com. Add any github.com project to read its issues.
create_issue with scope: "<owner>/<repo>" fails with:
Project mcp: was not found or has no issue tracker.
pull_request_read with repository and number fails with:
This thread's project has no recognised remote. Pass host or url.
The tool schema accepts neither host nor url. Passing url returns Unknown argument "url".
The project's root folder is a plain folder that groups several GitHub checkouts, and each checkout is listed in the project's trackedFolders. The project's repositoryIdentity is null because the root has no remote. Every tracked folder has an origin on github.com. link_pull_request and watch_pull_request with a full url work on the same thread, so the host is reachable.
The only workaround is a separate single-repository project for each repo. That defeats the purpose of a project that groups the repositories it works on together.
Expected
Issue and PR tools should resolve a repository from any of the project's tracked folders (or from the full URL they are given) when the project root has no identity, as link_pull_request already does.
Steps to reproduce
Create a folder that is not a git repository. Put two checkouts of different GitHub repositories, A and B, in it (here they are symlinks into another folder, and are added to trackedFolders explicitly).
Add the folder as a project.
From a thread in that project, call link_issue with an issue URL of repository A, or pull_request_read with repository: "<owner>/A".
Both fail with the errors above.
Related: #40397 (composer PR picker, same root cause: only activeProject.repositoryIdentity is consulted), #40350 (review guides in tracked repositories).
Version
0.1.14-nightly.20261128.5399 (Desktop, local server), macOS 27.2.1 arm64
Activity