Skip to main content
Glama

Code MCP Server

by block

read_file

Retrieve and display the contents of a specified file by providing its path using the MCP server's integration with VS Code for AI-assisted workflows.

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