Skip to main content
Glama

set_workspace

Define the active workspace directory in VS Code using an absolute path. Enables AI agents and assistants to interact with the specified workspace through the Model Context Protocol.

Instructions

Set the active workspace directory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to workspace directory

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/vscode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server