Skip to main content
Glama

Code MCP Server

by block

read_file

Retrieve and display file contents by specifying the file path, enabling AI agents to interact with Visual Studio Code via the Code MCP Server.

Instructions

Read the contents of a file

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file to read

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the file to read", "type": "string" } }, "required": [ "path" ], "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