Skip to main content
Glama

run_command

Execute shell commands directly within VS Code using the Code MCP Server, enabling AI agents to manage tasks like setting environment variables or navigating working directories.

Instructions

Execute a shell command

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesCommand to execute
cwdNoWorking directory
envNoEnvironment variables

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