Local filesystem adapter for the Model Context Standard.
Project description
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
- Homepage: https://www.modelcontextstandard.io
- Source: https://github.com/modelcontextstandard/python-sdk
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcs_adapter_localfs-0.2.0.tar.gz.
File metadata
- Download URL: mcs_adapter_localfs-0.2.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b622f8b9c6d12f9c8fd99d2b3f88dfb365f93dbfed2c28192c4f029f7d1c004
|
|
| MD5 |
e7514c64f220bc0256930193a89b106f
|
|
| BLAKE2b-256 |
bc04d71361a5ccf4d796954e96112e8a10f841f97167b08fbeebf6f2a8183680
|
File details
Details for the file mcs_adapter_localfs-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcs_adapter_localfs-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ef6c99b01ea4df8b727cca7999688191df98a42a37c634af8662d8430f79a1d
|
|
| MD5 |
6cb17939d1308eaf6f8a167a6016a6f3
|
|
| BLAKE2b-256 |
175e30043b9693d40224870ced9409753ceac40ac4ec07dd7990bb04821f5c0b
|