Skip to main content
Glama

ClamAV MCP

by a2amarket

ClamAV MCP

Simple ClamAV MCP that allows scanning files for viruses using the ClamAV engine.

Cursor ClamAV Integration

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

  1. Download the ClamAV installer from ClamAV's official website
  2. Run the installer and follow the setup wizard
  3. 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 scan
    • filename: Name of the file to use in the scan
  • Returns:
    • success: Boolean indicating if the scan was successful
    • result: Raw output from clamscan command
    • error: Error message if the scan failed
-
security - not tested
-
license - not tested
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A server that enables scanning files for viruses using the ClamAV engine, providing a simple integration with Cursor IDE via SSE connections.

  1. Requirements
    1. Ubuntu/Debian
    2. Windows
    3. macOS
  2. Usage
    1. Cursor Configuration
      1. API
        1. scan_file

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A MCP server for querying the VirusTotal API. This server provides tools for scanning URLs, analyzing file hashes, and retrieving IP address reports.
        Last updated -
        7
        44
        17
        TypeScript
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        Server that enhances the capabilities of the Cline coding agent. It provides intelligent code suggestions, reduces hallucinations, and documents the knowledge base by leveraging your project's documentation and detecting the technologies used in your codebase.
        Last updated -
        10
        JavaScript
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol (MCP) server for Cursor IDE that simplifies the installation and configuration of other MCP servers.
        Last updated -
        882
        23
        JavaScript
        MIT License
        • Apple
        • Linux
      • -
        security
        -
        license
        -
        quality
        A Python-based local indexing server that creates semantic search capabilities for codebases using ChromaDB, allowing Cursor IDE to perform vector searches on your code without sending data to external services.
        Last updated -
        5
        Python

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/a2amarket/mcp-clamav'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server