Skip to main content
Glama

Code MCP Server

by block

add_allowed_command

Enable AI agents to execute specific commands in VS Code by adding them to the allowed commands list in the Code MCP Server.

Instructions

Add a command to the project's allowed commands list

Input Schema

NameRequiredDescriptionDefault
commandYesCommand to add to allowed list

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command to add to allowed list", "type": "string" } }, "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