- Explore MCP Servers
- mcp-clamav
Mcp Clamav
What is Mcp Clamav
mcp-clamav is a ClamAV MCP Server designed to scan files for viruses using the ClamAV engine.
Use cases
Use cases include scanning uploaded files on web applications, ensuring the integrity of files in cloud storage, and protecting systems from malicious software.
How to use
To use mcp-clamav, first ensure ClamAV is installed on your system. Then, run the MCP server by executing ‘uv run main.py’. The server will listen for SSE connections on port 8000 by default.
Key features
Key features include the ability to scan files for viruses, a simple API endpoint for file scanning, and compatibility with various operating systems including Ubuntu, Windows, and macOS.
Where to use
mcp-clamav can be used in various fields such as cybersecurity, IT infrastructure, and any environment where file scanning for malware is necessary.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Clamav
mcp-clamav is a ClamAV MCP Server designed to scan files for viruses using the ClamAV engine.
Use cases
Use cases include scanning uploaded files on web applications, ensuring the integrity of files in cloud storage, and protecting systems from malicious software.
How to use
To use mcp-clamav, first ensure ClamAV is installed on your system. Then, run the MCP server by executing ‘uv run main.py’. The server will listen for SSE connections on port 8000 by default.
Key features
Key features include the ability to scan files for viruses, a simple API endpoint for file scanning, and compatibility with various operating systems including Ubuntu, Windows, and macOS.
Where to use
mcp-clamav can be used in various fields such as cybersecurity, IT infrastructure, and any environment where file scanning for malware is necessary.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
ClamAV MCP
Simple ClamAV MCP that allows scanning files for viruses using the ClamAV engine.

Requirements
This project requires ClamAV to be installed on your system. Here’s how to install it:
Ubuntu/Debian
sudo apt-get update
sudo apt-get install clamav clamav-daemon
Windows
- Download the ClamAV installer from ClamAV’s official website
- Run the installer and follow the setup wizard
- Make sure to add ClamAV to your system PATH
macOS
brew install clamav
Usage
To run the MCP server:
uv run mcp run main.py -t sse
The server will start and listen for SSE connections on port 8000 by default.
Cursor Configuration
To use this MCP with Cursor, add the following configuration to your Cursor settings:
{
"mcpServers": {
"ClamAV Server": {
"url": "http://[SERVER_IP]:8000/sse"
}
}
}
This configuration tells Cursor to connect to the ClamAV MCP server.
API
The MCP provides a single endpoint:
scan_file
- Parameters:
base64_data: Base64 encoded string of the file to scanfilename: Name of the file to use in the scan
- Returns:
success: Boolean indicating if the scan was successfulresult: Raw output from clamscan commanderror: Error message if the scan failed
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










