wordpress-mcp-server
워드프레스 MCP 서버
WordPress 통합을 위한 MCP(Model Context Protocol) 서버로, Windows, macOS, Linux와 호환됩니다.
개요
이 MCP 서버는 WordPress REST API를 통해 WordPress 사이트와의 상호작용을 지원합니다. JSON-RPC 2.0 프로토콜을 사용하여 게시물을 작성, 검색 및 업데이트하는 도구를 제공합니다.
Related MCP server: wp-cli-mcp
설치
저장소를 복제합니다
종속성 설치:
지엑스피1
프로젝트를 빌드하세요:
npm run build구성
WordPress 자격 증명에 대한 환경 변수를 사용하여 MCP 설정 파일에 서버를 추가합니다.
{
"mcpServers": {
"wordpress": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WORDPRESS_USERNAME": "your-username",
"WORDPRESS_PASSWORD": "your-app-password"
}
}
}
}환경 변수는 다음과 같습니다.
WORDPRESS_SITE_URL: WordPress 사이트 URL
WORDPRESS_USERNAME: WordPress 사용자 이름
WORDPRESS_PASSWORD: WordPress 애플리케이션 비밀번호
환경 변수를 사용하지 않으려면 요청 매개변수에 이러한 자격 증명을 제공할 수도 있습니다.
사용 가능한 방법
게시물 생성
새로운 WordPress 게시물을 만듭니다.
매개변수:
siteUrl: (env에 설정된 경우 선택 사항) WordPress 사이트 URL
사용자 이름: (env에 설정된 경우 선택 사항) WordPress 사용자 이름
비밀번호: (env에 설정된 경우 선택 사항) WordPress 애플리케이션 비밀번호
제목: 게시물 제목
콘텐츠: 게시물 콘텐츠
상태: (선택 사항) '초안' | '게시' | '비공개' (기본값: '초안')
게시물 받기
WordPress 게시물을 검색합니다.
매개변수:
siteUrl: (env에 설정된 경우 선택 사항) WordPress 사이트 URL
사용자 이름: (env에 설정된 경우 선택 사항) WordPress 사용자 이름
비밀번호: (env에 설정된 경우 선택 사항) WordPress 애플리케이션 비밀번호
perPage: (선택 사항) 페이지당 게시물 수(기본값: 10)
페이지: (선택 사항) 페이지 번호(기본값: 1)
업데이트_게시물
기존 WordPress 게시물을 업데이트합니다.
매개변수:
siteUrl: (env에 설정된 경우 선택 사항) WordPress 사이트 URL
사용자 이름: (env에 설정된 경우 선택 사항) WordPress 사용자 이름
비밀번호: (env에 설정된 경우 선택 사항) WordPress 애플리케이션 비밀번호
postId: 업데이트할 게시물의 ID
title: (선택사항) 새 게시물 제목
content: (선택사항) 새 게시물 콘텐츠
상태: (선택 사항) '초안' | '게시' | '비공개'
보안 참고 사항
보안을 위해 기본 계정 비밀번호 대신 WordPress 애플리케이션 비밀번호를 사용하는 것이 좋습니다. WordPress 대시보드의 '사용자' → '보안' → '애플리케이션 비밀번호'에서 애플리케이션 비밀번호를 생성할 수 있습니다.
사용 예
환경 변수 사용:
{
"jsonrpc": "2.0",
"id": 1,
"method": "create_post",
"params": {
"title": "My New Post",
"content": "Hello World!",
"status": "draft"
}
}환경 변수 없이:
{
"jsonrpc": "2.0",
"id": 1,
"method": "create_post",
"params": {
"siteUrl": "https://your-wordpress-site.com",
"username": "your-username",
"password": "your-app-password",
"title": "My New Post",
"content": "Hello World!",
"status": "draft"
}
}요구 사항
Node.js 20.0.0 이상
REST API가 활성화된 WordPress 사이트
인증을 위한 WordPress 애플리케이션 비밀번호
특허
MIT 라이선스 - 자세한 내용은 라이선스 파일을 참조하세요.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
Hosted WordPress MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
WordPress MCP server: generate SEO posts, AI images, autoblog & WooCommerce on your self-hosted site
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for WordPress automation that enables users to manage content, themes, and site configurations using AI-driven workflows and the WordPress REST API. It provides a wide array of tools for site planning, management, and optimization compatible with tools like Cursor and Claude.1MIT
- AlicenseBqualityDmaintenanceMCP server that gives AI tools full WordPress management via WP-CLI. 30+ tools for themes, plugins, posts, menus, users, database, scaffolding, and cache. Works locally or over SSH.3415 npm6MIT
- FlicenseBqualityDmaintenanceLocal MCP server for Codex/Claude to query and edit WordPress content through the WordPress REST API.26-
- AlicenseNot gradedqualityDmaintenanceMCP server for WordPress content management via REST API, supporting posts, pages, media, comments, and terms through natural language interfaces like Cursor, ChatGPT, Codex, and Claude.MIT