Skip to main content
Glama
crunchtools

MCP WordPress CrunchTools

by crunchtools

MCP WordPress CrunchTools

WordPress 콘텐츠 관리를 위한 보안 MCP(Model Context Protocol) 서버입니다. 자신의 작업에 대해 글을 게시하는 개발자를 위해 설계되었습니다.

개요

이 MCP 서버는 다음과 같은 특징을 갖도록 설계되었습니다:

  • 기본적으로 안전(Secure by default) - 포괄적인 입력 검증, 자격 증명 보호, SSRF 방지

  • 타사 서비스 없음 - stdio를 통해 로컬에서 실행되며, 자격 증명이 머신을 벗어나지 않습니다

  • 크로스 플랫폼 - Linux, macOS, Windows에서 작동합니다

  • 자동 업데이트 - GitHub Actions가 CVE를 모니터링하고 의존성을 업데이트합니다

  • 컨테이너화 - quay.io/crunchtools/mcp-wordpress에서 사용 가능

Related MCP server: TypeScript WordPress MCP Server

명명 규칙

구성 요소

이름

GitHub 저장소

crunchtools/mcp-wordpress

컨테이너

quay.io/crunchtools/mcp-wordpress

Python 패키지 (PyPI)

mcp-wordpress-crunchtools

CLI 명령

mcp-wordpress-crunchtools

모듈 임포트

mcp_wordpress_crunchtools

기능

  • 30개 도구 - 게시물, 페이지, 미디어, 댓글용

  • 보안 중심: 자격 증명 보호, 입력 검증, SSRF 방지

  • 개발자 워크플로우: 예약 게시, 개정판, 검색

  • 쉬운 통합: Claude Code 및 기타 MCP 클라이언트와 작동

설치

uvx 사용 (권장)

uvx mcp-wordpress-crunchtools

pip 사용

pip install mcp-wordpress-crunchtools
mcp-wordpress-crunchtools

컨테이너 사용

# Create a shared upload directory (required before first run)
mkdir -p ~/.local/share/mcp-uploads-downloads

podman run -v ~/.local/share/mcp-uploads-downloads:/tmp/mcp-uploads:z \
  -e WORDPRESS_URL=https://example.com \
  -e WORDPRESS_USERNAME=admin \
  -e WORDPRESS_APP_PASSWORD='xxxx xxxx xxxx xxxx' \
  quay.io/crunchtools/mcp-wordpress

SELinux 참고: :Z(대문자, 전용) 대신 :z(소문자, 공유)를 사용하세요. MCP 서버는 장기 실행 stdio 프로세스로 작동합니다. :Z를 사용하면 컨테이너 시작 후 디렉터리에 복사된 파일에 컨테이너의 전용 MCS 레이블이 없어 컨테이너 내부에서 보이지 않게 됩니다. :z 플래그는 모든 컨테이너와 호스트가 읽고 쓸 수 있는 공유 container_file_t 컨텍스트를 설정합니다.

팁: 여러 MCP 컨테이너 서버(예: mcp-wordpress 및 mcp-gemini)에서 동일한 공유 디렉터리(~/.local/share/mcp-uploads-downloads/)를 사용하면 생성된 파일을 복사하지 않고도 즉시 업로드에 사용할 수 있습니다.

소스에서

git clone https://github.com/crunchtools/mcp-wordpress.git
cd mcp-wordpress
uv sync --all-extras
uv run mcp-wordpress-crunchtools

구성

다음 환경 변수를 설정하세요:

변수

설명

예시

WORDPRESS_URL

WordPress 사이트 URL

https://example.com

WORDPRESS_USERNAME

WordPress 사용자 이름

admin

WORDPRESS_APP_PASSWORD

애플리케이션 비밀번호

xxxx xxxx xxxx xxxx

MCP_UPLOAD_DIR

컨테이너 내 업로드 디렉터리 (선택 사항)

/tmp/mcp-uploads (기본값)

애플리케이션 비밀번호 생성

  1. WordPress 관리자에 로그인

  2. 사용자 → 프로필로 이동

  3. 애플리케이션 비밀번호까지 스크롤

  4. 이름(예: "MCP Server")을 입력하고 새로 추가 클릭

  5. 생성된 비밀번호 복사 (한 번만 표시됨)

Claude Code와 함께 사용

uvx 사용 (권장)

claude mcp add mcp-wordpress-crunchtools \
    --env WORDPRESS_URL=https://example.com \
    --env WORDPRESS_USERNAME=admin \
    --env WORDPRESS_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
    -- uvx mcp-wordpress-crunchtools

pip 사용

pip install mcp-wordpress-crunchtools

claude mcp add mcp-wordpress-crunchtools \
    --env WORDPRESS_URL=https://example.com \
    --env WORDPRESS_USERNAME=admin \
    --env WORDPRESS_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
    -- mcp-wordpress-crunchtools

컨테이너 사용

# Create a shared upload directory (required before first run)
mkdir -p ~/.local/share/mcp-uploads-downloads

claude mcp add mcp-wordpress-crunchtools \
    --env WORDPRESS_URL=https://example.com \
    --env WORDPRESS_USERNAME=admin \
    --env WORDPRESS_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
    -- podman run -i --rm \
        -v ~/.local/share/mcp-uploads-downloads:/tmp/mcp-uploads:z \
        -e WORDPRESS_URL \
        -e WORDPRESS_USERNAME \
        -e WORDPRESS_APP_PASSWORD \
        quay.io/crunchtools/mcp-wordpress

사용 가능한 도구

사이트 도구

도구

설명

wordpress_get_site_info

사이트 제목, 설명, URL, 시간대 가져오기

wordpress_test_connection

API 자격 증명이 작동하는지 확인

게시물 도구

도구

설명

wordpress_list_posts

필터링으로 게시물 목록 (상태, 카테고리, 검색)

wordpress_get_post

ID로 단일 게시물 가져오기 (전체 콘텐츠 포함)

wordpress_search_posts

키워드로 게시물 검색

wordpress_create_post

새 게시물 작성 (예약 지원)

wordpress_update_post

기존 게시물 업데이트

wordpress_delete_post

게시물 삭제/휴지통으로 이동

wordpress_list_revisions

게시물의 개정판 목록

wordpress_get_revision

특정 개정판 콘텐츠 가져오기

wordpress_list_categories

사용 가능한 카테고리 목록

wordpress_list_tags

사용 가능한 태그 목록

페이지 도구

도구

설명

wordpress_list_pages

필터링으로 페이지 목록

wordpress_get_page

ID로 단일 페이지 가져오기

wordpress_create_page

새 페이지 작성

wordpress_update_page

기존 페이지 업데이트

wordpress_delete_page

페이지 삭제/휴지통으로 이동

wordpress_list_page_revisions

페이지 개정판 목록

미디어 도구

도구

설명

wordpress_list_media

미디어 항목 목록

wordpress_get_media

미디어 항목 세부 정보 가져오기

wordpress_upload_media

로컬 경로에서 파일 업로드

wordpress_update_media

미디어 메타데이터 업데이트

wordpress_delete_media

미디어 항목 삭제

wordpress_get_media_url

미디어의 공개 URL 가져오기

댓글 도구

도구

설명

wordpress_list_comments

필터링으로 댓글 목록

wordpress_get_comment

단일 댓글 가져오기

wordpress_create_comment

게시물에 댓글 추가

wordpress_update_comment

댓글 콘텐츠/상태 업데이트

wordpress_delete_comment

댓글 삭제

wordpress_moderate_comment

승인, 보류, 스팸, 휴지통 처리

예시

초안 게시물 작성

Create a new WordPress post titled "My Technical Article" with the content below. Keep it as a draft.

게시물 예약

Update post ID 123 to publish on December 25, 2024 at 10:00 AM.

이미지 업로드

Upload this image to WordPress and set the alt text to "Architecture diagram".

댓글 찾기 및 중재

List all comments in "hold" status and approve the legitimate ones.

보안

  • 자격 증명 보호: 모든 자격 증명은 SecretStr로 저장되며, 절대 로그에 기록되지 않음

  • SSRF 방지: REST API 경로가 하드코딩되어 있어 재정의할 수 없음

  • 입력 검증: 모든 입력은 Pydantic 모델을 통해 검증됨

  • 속도 제한: WordPress 속도 제한을 원활하게 처리

  • TLS 강제: 모든 요청은 인증서 검증과 함께 HTTPS 사용

  • 크기 제한: 메모리 문제 방지를 위해 응답 크기를 10MB로 제한

  • 시간 초과: 모든 요청은 30초 후 시간 초과

개발

# Install dev dependencies
uv sync --all-extras

# Run tests
uv run pytest

# Run linting
uv run ruff check src tests

# Run type checking
uv run mypy src

# Format code
uv run ruff format src tests

라이선스

AGPL-3.0-or-later

크레딧

crunchtools.com에서 제작

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
5dRelease cycle
4Releases (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

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/crunchtools/mcp-wordpress'

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