Skip to main content
Glama

write_file

Save or update file content by specifying the file path and text, enabling AI agents to interact with VS Code via the Code MCP Server.

Instructions

Write content to a file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesContent to write to the file
pathYesPath to the file to write

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