home / mcp / clamav mcp server
ClamAV MCP Server to scan files for viruses
Configuration
View docs{
"mcpServers": {
"a2amarket-mcp-clamav": {
"url": "http://[SERVER_IP]:8000/sse"
}
}
}You can run a dedicated MCP server that uses the ClamAV engine to scan files for viruses. This setup lets you send files (as base64) to the server for scanning and receive structured results that indicate success, the raw scan output, and any errors.
To use this ClamAV MCP with an MCP client, connect via Server-Sent Events (SSE) to the MCP endpoint and send files for scanning. You can run the server locally and then point your client at the SSE URL to perform scans. The MCP exposes a simple API to request a scan for a given file and returns structured results that show whether the scan succeeded, the raw clamscan output, and any errors.
Two connection methods are provided in the configuration you can use to integrate with clients:
- Connect your MCP client to the SSE endpoint at the configured URL and stream data for scanning.
Receives a base64-encoded file and a filename, runs a ClamAV scan, and returns a success flag, the raw clamscan output, and any error messages.