MCP server exposing smbmap SMB enumeration functionality
MCP server exposing smbmap SMB enumeration functionality.
pip install mcp-smbmap
from mcp_smbmap import mcp
# Run the MCP server
mcp.run()
connect - Connect to an SMB hostlist_shares - List all shares on the target hostlist_drives - List all drives on the target hostlist_path - List contents of a share pathget_version - Get OS version of the remote hostcheck_signing - Check SMB signing statusexec_command - Execute a command on the remote hostdownload_file - Download a file from the remote systemupload_file - Upload a file to the remote systemdelete_file - Delete a remote filecheck_admin - Check if user has admin rightsdisconnect - Disconnect from an SMB hostgit 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: io.github.daedalus/mcp-smbmap
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx mcp-smbmapMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-daedalus-mcp-smbmap": {
"command": "uvx",
"args": [
"mcp-smbmap"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcp-smbmappypiio.github.daedalus/mcp-smbmap works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.