Scan files for viruses efficiently using a Model Context Protocol server integrated with the ClamAV engine, offering base64 file scanning and detailed results via an SSE API endpoint.
Unlock the full potential of ClamAV MCP through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
Simple ClamAV MCP that allows scanning files for viruses using the ClamAV engine.
!Cursor ClamAV Integration
This project requires ClamAV to be installed on your system. Here's how to install it:
sudo apt-get update sudo apt-get install clamav clamav-daemon
brew install clamav
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.
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.
The MCP provides a single endpoint:
base64_data
: Base64 encoded string of the file to scanfilename
: Name of the file to use in the scansuccess
: Boolean indicating if the scan was successfulresult
: Raw output from clamscan commanderror
: Error message if the scan failedDiscover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!