Skip to main content
Glama
Leonelberio

WordPress MCP Server

by Leonelberio

워드프레스 MCP 서버

WordPress 통합을 위한 MCP(Model Context Protocol) 서버로, Windows, macOS, Linux와 호환됩니다.

개요

이 MCP 서버는 WordPress REST API를 통해 WordPress 사이트와의 상호작용을 지원합니다. JSON-RPC 2.0 프로토콜을 사용하여 게시물을 작성, 검색 및 업데이트하는 도구를 제공합니다.

Related MCP server: WordPress MCP Server

설치

  1. 저장소를 복제합니다

  2. 종속성 설치:

지엑스피1

  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 라이선스 - 자세한 내용은 라이선스 파일을 참조하세요.

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A server enabling seamless interaction between AI models and WordPress sites with secure, standardized communication using the WordPress REST API for comprehensive site management.
    408
    159
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A comprehensive MCP server for managing WordPress sites through the REST API, featuring 38 tools for content, media, plugin, and theme management. It supports secure Application Password authentication and offers specific compatibility for Divi theme shortcode structures.

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Leonelberio/the-wordpress-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server