Skip to main content
Glama

Code MCP Server

by block

set_workspace

Specify the active workspace directory for AI agents and assistants interacting with VS Code via the Model Context Protocol (MCP). Input the absolute path to set the workspace.

Instructions

Set the active workspace directory

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to workspace directory

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Absolute path to workspace directory", "type": "string" } }, "required": [ "path" ], "type": "object" }

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