Skip to main content
Glama

Code MCP Server

by block

run_command

Execute shell commands directly within VS Code using the Model Context Protocol. Specify commands, working directories, and environment variables for efficient task automation.

Instructions

Execute a shell command

Input Schema

NameRequiredDescriptionDefault
commandYesCommand to execute
cwdNoWorking directory
envNoEnvironment variables

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command to execute", "type": "string" }, "cwd": { "description": "Working directory", "type": "string" }, "env": { "description": "Environment variables", "type": "object" } }, "required": [ "command" ], "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