Skip to content

IntegrationsCloud Storage

Seafile API integration

Put Seafile in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1000+ apps

01Proxy API

Call the Seafile API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Seafile API. You call us, we call Seafile, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APISeafile

GEThttps://api.truto.one/proxy/files?integrated_account_id=…

  • GET/proxy/directories
  • GET/proxy/libraries
  • GET/proxy/activities

Seafile’s own response, passed back

02MCP server

Seafile tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Seafile tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Seafile
  • Auth tokenCreate
  • Repo api tokensList, Create, Bulk update, Bulk delete
  • Repo infoList
  • FilesList, Create, Bulk update, Bulk delete
  • Download linksList
  • Upload linksList
  • Share linkCreate
  • Metadata recordsList, Bulk update
  • Metadata viewsList, Create, Bulk update
  • DirectoriesList, Create, Bulk delete
  • Search filesList
  • Search repo filesList
  • LibrariesList
  • Account share linksList
  • Account upload linksList
  • Starred itemsList
  • ActivitiesList
  • Library trashList
  • File historyList
Show tool names30 tools, for developers
  • create_a_seafile_auth_tokenCreate a Seafile account token by authenticating with your username and password. Returns: token, openapi, info, tags, servers, components, paths, x-readme, _id. Required: username, password. Two-factor authentication requires the X-SEAFILE-OTP header.
  • list_all_seafile_repo_api_tokensList all repo API tokens for a Seafile library. Returns: repo_id, app_name, generated_by, permission, api_token. Required: repo_id.
  • create_a_seafile_repo_api_tokenGenerate a new repo API token for a Seafile library. Returns: repo_id, app_name, generated_by, permission, api_token, openapi, info, servers, x-readme, components, paths, _id. Required: repo_id, app_name.
  • seafile_repo_api_tokens_bulk_updateUpdate a repo API token's permission in a Seafile library. Returns: repo_id, app_name, generated_by, permission, api_token, openapi, info, servers, x-readme, components, paths, _id. Required: repo_id, app_name, permission.
  • seafile_repo_api_tokens_bulk_deleteDelete a repo API token from a Seafile library. Returns: success, openapi, info, servers, x-readme, components, paths, _id. Required: repo_id, app_name.
  • list_all_seafile_repo_infoGet information about the current Seafile repository accessible via Repo-Token. Returns: repo_id, repo_name, openapi, info, servers, x-readme, components, paths, _id.
  • list_all_seafile_filesGet detailed information about a Seafile file by path. Returns: type, repo_id, parent_dir, obj_name, obj_id, size, mtime, can_preview, can_edit, openapi, info, servers, x-readme, components, paths, _id. Required: path.
  • create_a_seafile_fileCreate, rename, move, copy, or revert a Seafile file by path. Returns the file object (type, repo_id, obj_name, obj_id, size, mtime) or a revert success flag. Required: path, operation. Additional fields depend on operation: dst_dir, commit_id, or newname.
  • seafile_files_bulk_updateLock or unlock a Seafile file by path. Returns: type, repo_id, parent_dir, obj_name, obj_id, size, mtime, can_preview, can_edit, openapi, info, servers, x-readme, components, paths, _id. Required: path, operation.
  • seafile_files_bulk_deleteDelete a Seafile file by path. Returns: success, commit_id, openapi, info, servers, x-readme, components, paths, _id. Required: path.
  • list_all_seafile_download_linksGet a temporary download link for a Seafile file. Returns a string containing the download link. Required: path.
  • list_all_seafile_upload_linksGet the upload link of a Seafile directory. Returns the upload link URL. Required: path.
  • create_a_seafile_share_linkCreate a share link for a library or folder in Seafile. Returns the share link object including token, link, repo_id, and path. Required: path.
  • list_all_seafile_metadata_recordsList metadata records in a Seafile library for a given metadata view. Returns: _creator, _ctime, _file_creator, _file_ctime, _file_details, _file_modifier, _file_mtime, _file_type, _id, _is_dir, _last_modifier, _location, _mtime, _name, _obj_id, _parent_dir, _size, _suffix. Required: view_id.
  • seafile_metadata_records_bulk_updateUpdate existing metadata records in a Seafile library. Returns: success, openapi, info, servers, x-readme, components, paths, _id. Required: records_data.
  • list_all_seafile_metadata_viewsList all Seafile metadata views for the current database. Returns: _id, table_id, name, filters, sorts, groupbys, filter_conjunction, hidden_columns, type, basic_filters. No additional parameters required.
  • create_a_seafile_metadata_viewCreate a new Seafile metadata view in the current database when metadata is enabled. Returns the created view object containing _id, name, table_id, type, filters, sorts, groupbys, filter_conjunction, and hidden_columns. Required: name.
  • seafile_metadata_views_bulk_updateRename or update filters of an existing Seafile metadata view. Returns a success flag. Required: view_id, view_data.
  • list_all_seafile_directoriesList files and folders in a Seafile directory. Returns: type, id, name, mtime, permission, parent_dir, starred. Required: path.
  • create_a_seafile_directoryCreate, rename, or revert a Seafile directory. Returns the folder object including type, repo_id, parent_dir, obj_name, obj_id, and mtime. Required: path.
  • seafile_directories_bulk_deleteDelete a Seafile directory. Returns: success, commit_id, openapi, info, servers, x-readme, components, paths, _id. Required: path.
  • list_all_seafile_search_filesSearch files in Seafile by keyword. Returns search result records from the results array, each containing an id and result-specific attributes. Required: q.
  • list_all_seafile_search_repo_filesSearch files in a Seafile library by keyword. Returns matching file results including file id, name, and path. Required: repo_id, q.
  • list_all_seafile_librariesList Seafile libraries. Returns each library with id and library-specific attributes.
  • list_all_seafile_account_share_linksList Seafile account share links for the authenticated account. Returns each share link's repo_id, repo_name, path, token, link, ctime, expire_date, is_expired, permissions, and view_cnt.
  • list_all_seafile_account_upload_linksGet a Seafile upload link for a directory. Returns the upload link URL as a string. Required: path.
  • list_all_seafile_starred_itemsList starred items in Seafile. Returns the list of starred files and directories with their type, id, name, modification time, and parent directory. No caller-supplied parameters are documented.
  • list_all_seafile_activitiesList Seafile activity events. Returns each event with its id and an attributes object containing event-specific details. Optional: avatar_size.
  • list_all_seafile_library_trashList trashed items in a Seafile library. Returns trashed files and folders with details such as path, name, deleted time, and commit id. Required: repo_id.
  • list_all_seafile_file_historyList the version history of a file in a Seafile repository. Returns a list of commits with commit_id, ctime, creator_name, and email. Required: repo_id, path.

