Metadata-Version: 2.4
Name: mcp-smbmap
Version: 0.1.2
Summary: MCP server exposing smbmap SMB enumeration functionality
Project-URL: Homepage, https://github.com/daedalus/mcp-smbmap
Project-URL: Repository, https://github.com/daedalus/mcp-smbmap
Project-URL: Issues, https://github.com/daedalus/mcp-smbmap/issues
Author-email: Darío Clavijo <clavijodario@gmail.com>
License: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: impacket
Requires-Dist: smbmap>=1.10.8
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pip-api; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: lint
Requires-Dist: mypy; extra == 'lint'
Requires-Dist: ruff; extra == 'lint'
Provides-Extra: mcp
Requires-Dist: fastmcp; extra == 'mcp'
Provides-Extra: test
Requires-Dist: hypothesis; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-asyncio; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-mock; extra == 'test'
Description-Content-Type: text/markdown

# mcp-smbmap

MCP server exposing smbmap SMB enumeration functionality.

[![PyPI](https://img.shields.io/pypi/v/mcp-smbmap.svg)](https://pypi.org/project/mcp-smbmap/)
[![Python](https://img.shields.io/pypi/pyversions/mcp-smbmap.svg)](https://pypi.org/project/mcp-smbmap/)

## Install

```bash
pip install mcp-smbmap
```

## Usage

```python
from mcp_smbmap import mcp

# Run the MCP server
mcp.run()
```

## MCP Tools

- `connect` - Connect to an SMB host
- `list_shares` - List all shares on the target host
- `list_drives` - List all drives on the target host
- `list_path` - List contents of a share path
- `get_version` - Get OS version of the remote host
- `check_signing` - Check SMB signing status
- `exec_command` - Execute a command on the remote host
- `download_file` - Download a file from the remote system
- `upload_file` - Upload a file to the remote system
- `delete_file` - Delete a remote file
- `check_admin` - Check if user has admin rights
- `disconnect` - Disconnect from an SMB host

## Development

```bash
git clone https://github.com/daedalus/mcp-smbmap.git
cd mcp-smbmap
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/
```

## MCP Name

mcp-name: io.github.daedalus/mcp-smbmap
