Skip to main content

mcs-adapter-localfs

Local filesystem adapter for the Model Context Standard (MCS).

Encapsulates all local file I/O (list_dir, read_text, write_text, ...) behind an adapter interface. Used by drivers like mcs-driver-csv and mcs-driver-filesystem so they never touch pathlib or os directly.

Zero runtime dependencies.

Installation

pip install mcs-adapter-localfs

Quick start

from mcs.adapter.localfs import LocalFsAdapter

adapter = LocalFsAdapter(base_dir="/data")
content = adapter.read_text("report.csv")

Links

License

Apache-2.0

Metadata

Release files for mcs-adapter-localfs 0.2.0

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-adapter-localfs 0.2.0
File Size Uploaded
mcs_adapter_localfs-0.2.0.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcs-adapter-localfs 0.2.0
File Interpreter ABI Platform
mcs_adapter_localfs-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / mcs_adapter_localfs-0.2.0.tar.gz

Download URL mcs_adapter_localfs-0.2.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9b622f8b9c6d12f9c8fd99d2b3f88dfb365f93dbfed2c28192c4f029f7d1c004
BLAKE2b-256 checksum
How to use checksums
bc04d71361a5ccf4d796954e96112e8a10f841f97167b08fbeebf6f2a8183680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / mcs_adapter_localfs-0.2.0-py3-none-any.whl

Download URL mcs_adapter_localfs-0.2.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ef6c99b01ea4df8b727cca7999688191df98a42a37c634af8662d8430f79a1d
BLAKE2b-256 checksum
How to use checksums
175e30043b9693d40224870ced9409753ceac40ac4ec07dd7990bb04821f5c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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