Skip to main content

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

License

Apache-2.0

Metadata

Release files for mcs-adapter-smb 0.1.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-smb 0.1.0
File Size Uploaded
mcs_adapter_smb-0.1.0.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcs-adapter-smb 0.1.0
File Interpreter ABI Platform
mcs_adapter_smb-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / mcs_adapter_smb-0.1.0.tar.gz

Download URL mcs_adapter_smb-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0fafb2a85c033d693bac45eb2a81fe784da48a59950c6d7ded61c9937b92e452
BLAKE2b-256 checksum
How to use checksums
2b6c52661d7c1b361c5e0b493ce7f407361cbdcdcbfd405b9769074d1060c922
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_smb-0.1.0-py3-none-any.whl

Download URL mcs_adapter_smb-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e6234008724f716f2c19baf32ee5f979ec59f646013222d40ca8022b5d7eafb
BLAKE2b-256 checksum
How to use checksums
46fa084973653091bf3492bff9e5b5da7acae68cb26b211ceb4e7a8c36d9fdd9
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.1.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