Local server for Visual Studio 2022 that gives AI agents selective access to extra project folders and files.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add filesystem -- uvx vs-filesystem-mcp-server~/.codex/config.toml
[mcp_servers.filesystem]
command = "uvx"
args = ["vs-filesystem-mcp-server"]
# codex mcp add filesystem -- uvx vs-filesystem-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "uvx",
"args": [
"vs-filesystem-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"filesystem": {
"type": "stdio",
"command": "uvx",
"args": [
"vs-filesystem-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"filesystem": {
"command": "uvx",
"args": [
"vs-filesystem-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"filesystem": {
"command": "uvx",
"args": [
"vs-filesystem-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "uvx",
"args": [
"vs-filesystem-mcp-server"
]
}
}
}