AMCP serverno code

For any MCP client

One URL per connected Seafile account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Seafile tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

One API for Seafile and every other File Storage app. One mapping to go.

The Unified File Storage API gives every File Storage app the same call and the same data shape. Seafile is not mapped to it yet. Map it yourself, or ask us.

Seafileon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified File Storage APIOne mapping to goTo do

Then: one call for every File Storage app

  • Path 1 Self-serve

    Map it yourself

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Get a free sandbox

  • Path 2 We do it

    Ask Truto

    • Tell us the Seafile data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync Seafile data on a schedule. Sent to your webhook.

A sync job reads Seafile records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Seafile endpoint. With the Truto CLI.

Need a Seafile endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Seafile path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Seafile in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Seafile in the product you build. To use Seafile yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Seafile tools in your product

Give the AI in your product access to each customer’s own Seafile account, with one MCP server per connected account.

Get a sandbox with Seafile

Rather talk it through? Book a demo

Elaichi

For your own team

Use Seafile in your own AI

Connect your company’s Seafile once, then ask in the AI you already use, with exactly your own access.

Works in

Seafile on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Seafile.

  1. Offer self-hosted storage as a native destination

    Let your customers in regulated industries (legal, healthcare, research) connect their on-prem or private-cloud Seafile deployments to your SaaS, without you having to host or proxy their sensitive files.

  2. Automate document archiving into customer-controlled libraries

    Push generated invoices, contracts, payroll files, or reports directly into a customer's Seafile library using scoped repo tokens, keeping data inside their compliance boundary while your product handles generation.

  3. Power contract and document workflows with file locking

    For e-signature, review, or external editing products, lock files in Seafile while they're checked out in your app and write back the finalized version, preventing desktop clients from creating conflicting edits.

  4. Enable client portals and deal rooms backed by Seafile

    Use Seafile as the storage layer behind your white-labeled portal, generating upload and share links on demand so files move directly between end users and their library instead of through your servers.

  5. Feed compliance and e-discovery pipelines

    Pull activity logs, file history, and search results from Seafile to build audit trails, then write ML-derived classifications back as structured metadata records for downstream retrieval.

