1. Conduid
  2. Content
  3. Wp Malware Cleanup MCP
MCP server · Content

Wp Malware Cleanup MCP

MCP server for cleaning malware from WordPress sites via SSH and WP-CLI. Batch operations for 20+ sites.

Unclaimed MIT content
54Fair

Scored 8 hours ago · breakdown

About Wp Malware Cleanup MCP

Wp Malware Cleanup MCP is an MCP server published by vapvarun in the Content category: mCP server for cleaning malware from WordPress sites via SSH and WP-CLI. Batch operations for 20+ sites. Conduid read 62 tools from its source: wp_add_security_htaccess, wp_add_site, wp_audit_user, wp_backup_database, wp_batch_scan, wp_batch_update and 56 more. No package is published for it, so it installs from a source checkout.

The repository has 33 stars and 5 forks, is licensed MIT, and its last commit was on 16 Nov 2026. The latest release is v3.0.0. The release before it was v1.0.0. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include content.

Install

From source
git clone https://github.com/vapvarun/wp-malware-cleanup-mcp

Tools (62)

wp_add_security_htaccessAdd security rules to .htaccess
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_add_siteAdd a site to configuration
ParameterTypeDescription
auth_typestringAuthentication type - "key" (recommended) or "password"
host *stringSSH hostname or IP address
host_groupstringFleet grouping key for sites that share a server / cPanel account. Sites in the same group are checked for cross-site reinfection. Defaults to `host` when omitted (e.g. set the cPanel user or server name to group sites that share one account).
key_pathstringPath to SSH private key (if using key auth, e.g., ~/.ssh/id_rsa)
name *stringFriendly name for this site (e.g., "client-blog"). Use alphanumeric and hyphens only.
notesstringOptional notes about this site
portintegerSSH port (default: 22)
site_urlstringOptional site URL for reference
username *stringSSH username
wp_path *stringFull path to WordPress installation (e.g., /var/www/html)
wp_audit_userDetailed audit of user activity
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
username *stringUsername to audit
wp_backup_databaseCreate database backup
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_batch_scanScan all configured sites
ParameterTypeDescription
passwordstringSSH password (if sites use password auth)
status_filterstringOnly scan sites with this status (e.g., "pending", "infected")
wp_batch_updateUpdate all clean sites
ParameterTypeDescription
confirmbooleanMust be True to run the updates. When False, lists the sites that would be updated.
passwordstringSSH password (if sites use password auth)
status_filterstringOnly update sites with this status (default: "clean")
wp_check_cron_eventsScan cron events for suspicious hooks
ParameterTypeDescription
name *stringName of the site to scan
passwordstringSSH password (if using password auth)
wp_clean_core_injectionsDelete injected core files (also supports `dry_run=True`)
ParameterTypeDescription
confirmbooleanRequired when dry_run=False. When confirm=False and dry_run=False, returns a preview manifest instead of deleting.
dry_runbooleanIf True, report findings without deleting
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_clean_cron_eventsDelete malicious wp-cron events
ParameterTypeDescription
confirmbooleanMust be True to actually delete. When False, returns a preview.
hookstringDelete only this specific hook (all its events). When omitted, every hook flagged suspicious is targeted.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_clean_db_spamRemove spam comments
ParameterTypeDescription
confirmbooleanMust be True to proceed
forcebooleanSkip the backup-required gate (you accept the risk). By default this refuses to run without a recent backup, since comment deletion is irreversible.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_clean_malicious_htaccessQuarantine hostile `.htaccess` / `.user.ini`
ParameterTypeDescription
confirmbooleanMust be True to quarantine. When False, returns a preview.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_clean_sc_backdoorDetect and remove the SC / SCOCV drop-in backdoor family
ParameterTypeDescription
confirmbooleanRequired to execute removal when dry_run=False.
dry_runbooleanIf True (default), only detect and report counts.
name *stringRegistered site name.
passwordstringSSH password (if using password auth).
wp_clean_uploads_phpRemove all PHP files from uploads
ParameterTypeDescription
confirmbooleanMust be True to proceed with cleaning
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_complete_cleanupFull cleanup + hardening (20 destructive steps)
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a cleanup manifest.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_delete_malware_optionsDelete malware markers from wp_options (also supports `dry_run=True`)
ParameterTypeDescription
confirmbooleanRequired when dry_run=False. When confirm=False and dry_run=False, returns a preview manifest.
dry_runbooleanIf True, report findings without deleting
forcebooleanSkip the backup-required gate (you accept the risk). By default deletion refuses to run without a recent backup, since a false-positive option deletion can break a site irreversibly.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_delete_userDelete a WordPress user
ParameterTypeDescription
confirmbooleanMust be True to confirm deletion
delete_contentbooleanIf True, delete all user's content instead of reassigning
forcebooleanSkip the backup gate (you accept the risk). A user + usermeta deletion cannot be automatically restored.
name *stringName of the site
passwordstringSSH password (if using password auth)
reassign_to *stringUsername to reassign content to (use existing legitimate admin)
username *stringUsername to delete
wp_disable_file_editingDisable theme/plugin editor
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_export_sitesExport site configurations
ParameterTypeDescription
output_formatstringFormat for export - "json" or "csv"
wp_find_recent_usersFind users created recently
ParameterTypeDescription
daysintegerNumber of days to look back (default: 30)
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_fix_permissionsSet secure file permissions
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_fleet_statusFleet scorecard across all sites
ParameterTypeDescription
passwordstringSSH password, if sites use password auth and refresh=True.
refreshbooleanWhen True, run a fast quick scan across the fleet first to refresh the data (slower; needs SSH/credentials). When False (default), report from the last stored scan of each site.
status_filterstringOnly show sites with this status (e.g. "infected").
wp_full_hardenComplete hardening in one command
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_generate_case_studyGenerate anonymized case study
ParameterTypeDescription
case_titlestringTitle for the case study
malware_typestringType of malware (e.g., "Hidden Admin Backdoor", "File Manager Shell")
name *stringName of the site to document
passwordstringSSH password (if using password auth)
wp_generate_reportGenerate cleanup report
ParameterTypeDescription
anonymizebooleanAnonymize all identifying information - IPs, emails, domains, paths, SSH keys (default: True)
name *stringName of the site
wp_get_siteGet site information
ParameterTypeDescription
name *stringName of the site
wp_harden_wpconfigAdd security constants to wp-config.php
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_host_group_statusOne account's sites + reinfection check
ParameterTypeDescription
group *stringThe host_group value to inspect (defaults to a site's `host` when no explicit group was set).
wp_incident_reportClient-facing incident report: timeline, IOCs, before/after, clean sign-off
ParameterTypeDescription
anonymizebooleanRedact hostnames/paths/identifiers (default True)
name *stringName of the site
wp_install_security_mu_pluginInstall security MU-plugin
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_list_adminsList all administrator users
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_list_scansList scan tasks
ParameterTypeDescription
site_namestringOptional - filter by site name
wp_list_sitesList all configured sites
ParameterTypeDescription
status_filterstringOptional filter by status (pending, scanning, cleaning, clean, infected, error)
wp_monitor_http_requestsCapture outgoing HTTP requests. Drops a temporary mu-plugin, loads the front page and runs all due cron events, then removes it
ParameterTypeDescription
name *stringName of the site to monitor
passwordstringSSH password (if using password auth)
wp_quarantine_fileMove file to quarantine (recoverable). Preview unless `confirm=True`
ParameterTypeDescription
confirmbooleanMust be True to move the file. When False, returns a preview.
file_path *stringFull path to the file to quarantine (must be inside the site's WordPress directory)
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_read_fileRead the first lines of a file inside the WordPress directory (`allow_outside_wp=True` for elsewhere); wp-config.php credentials are masked
ParameterTypeDescription
allow_outside_wpbooleanSet True to read a file outside the WordPress directory (e.g. a dropper in /tmp or the account's home).
file_path *stringFull path to the file
linesintegerNumber of lines to read (default: 50, max: 2000)
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_regenerate_saltsReplace security salts, invalidate all sessions
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a preview of what will happen.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_reinstall_all_pluginsReinstall all plugins from WordPress.org
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a preview of affected plugins.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_reinstall_all_themesReinstall all themes from WordPress.org
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a preview of affected themes.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_reinstall_coreOverwrite wp-admin/, wp-includes/, root PHP files
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a preview of what will happen.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_reinstall_pluginReinstall a single plugin from repo
ParameterTypeDescription
confirmbooleanMust be True to actually perform the reinstall. When False returns a preview manifest.
name *stringName of the site
passwordstringSSH password (if using password auth)
plugin_slug *stringPlugin slug (e.g., "akismet", "wordfence")
wp_remove_mu_pluginQuarantine an mu-plugin
ParameterTypeDescription
confirmbooleanMust be True to actually quarantine. When False returns a preview manifest.
filename *stringName of the mu-plugin file (e.g., "malware.php")
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_remove_siteRemove site from configuration
ParameterTypeDescription
confirmbooleanMust be True to confirm deletion
name *stringName of the site to remove
wp_reset_passwordsReset all administrator passwords
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a preview of affected users.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_revoke_app_passwordsDelete all application passwords
ParameterTypeDescription
confirmbooleanMust be True to execute. When False, returns a preview of affected users.
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_scanAll malware scans via one tool; `scope=` selects depth (quick/full/deep) or a category (uploads/webshells/themes/cron/wpconfig/…). `full` and `verbose` also run `wp_monitor_http_requests` (see MODERATE)
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if the site uses password auth)
scopestringWhat to scan. One of: Whole-site: "quick" | "full" (default) | "deep" | "verbose" Targeted: "core" | "plugins" | "suspicious-plugins" | "hidden-plugins" | "themes" | "mu-plugins" | "uploads" | "webshells" | "hidden-admins" | "app-passwords" | "malware-patterns" | "recently-modified" | "db" | "snippets"
wp_scan_resultGet background scan results
ParameterTypeDescription
task_id *stringTask ID returned by wp_start_background_scan()
wp_scan_snippetsScan Code Snippets / WPCode entries for backdoors
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_scan_ssh_keysScan the account's authorized_keys for backdoor keys
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_scan_statusCheck background scan status
ParameterTypeDescription
task_id *stringTask ID returned by wp_start_background_scan()
wp_scan_wpconfigScan wp-config.php for injected code
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_start_background_scanStart background scan task
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
scan_typestringType of scan - "quick" (2-3 min) or "deep" (5-10 min)
wp_test_connectionTest SSH and WP-CLI connectivity
ParameterTypeDescription
name *stringName of the site to test
passwordstringSSH password (required if using password auth)
wp_threat_add_signatureAdd malware signature to local DB
ParameterTypeDescription
categorystringCategory - "backdoor", "shell", "obfuscation", "rce", "spam", "miner", etc.
descriptionstringDescription of what this malware does
name *stringUnique name for the signature (e.g., "New Backdoor Variant")
pattern *stringThe pattern to match (regex or string)
pattern_typestringType of pattern - "regex", "string", "hash", or "filename"
severitystringSeverity level - "critical", "high", "medium", or "low"
wp_threat_check_fileCheck file against threat database
ParameterTypeDescription
file_path *stringFull path to the file to check
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_threat_db_statsShow threat database statistics
wp_threat_db_syncSync community threat signatures
wp_threat_exportExport signatures
ParameterTypeDescription
output_dirstringDirectory to save exports (default: ~/.wp-malware-cleanup/exports)
wp_threat_learn_from_cleanupRecord malware hash for future detection
ParameterTypeDescription
descriptionstringDescription of what this malware does
file_path *stringOriginal path of the malicious file
malware_familystringType of malware (backdoor, shell, dropper, etc.)
md5_hash *stringMD5 hash of the file
sha256_hashstringOptional SHA256 hash for additional verification
wp_threat_top_signaturesShow most detected signatures
ParameterTypeDescription
limitintegerNumber of signatures to show (default: 10)
wp_update_allUpdate core, plugins, themes
ParameterTypeDescription
name *stringName of the site
passwordstringSSH password (if using password auth)
wp_update_siteUpdate site configuration
ParameterTypeDescription
auth_typestringNew auth type - "key" or "password" (optional)
hoststringNew SSH hostname (optional)
host_groupstringNew fleet grouping key (optional) - sites sharing a server / cPanel account, for cross-site reinfection checks
key_pathstringNew SSH key path (optional)
name *stringName of the site to update
notesstringNew notes (optional)
portintegerNew SSH port (optional)
site_urlstringNew site URL (optional)
usernamestringNew SSH username (optional)
wp_pathstringNew WordPress path (optional)
wp_versionShow version information

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 6.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • !No dynamic code executionScanned 37 source files and found 5 calls to eval or shell execution, in tools/misc.py:322 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
None found in the source
Starts other programs
7 callsutils/ssh.py:185, utils/ssh.py:199, utils/ssh.py:271
Outbound network calls
2 callscore/integrity.py:77, threat_feeds_v2.py:173
Writes or deletes files
19 callscore/reports.py:325, core/safety.py:43, core/scan_store.py:96
Lockfile
uv.lock

Pattern matches on the source text of 37 files: places to read, not proof of what the code does at run time.

Releases

v3.0.0v3.0.0
v1.0.0v1.0.0

README

The repository's README runs to about 6.3K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Wp Malware Cleanup MCP

How do I install Wp Malware Cleanup MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Wp Malware Cleanup MCP safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 37 source files found that it starts other programs (7 calls), makes outbound network calls (2 calls) and writes or deletes files (19 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Wp Malware Cleanup MCP still maintained?

Yes — the last commit was 16 days ago. The repository has 33 stars and 5 forks and 1 open issues.

What tools does Wp Malware Cleanup MCP provide?

Conduid read 62 tools from the source: wp_add_security_htaccess, wp_add_site, wp_audit_user, wp_backup_database, wp_batch_scan, wp_batch_update, wp_check_cron_events, wp_clean_core_injections and 54 more. 59 of them publish their parameters, listed under Tools above.

What license is Wp Malware Cleanup MCP released under?

The repository declares the MIT license. That applies to the latest release, v3.0.0, as well.