Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Videos & KonferenzenTwo Minute Papers: Claude Opus 5.5 AI: A Massive Leap Forward(24.09.2026 um 10:40 Uhr)
Sicherheitslücken (CVE)USN-8805-1: Moodle vulnerability(23.09.2026 um 16:43 Uhr)
Sichere ProgrammierungI thought clipboard sync would be simple. Android had other plans.(24.09.2026 um 11:01 Uhr)
Sichere ProgrammierungAI-assisted genealogy, a follow-up(24.09.2026 um 11:02 Uhr)
Sicherheitslücken (CVE)Smart Contract Vulnerability Surface Analysis: HashKey Exchange(24.09.2026 um 11:02 Uhr)
Sichere ProgrammierungAI Agents Calling Your Existing Backend Without MCP Development(24.09.2026 um 11:06 Uhr)
Videos & KonferenzenTwo Minute Papers: Claude Opus 5.5 AI: A Massive Leap Forward(24.09.2026 um 10:40 Uhr)
Sicherheitslücken (CVE)USN-8805-1: Moodle vulnerability(23.09.2026 um 16:43 Uhr)
Sichere ProgrammierungI thought clipboard sync would be simple. Android had other plans.(24.09.2026 um 11:01 Uhr)
Sichere ProgrammierungAI-assisted genealogy, a follow-up(24.09.2026 um 11:02 Uhr)
Sicherheitslücken (CVE)Smart Contract Vulnerability Surface Analysis: HashKey Exchange(24.09.2026 um 11:02 Uhr)
Sichere ProgrammierungAI Agents Calling Your Existing Backend Without MCP Development(24.09.2026 um 11:06 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

How to Use MCP with WordPress: Step-by-Step

Context This guide shows how to connect an MCP client to WordPress via the MCP Adapter and create content using MCP tools. Prerequisites WordPress 6.9+ MCP Adapter installed and activated MCP client (Cursor, Claude Desktop, VS Code,…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Context

This guide shows how to connect an MCP client to WordPress via the MCP Adapter and create content using MCP tools.



Prerequisites

WordPress 6.9+

MCP Adapter installed and activated

MCP client (Cursor, Claude Desktop, VS Code, etc.)

Application Password for the WordPress admin user (HTTP transport)



Abilities Provider (Required)

MCP Adapter exposes only abilities that are explicitly registered and marked meta.mcp.public=true. That means you need a small abilities provider plugin that registers admin‑only tools such as create-post and update-post.



GitHub → 4wp-mcp-abilities



Important: This is not a production plugin. Treat it as reference code only. You can adapt it inside a theme or a temporary internal plugin, but you must review security, permissions, and data exposure before using it in any real environment.



The repository is intentionally minimal and acts as a reference implementation.



Code is poetry.



What exactly must be enabled




  • Abilities plugin active (admin‑only).

  • Abilities registered on wp_abilities_api_init.

  • Each ability includes meta.mcp.public = true.

  • Admin capability check (recommended: manage_options).

  • Abilities code example (minimal)



// Register on wp_abilities_api_init
wp_register_ability('your-plugin/create-post', [
'label' => 'Create Post',
'description' => 'Create a WordPress post',
'input_schema' => [
'type' => 'object',
'properties' => [
'title' => ['type' => 'string'],
'content' => ['type' => 'string'],
'status' => ['type' => 'string', 'default' => 'draft']
],
'required' => ['title','content']
],
'execute_callback' => function($input){
return wp_insert_post([
'post_title' => $input['title'],
'post_content' => $input['content'],
'post_status' => $input['status'] ?? 'draft'
]);
},
'permission_callback' => function(){
return current_user_can('manage_options');
},
'meta' => [
'mcp' => [
'public' => true,
'type' => 'tool'
]
]
]);





Steps

Step 1: Install and activate MCP Adapter

Command (WP-CLI):



cd "/path/to/wordpress"

wp plugin install mcp-adapter --activate



You can also activate via WP Admin → Plugins → Installed Plugins.



Step 2: Install and activate the Abilities Provider plugin

Install the plugin, then activate it in WP Admin. This is required for content actions to appear as MCP tools.



Step 3: Configure MCP client (HTTP)

Use the MCP WordPress remote proxy to connect over HTTP:




{
"mcpServers": {
"wordpress-local": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
"env": {
"WP_API_URL": "http://your-site.local/wp-json/mcp/mcp-adapter-default-server",
"WP_API_USERNAME": "admin",
"WP_API_PASSWORD": "YOUR_APP_PASSWORD"
}
}
}
}






Step 4: Verify MCP server in your editor

Open View → Command Palette → MCP: Open MCP Settings

Confirm the server is listed and has no errors

Reload the editor

Step 5: List tools and execute an ability

Command (MCP tools/list):





{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}
Command (Execute ability):










{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"mcp-adapter-execute-ability","arguments":{"ability_name":"your-plugin/create-post","parameters":{"title":"Example","content":"Hello from MCP","status":"draft"}}}}






Commands

tools/list — list MCP tools

tools/call — execute a tool



API

Default endpoint: /wp-json/mcp/mcp-adapter-default-server

Transport: HTTP or STDIO

Logic

MCP connects to WordPress

MCP discovers tools (abilities)

MCP executes tools to read/write content

Expected Result

MCP client can list tools

MCP can create or update posts through abilities

FAQ

Q: What should I watch out for?

Sometimes the agent output lands as one big Classic block. Convert it to blocks once, and the content renders correctly.



Q: Can an agent write in blocks?

Yes. Send Gutenberg block markup (<!-- wp:... -->) in the content so WordPress opens it as blocks instead of Classic.



Q: Do I need to write custom code?

Yes. The MCP Adapter only exposes abilities that are explicitly marked meta.mcp.public=true.



Q: Why does WP-CLI fail on Local?

Local uses a site-specific MySQL socket. If WP-CLI cannot connect, pass the socket via WP_CLI_DB_HOST.



Q: Is STDIO safe for production?

STDIO is intended for local development. Use HTTP with Application Passwords for production.



Summary

Install MCP Adapter, activate an abilities provider plugin, configure your MCP client, and use MCP tools to create or update content. Keep abilities admin‑only and expose only what you need.



References

WordPress.com: See Your Site Through AI (MCP)

WordPress MCP Adapter (official repository)

4wp-mcp-abilities (public reference repo)

Automattic on GitHub

Thanks to the Automattic team for making MCP Adapter possible.

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Vulnerability Remediation & Verification
title: Detect Exploitation - How to Use MCP with WordPress: Step-by-Step
id: ea5ea01a-bd67-4a26-8000-3e00c7d0d761
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "How to Use MCP with WordPress:" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich How to Use MCP with WordPress: Step-by-S.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to Use MCP with WordPress: Step-by-Step

Thematisch verwandte Begriffe: with, WordPress, StepbyStep · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97056 | SigNoz versions from v0.98.0 up to (but not including) v0.143.0, when co…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick