github / github/copilot-sdk

No way to configure MCP server roots aka workspace folders.

Open
#1,463 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 11h
Merged PRs (30d)
127

Description

I have a local HTTP MCP server which needs the client to assign file system root folder(s) as per the [MCP specification](https://modelcontextprotocol.io/specification/2025-11-25/client/roots) so the server can write files to the local file system.

The workspace gets added as root fine when using GitHub copilot in VS Code, but with the Copilot SDK I don't see any way to configure the roots that get passed to the server.
The configured copilot workspace folder is not automatically added as root either.

I'm using the SDK from .NET, but couldn't find any mentions of MCP roots in this repo in general.

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.