What you can build

Ship these with Truto and Seafile.

  • Native library and folder picker

    Let users browse their Seafile libraries and directories from inside your app using list_all_seafile_libraries and list_all_seafile_directories to select a working location.

  • Scoped repo-token provisioning

    Programmatically issue per-library API tokens with create_a_seafile_repo_api_token so your integration only touches the specific project folder a user authorizes.

  • Direct-to-Seafile upload and download

    Generate temporary upload and download links (list_all_seafile_upload_links, list_all_seafile_download_links) so large files transfer directly between the user and their Seafile server, bypassing your backend.

  • File lock and unlock for external editing

    Use seafile_files_bulk_update to lock files while they're being signed, reviewed, or edited in your product, and release the lock when the workflow completes.

  • Share link generation for collaboration

    Create expiring share links via create_a_seafile_share_link to attach Seafile documents to records in CRMs, deal rooms, or matter management tools without duplicating content.

  • Metadata-driven document status tracking

    Write and update structured metadata records (seafile_metadata_records_bulk_update) and views to tag files with statuses like 'Pending Approval' or 'Signed' that both your app and Seafile users can query.

Security

Your customers’ Seafile data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Seafile account

    Use Truto’s frontend SDK to connect your customer’s Seafile account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Seafile

    Truto’s Proxy API is a 1-to-1 mapping of the Seafile API. You call us, we call Seafile, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Seafile’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Seafile on Truto.

How does authentication work for Seafile through Truto?

Seafile uses token-based auth. Truto handles obtaining an account-level auth token (create_a_seafile_auth_token) from the user's Seafile instance and can additionally issue per-library repo tokens (create_a_seafile_repo_api_token) so your integration operates with the narrowest possible scope.

Can we integrate with self-hosted Seafile deployments, not just Seafile Cloud?

Yes. Seafile is predominantly self-hosted, and integrations built through Truto can target any Seafile server URL the end user provides, which is essential for universities, government tenants, and MSP-hosted clusters.

How should we handle very large file transfers?

Don't proxy them through your backend. Use list_all_seafile_upload_links and list_all_seafile_download_links to obtain direct transfer URLs, letting clients move data straight to and from the Seafile server. This is critical for genomics, engineering, and media workloads.

Can we prevent conflicting edits while a file is checked out in our app?

Yes. seafile_files_bulk_update supports lock and unlock operations, so your product can hold an exclusive lock during signature routing, external editing, or review, and Seafile desktop clients will respect it.

What audit data is available for compliance use cases?

You can pull per-file history via list_all_seafile_file_history and library-wide events via list_all_seafile_activities to reconstruct who changed, viewed, or reverted content, and pair that with list_all_seafile_library_trash for deletion tracking.

Does Seafile support structured metadata we can read and write?

Yes. Seafile exposes metadata records and views tied to files. Through Truto you can list and update records (list_all_seafile_metadata_records, seafile_metadata_records_bulk_update) and manage views (list_all_seafile_metadata_views, create_a_seafile_metadata_view, seafile_metadata_views_bulk_update) to drive status-based workflows.

Seafile

Get Seafile integrated into your app

Sign up free, connect a test Seafile account and make your first call today. No card and no sales call.