ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

WordPress MCP Server

โดย rnagaรุ่น 1.0.9i★ –iรันบนเครื่อง
ชื่อใน registryio.github.rnaga/wp-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

MCP server for WordPress. Manage posts, users, comments, terms, metadata, and settings.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: LOCAL_USERNAME, WP_DB_HOST, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: LOCAL_USERNAME, WP_DB_HOST, WP_DB_PORT, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD, LOCAL_MULTISITE, LOCAL_DEFAULT_BLOG_ID, LOCAL_DEFAULT_SITE_ID, LOCAL_SSL_ENABLED, LOCAL_SSL_CA_FILEPATH, LOCAL_SSL_CERT_FILEPATH, LOCAL_SSL_KEY_FILEPATH

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "wp": {
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp",
        "local",
        "start"
      ],
      "env": {
        "LOCAL_USERNAME": "ใส่ค่าของคุณ",
        "WP_DB_HOST": "ใส่ค่าของคุณ",
        "WP_DB_PORT": "ใส่ค่าของคุณ",
        "WP_DB_NAME": "ใส่ค่าของคุณ",
        "WP_DB_USER": "ใส่ค่าของคุณ",
        "WP_DB_PASSWORD": "ใส่ค่าของคุณ",
        "LOCAL_MULTISITE": "ใส่ค่าของคุณ",
        "LOCAL_DEFAULT_BLOG_ID": "ใส่ค่าของคุณ",
        "LOCAL_DEFAULT_SITE_ID": "ใส่ค่าของคุณ",
        "LOCAL_SSL_ENABLED": "ใส่ค่าของคุณ",
        "LOCAL_SSL_CA_FILEPATH": "ใส่ค่าของคุณ",
        "LOCAL_SSL_CERT_FILEPATH": "ใส่ค่าของคุณ",
        "LOCAL_SSL_KEY_FILEPATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add wp --env LOCAL_USERNAME='ใส่ค่าของคุณ' --env WP_DB_HOST='ใส่ค่าของคุณ' --env WP_DB_PORT='ใส่ค่าของคุณ' --env WP_DB_NAME='ใส่ค่าของคุณ' --env WP_DB_USER='ใส่ค่าของคุณ' --env WP_DB_PASSWORD='ใส่ค่าของคุณ' --env LOCAL_MULTISITE='ใส่ค่าของคุณ' --env LOCAL_DEFAULT_BLOG_ID='ใส่ค่าของคุณ' --env LOCAL_DEFAULT_SITE_ID='ใส่ค่าของคุณ' --env LOCAL_SSL_ENABLED='ใส่ค่าของคุณ' --env LOCAL_SSL_CA_FILEPATH='ใส่ค่าของคุณ' --env LOCAL_SSL_CERT_FILEPATH='ใส่ค่าของคุณ' --env LOCAL_SSL_KEY_FILEPATH='ใส่ค่าของคุณ' -- npx -y @rnaga/wp-mcp local start

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "wp": {
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp",
        "local",
        "start"
      ],
      "env": {
        "LOCAL_USERNAME": "ใส่ค่าของคุณ",
        "WP_DB_HOST": "ใส่ค่าของคุณ",
        "WP_DB_PORT": "ใส่ค่าของคุณ",
        "WP_DB_NAME": "ใส่ค่าของคุณ",
        "WP_DB_USER": "ใส่ค่าของคุณ",
        "WP_DB_PASSWORD": "ใส่ค่าของคุณ",
        "LOCAL_MULTISITE": "ใส่ค่าของคุณ",
        "LOCAL_DEFAULT_BLOG_ID": "ใส่ค่าของคุณ",
        "LOCAL_DEFAULT_SITE_ID": "ใส่ค่าของคุณ",
        "LOCAL_SSL_ENABLED": "ใส่ค่าของคุณ",
        "LOCAL_SSL_CA_FILEPATH": "ใส่ค่าของคุณ",
        "LOCAL_SSL_CERT_FILEPATH": "ใส่ค่าของคุณ",
        "LOCAL_SSL_KEY_FILEPATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "wp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rnaga/wp-mcp",
        "local",
        "start"
      ],
      "env": {
        "LOCAL_USERNAME": "ใส่ค่าของคุณ",
        "WP_DB_HOST": "ใส่ค่าของคุณ",
        "WP_DB_PORT": "ใส่ค่าของคุณ",
        "WP_DB_NAME": "ใส่ค่าของคุณ",
        "WP_DB_USER": "ใส่ค่าของคุณ",
        "WP_DB_PASSWORD": "ใส่ค่าของคุณ",
        "LOCAL_MULTISITE": "ใส่ค่าของคุณ",
        "LOCAL_DEFAULT_BLOG_ID": "ใส่ค่าของคุณ",
        "LOCAL_DEFAULT_SITE_ID": "ใส่ค่าของคุณ",
        "LOCAL_SSL_ENABLED": "ใส่ค่าของคุณ",
        "LOCAL_SSL_CA_FILEPATH": "ใส่ค่าของคุณ",
        "LOCAL_SSL_CERT_FILEPATH": "ใส่ค่าของคุณ",
        "LOCAL_SSL_KEY_FILEPATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • LOCAL_USERNAME จำเป็น env
    WordPress username to assume for capability checks
  • WP_DB_HOST จำเป็น env
    WordPress database host
  • WP_DB_PORT env
    WordPress database port
  • WP_DB_NAME จำเป็น env
    WordPress database name
  • WP_DB_USER จำเป็น env
    WordPress database user
  • WP_DB_PASSWORD ความลับ จำเป็น env
    WordPress database password
  • LOCAL_MULTISITE env
    Enable WordPress multisite mode
  • LOCAL_DEFAULT_BLOG_ID env
    Default blog ID for multisite
  • LOCAL_DEFAULT_SITE_ID env
    Default site ID for multisite
  • LOCAL_SSL_ENABLED env
    Enable SSL for database connection
  • LOCAL_SSL_CA_FILEPATH env
    Path to SSL CA certificate file
  • LOCAL_SSL_CERT_FILEPATH env
    Path to SSL certificate file
  • LOCAL_SSL_KEY_FILEPATH env
    Path to SSL key file

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub rnaga ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32531 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 19% ของอีก 32531 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32531 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

WordPress MCP Server ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: LOCAL_USERNAME, WP_DB_HOST, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.9) เข้า registry 4 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Reelsaw

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

Reelsaw

โดย osbytes

Drive a self-hosted Reelsaw: turn long videos into vertical clips, edit, re-render and export them.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

wp-mcp

@rnaga/wp-mcp is a Model Context Protocol (MCP) server for WordPress that turns your site into an AI-operable surface. By exposing WordPress CRUD primitives to clients like Claude Desktop, an assistant can draft a post on demand, refine it collaboratively, and publish it straight into your database—no trip through wp-admin required.

Here are a few common scenarios this unlocks:

  • Draft, revise, and publish posts directly from MCP clients such as Claude Desktop.
  • Inspect WordPress users, their roles, and capabilities to audit site permissions or generate access reports.

Built on top of @rnaga/wp-node, the server ships with a curated MCP toolset covering posts, users, comments, terms, revisions, metadata, options, and site settings. The MCP server can manage the following database tables/resources:

ResourceWhat you can do
PostsCreate, update, read, or delete posts and their revisions.
CommentsModerate discussion threads or inject generated replies.
UsersOnboard contributors, adjust roles, or disable accounts with native capability checks.
TermsManage categories, tags, and custom taxonomies.
MetadataInspect, create, update, or delete post, user, comment, term, and site meta fields.
Settings & OptionsToggle site-level configuration safely.

You can spin up a STDIO server for direct database access or host a Streamable HTTP MCP server for remote access. For convenience, layer on the CLI proxy whenever your MCP client needs a local bridge to the HTTP server. The proxy behaves like a local MCP server while relaying requests to the HTTP endpoint—perfect for clients that lack OAuth or WordPress Application Password support—so you can fit MCP workflows into existing editorial pipelines without re-implementing WordPress business logic.

The project includes a CLI (wp-mcp) that helps you:

  • configure and launch a local STDIO MCP server that connects straight to your WordPress database;
  • scaffold and initialize an Express-based Streamable HTTP MCP server (with env/TS boilerplate);
  • authenticate against a remote WordPress environment (OAuth or Application Password) and run a JSON-RPC proxy so MCP clients can reach it securely;
  • inspect available MCP primitives and manage the credentials stored under ~/.wp-mcp.

Run this command to list the available CLI commands:

npx @rnaga/wp-mcp -- --help
Usage: <command> <subcommand> [options]

Commands: local Local MCP (stdio) server commands utils Utility commands for configuration, debugging, and MCP inspection http Scaffold a TypeScript project for the MCP streamable HTTP server and related tooling. remote Remote MCP server commands

Together, the server, CLI utilities, and proxy tooling let you CRUD WordPress content, manage users, and sync settings through the MCP standard without re-implementing WordPress logic.

Getting Started

Local STDIO server

Run the STDIO server when you can reach the database directly. The CLI launches an MCP process that assumes a WordPress user locally and exposes your site's tools over STDIO to the MCP client.

flowchart LR

client(["MCP Client (e.g. Claude Desktop)"]) stdio(["Local STDIO MCP Server (wp-mcp CLI)"]) db(["WordPress Database"])

client <--> stdio stdio <--> db

  1. Run the CLI to set up the database connection:
   npx @rnaga/wp-mcp -- local config-set

The CLI prompts you for host, port, database name, user, and password. If your database requires SSL, you can provide CA, cert, and key file paths to secure remote access. Run npx @rnaga/wp-mcp local config anytime to review the saved values.

  1. Configure your MCP client to launch the server. For Claude Desktop, open Settings → Developer → Edit Config and add this to your claude_desktop_config.json:
   {

"mcpServers": { "wp-mcp": { "command": "npx", "args": ["-y", "@rnaga/wp-mcp", "--", "local", "start"], "env": { "LOCAL_USERNAME": "wp-admin" } } } }

Activate the server: Save the config file, then quit and restart your MCP client (for example, Claude Desktop). The WordPress tools will now appear in the MCP indicator at the bottom right of the chat input.

Important: Replace wp-admin with your WordPress username. The server uses this to determine which MCP primitives are available based on the user's WordPress capabilities. For example, administrator roles get full access to all primitives (create, update, delete posts, manage users, etc.), while subscriber roles see only limited tools. This capability-based filtering prevents accidental execution of privileged operations. To see which primitives are available and the required capabilities and roles for each:

   npx @rnaga/wp-mcp -- utils list-prims

This displays a table showing the primitive name, title, description, required capabilities, and allowed roles.

Optional: Provide a WordPress config manifest if your project defines one (e.g., src/_wp/config/wp.json). Set LOCAL_CONFIG in the env object above to the absolute path of your config file. If you don't have a custom config, omit this environment variable entirely. For the configuration manifest schema, see https://rnaga.github.io/wp-node/docs/getting-started/configuration.

Testing the MCP server:

Use the MCP Inspector for interactive testing and debugging:

   npx -y @modelcontextprotocol/inspector npx @rnaga/wp-mcp local start -u wp-admin

This opens a visual interface at http://localhost:6274 where you can explore available tools, test them with different arguments, and inspect server responses.

Note: Inspector persists its "Environment Variables" panel in browser storage across sessions. If you previously added a PATH entry there while troubleshooting, delete it manually in the UI — a stale value can shadow the environment the server actually needs and won't be overridden by CLI flags or script changes.

Usage reference for CLI flags and environment variables:

Environment variableCLI flagPurposeWhen it is read
LOCAL_USERNAME--username / -u WordPress username to assumeUsed by local start to pick the WP user whose roles and capabilities determine available MCP primitives.
LOCAL_CONFIG--file / -f WordPress config manifest locationUsed by local start to point the init hook at a custom WP config JSON.
DB_ENVIRONMENT, WP_DB_HOST, WP_DB_PORT, WP_DB_NAME, WP_DB_USER, WP_DB_PASSWORD, LOCAL_MULTISITE, LOCAL_DEFAULT_BLOG_ID, LOCAL_DEFAULT_SITE_ID, LOCAL_SSL_ENABLED, LOCAL_SSL_CA_FILEPATH, LOCAL_SSL_CERT_FILEPATH, LOCAL_SSL_KEY_FILEPATH_(wizard via local config-set)_Local database connection detailsLoaded by the secret store before local start; populate them with local config-set or export them ahead of time.
MCP Streamable HTTP server

Use the HTTP server when you need to expose MCP over the Internet or let remote teammates connect. The CLI scaffolds an Express app (see src/http/express/index.ts) that exposes both the MCP streaming HTTP transport and the SSE fallback while reusing the same primitive registry.

  1. Scaffold a project
   npx @rnaga/wp-mcp -- http init

The wizard prompts for database connection details, creates a wp-node project, and seeds Express boilerplate plus TypeScript configuration for the HTTP transport.

Resulting layout:

   ├── _wp

│   ├── config │   │   ├── index.d.ts │   │   └── wp.json │   └── settings.ts ├── .env ├── .gitignore ├── index.ts ├── package-lock.json ├── package.json ├── src │   └── index.ts └── tsconfig.json

Populate .env with the values requested by the scaffolder and any HTTP-specific environment variables listed later in this document.

  1. Run the server in development
   npm run dev

This relies on ts-node so you can iterate without precompiling.

  1. Build and run in production
   npm run build

npm run start

The compiled output boots the same Express server that createHttpServer wires together in the library.

Connect via the Remote Proxy CLI

Use the remote proxy when your MCP client only understands STDIO or lacks full OAuth support but the WordPress environment is available over HTTP. The proxy keeps credentials in ~/.wp-mcp and relays MCP requests to the remote server with the right Authorization header.

flowchart LR

client(["MCP Client (e.g. Claude Desktop)"]) proxy(["CLI Proxy (handles OAuth or WP Application Password)"]) server(["MCP HTTP Server (Express instance in this repo)"]) db(["WordPress Database"])

client <--> proxy proxy <--> server server <--> db

  1. Authenticate once

Begin by enrolling the proxy with either WordPress Application Password credentials or an OAuth device flow so it can sign requests on behalf of your MCP client.

  • WordPress Application Password

sh npx @rnaga/wp-mcp -- remote login password

Provide the authorization URL for your server (for example http://localhost:3000), then enter the WordPress username and application password. The credentials are stored securely so future proxy runs can supply HTTP Basic auth automatically (WordPress Application Passwords are transmitted via the Basic scheme.)

Inspect the stored values with:

sh npx @rnaga/wp-mcp -- remote config

  • OAuth device flow

sh npx @rnaga/wp-mcp -- remote login oauth

The CLI calls /auth/device/start, prints the user code, and opens the verification URL in your browser. After you complete the device flow, the access and refresh tokens are written to ~/.wp-mcp. You can re-run remote config or remote revoke-token as needed.

Use `npx @rnaga/wp-mcp -- remot

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx