Skip to main content
Glama

Code MCP Server

by block

run_custom_tool

Execute custom tools within VS Code via the Code MCP Server, enabling AI agents to perform project-specific tasks with defined arguments.

Instructions

Execute a custom tool defined in project configuration

Input Schema

NameRequiredDescriptionDefault
argsNoArguments to pass to the custom tool (replaces {{key}} placeholders)
toolNameYesName of the custom tool to run

Input Schema (JSON Schema)

{ "properties": { "args": { "description": "Arguments to pass to the custom tool (replaces {{key}} placeholders)", "type": "object" }, "toolName": { "description": "Name of the custom tool to run", "type": "string" } }, "required": [ "toolName" ], "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