Skip to main content
Glama
5p00kyy

Seafile MCP Server

by 5p00kyy

seafile_read_file

Retrieve file content from Seafile cloud storage, returning text directly for small files or download URLs for larger or binary files.

Instructions

Read a file from Seafile.

For text files within the size limit, returns the file content directly.
For binary files or files exceeding the size limit, returns a download URL.

Args:
    repo_id: The library/repository ID.
    path: The path to the file within the library.

Returns:
    FileContent with either text content or a download URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_idYesLibrary/repository ID
pathYesFile path within the library

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFile name
pathYesFile path in the library
sizeYesFile size in bytes
mtimeYesLast modification timestamp
contentNoText content (if readable)
messageYesStatus message
is_binaryYesWhether the file is binary
truncatedNoWhether content was truncated
download_urlNoTemporary download URL (for binary/large files)

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/5p00kyy/seafile-mcp'

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