Skip to main content
Glama

Local Project Sync

by Cytrogen

read_file_content

Retrieve content from specified files in local code repositories by providing a prefixed file path, enabling direct access for analysis or integration in AI workflows.

Instructions

读取项目内指定文件的内容,文件路径必须包含前缀,例如 '[backend/src]/main.ts'

Input Schema

NameRequiredDescriptionDefault
filePathYes带前缀的完整文件路径, e.g., '[backend/src]/main.ts'

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "filePath": { "description": "带前缀的完整文件路径, e.g., '[backend/src]/main.ts'", "type": "string" } }, "required": [ "filePath" ], "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/Cytrogen/local-project-sync'

If you have feedback or need assistance with the MCP directory API, please join our Discord server