# MainWP MCP for AI Agents AI Agent Connect

> MainWP MCP for WordPress network management. It lets you monitor site health, push updates, and run security scans across your entire WordPress fleet using your AI client. Stop jumping between dozens of dashboards; manage every plugin, theme, and core update from a single chat interface.

## Overview
- **Category:** cloud-infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_XCV6I6oEn95ucetrvwvAHCoc1ZNivkIHUdhl4j35/ai-agent-connect
- **Tags:** wordpress-management, site-monitoring, vulnerability-scanning, plugin-management, network-administration

## Description

WordPress network management becomes much easier when you can do it from a single chat interface. Instead of opening a new tab for every client site to check for updates, you can just ask your agent to pull the latest data. This Connector handles the heavy lifting of querying your network, identifying pending core or plugin updates, and even pushing those upgrades for you. It turns a tedious manual audit into a quick conversation, making it a core part of the Vinkius catalog for anyone tired of repetitive dashboard clicking. You get real-time oversight on everything from plugin inventories to malware scans without ever leaving your workspace. It's about moving from clicking through menus to telling your agent what to do across your entire WordPress fleet.

## Tools

### scan_network_malware
This MainWP tool triggers a malware scan across your entire network. It checks all connected sites for security threats.

### scan_network_vulnerabilities
This MainWP tool initiates a vulnerability scan across your network. It looks for known security holes in your WordPress fleet.

### list_site_plugins
This MainWP tool pulls a list of all plugins on a specific child site. Use it to audit the software running on a single site.

### list_child_sites
This MainWP tool retrieves a list of all WordPress sites connected to your dashboard. It is the first step to seeing your whole network.

### sync_child_sites
This MainWP tool triggers a global synchronization with all child sites. It ensures your agent has the most recent data from every site.

### get_pending_updates_count
This MainWP tool gives you a quick count of all updates waiting across your network. It helps you see the scale of maintenance needed at a glance.

### list_available_updates
This MainWP tool lists every pending core, plugin, and theme update. Use it to see exactly what needs to be patched.

### upgrade_site_resource
This MainWP tool pushes a specific plugin or theme update to a site. You provide the details in a JSON body to execute the upgrade.

## Prompt Examples

**Prompt:** 
```
How many updates do I have?
```

**Response:** 
```
You have 42 pending updates across your 15 sites. Specifically, there are 12 plugin updates and 30 theme updates. Would you like me to list the specific sites that need attention first?
```

**Prompt:** 
```
Scan my network for malware.
```

**Response:** 
```
I've started a malware scan across all 15 connected child sites. This will check your core files and active plugins. I'll let you know as soon as the results are ready.
```

**Prompt:** 
```
List the plugins on the 'Client Shop' site.
```

**Response:** 
```
Here are the plugins currently active on 'Client Shop':

| Plugin Name | Version | Status |
| :--- | :--- | :--- |
| WooCommerce | 8.2 | Active |
| WP Rocket | 4.15 | Active |
| Yoast SEO | 20.8 | Active |

It looks like you have 14 active plugins. Do you want to check if any of these have pending updates?
```

## Capabilities

### List all managed WordPress sites
See every site connected to your network in a single list.

### Get counts of pending updates
Instantly see how many core, plugin, and theme updates are waiting.

### Identify specific updates
Get a detailed list of every specific update pending across your fleet.

### Trigger global site synchronization
Refresh your dashboard data to ensure your agent sees the current site status.

### Run malware and vulnerability scans
Initiate security checks across all connected sites to find threats.

### Execute specific resource upgrades
Push a specific plugin or theme update to a site using a JSON configuration.

### Audit site plugin inventories
Pull a full list of every plugin installed on a specific child site.

## Use Cases

### Security Audit
An agency owner asks for a malware scan on all sites and gets a status report across the entire network.

### Update Sprint
A developer asks to list all pending updates and then pushes them to the top five sites in the fleet.

### Client Onboarding
An administrator checks the plugin list of a new site to ensure it matches the client's requirements.

### Daily Health Check
A manager asks for a summary of pending updates across the entire network every morning to prioritize the day's work.

## Benefits

- Stop manual tab-switching by using `list_child_sites` to see your whole fleet at once.
- Keep sites secure with `scan_network_malware` and `scan_network_vulnerabilities` to catch issues before they are exploited.
- Save hours on maintenance by using `upgrade_site_resource` to push updates to multiple sites simultaneously.
- Get instant visibility into site health with `get_pending_updates_count` to identify high-priority tasks.
- Perform deep audits on any site by using `list_site_plugins` to see exactly what is running on a specific child site.
- Ensure your data is current by using `sync_child_sites` to refresh your dashboard info instantly.

## How It Works

The bottom line is you get a hands-free way to maintain a massive WordPress network from one chat box.

1. Subscribe to the MainWP MCP on Vinkius and grab your credentials.
2. Provide your MainWP Dashboard URL and Bearer Token to your AI client.
3. Run commands to audit your network or push updates instantly.

## Frequently Asked Questions

**Can MainWP MCP manage more than one WordPress site?**
Yes, it is designed for networks. You can see all child sites, check for updates across the whole fleet, and run scans on every site connected to your MainWP dashboard.

**Does MainWP MCP handle security scans?**
Yes, it can trigger both malware and vulnerability scans across your entire network. This helps you find issues in plugins and themes before they become problems.

**How do I update plugins using MainWP MCP?**
You can ask your agent to push specific updates. It uses the MainWP API to execute upgrades for plugins or themes on your child sites.

**Can I see which sites are out of sync?**
You can trigger a global sync to refresh your dashboard data. This ensures your agent has the most current data on site status and pending updates.

**Is MainWP MCP good for large agencies?**
It is built for that exact purpose. Agency owners can monitor client site health and audit plugin inventories across hundreds of sites without manual logins.

**What information can I get about my child sites?**
You can list all sites, see their real-time status, check update counts, and even pull a full inventory of plugins for any specific site.

**Why is the API returning a 404 error?**
You must enable 'Pretty Permalinks' in your WordPress Dashboard (Settings > Permalinks). The REST API will not function with the 'Plain' setting.

**How do I find my API Token?**
In your MainWP Dashboard, navigate to Settings > REST API and create a new API Key with 'Write' permissions. Your token is encrypted at rest and injected securely at runtime.

**Can I update plugins across all sites?**
Yes, the `upgrade_site_resource` tool can target specific resources across the entire network by providing the necessary parameters in the JSON body.