Skip to main content

mcs-driver-filesystem

Filesystem driver for the Model Context Standard (MCS).

Provides list_directory, read_file, and write_file tools. The actual I/O is delegated to a pluggable adapter, making the same driver work with local disk, SMB shares, or any future backend (S3, SFTP, ...).

Installation

pip install mcs-driver-filesystem

Quick start

from mcs.driver.filesystem import FilesystemToolDriver

# Local filesystem (default)
td = FilesystemToolDriver(adapter="localfs", base_dir="/data")

# SMB share
td = FilesystemToolDriver(adapter="smb", server="nas", share="docs",
                           username="user", password="pass")

Adapter protocol

The driver defines a FilesystemPort typing protocol. Any object that implements list_dir, read_text, write_text, list_files, read_raw, and exists satisfies the contract -- no inheritance required.

License

Apache-2.0

Metadata

Release files for mcs-driver-filesystem 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcs-driver-filesystem 0.2.4
File Size Uploaded Provenance Actions
mcs_driver_filesystem-0.2.4.tar.gz 8.5 kB Without provenance Details for mcs_driver_filesystem-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcs-driver-filesystem 0.2.4
File Interpreter ABI Platform Actions
mcs_driver_filesystem-0.2.4-py3-none-any.whl Python 3 none any Details for mcs_driver_filesystem-0.2.4-py3-none-any.whl

Total release size: 18.1 kB

Release files / mcs_driver_filesystem-0.2.4.tar.gz

Download URL mcs_driver_filesystem-0.2.4.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8dba28af21ad5a59942f5e59d83088ef95e6f4e9475032654965d06952d151d1
BLAKE2b-256 checksum
How to use checksums
9940a57ef352bb32d609df7b794dde6c12e47ff9318a2d75aede08c917fe7e99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / mcs_driver_filesystem-0.2.4-py3-none-any.whl

Download URL mcs_driver_filesystem-0.2.4-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bb241ec25daa7fbc28ce62bea4cb1e189b4f575e8832e71988f3d68028d3f0c
BLAKE2b-256 checksum
How to use checksums
d052c5f0e2cd0beb79281edbf0491f22e74d8a145094db0f1e45a34ccba827bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for mcs-driver-filesystem 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page