SMB/CIFS filesystem adapter for the Model Context Standard.
Project description
mcs-adapter-smb
SMB/CIFS filesystem adapter for the Model Context Standard (MCS).
Provides the same adapter interface as mcs-adapter-localfs but operates
on remote SMB/CIFS network shares. Uses smbprotocol (SMB 2/3) internally.
Drop-in replacement for mcs-adapter-localfs in any MCS driver that
delegates file I/O to an adapter.
Installation
pip install mcs-adapter-smb
Quick start
from mcs.adapter.smb import SmbAdapter
adapter = SmbAdapter(
server="fileserver",
share="data",
username="user",
password="secret",
)
content = adapter.read_text("reports/q1.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_smb-0.1.0.tar.gz.
File metadata
- Download URL: mcs_adapter_smb-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fafb2a85c033d693bac45eb2a81fe784da48a59950c6d7ded61c9937b92e452
|
|
| MD5 |
3debe46b5c9b0684768ef43457786027
|
|
| BLAKE2b-256 |
2b6c52661d7c1b361c5e0b493ce7f407361cbdcdcbfd405b9769074d1060c922
|
File details
Details for the file mcs_adapter_smb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcs_adapter_smb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 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 |
9e6234008724f716f2c19baf32ee5f979ec59f646013222d40ca8022b5d7eafb
|
|
| MD5 |
0f2141779fbd522c53244cb5a0f37fc6
|
|
| BLAKE2b-256 |
46fa084973653091bf3492bff9e5b5da7acae68cb26b211ceb4e7a8c36d9fdd9
|