
mfydev/ghost-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
mfydev/ghost-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
mfydev/ghost-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
Claude와 같은 LLM 인터페이스를 통해 Ghost CMS와 상호작용할 수 있는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 JWT 인증과 게시물, 사용자, 회원, 티어, 오퍼, 뉴스레터 관리를 위한 풍부한 MCP 도구를 활용하여 Ghost 블로그에 안전하고 포괄적인 접근을 제공합니다.
특징
@tryghost/admin-api로 고스트 관리자 API 요청을 안전하게 보호합니다- 게시물, 사용자, 회원, 티어, 오퍼, 뉴스레터 등 포괄적인 엔티티 접근
- 퍼지 매칭과 정확 매칭 옵션을 모두 갖춘 고급 검색 기능
- 고스트 엔티티에 대한 상세하고 인간이 읽을 수 있는 출력
- 커스텀
GhostError예외를 이용한 강력한 오류 처리 - MCP 컨텍스트를 통한 통합 로그 지원 향상 문제 해결
사용
예를 들어 Claude Desktop과 같은 MCP 클라이언트에서 사용하려면 claude_desktop_config.json에 다음 항목을 추가하세요:
이용 가능한 자료
다음 고스트 CMS 자료는 이 MCP 서버를 통해 제공됩니다:
- 게시물: 귀하의 고스트 사이트에 게시된 기사와 콘텐츠.
- 회원: 귀하의 사이트에 등록된 사용자 및 구독자입니다.
- 뉴스레터: Ghost를 통해 관리 및 발송되는 이메일 뉴스레터.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Ghost MCP Server
A Model Context Protocol (MCP) server for interacting with Ghost CMS through LLM interfaces like Claude. This server provides secure and comprehensive access to your Ghost blog, leveraging JWT authentication and a rich set of MCP tools for managing posts, users, members, tiers, offers, and newsletters.
Features
- Secure Ghost Admin API requests with
@tryghost/admin-api - Comprehensive entity access including posts, users, members, tiers, offers, and newsletters
- Advanced search functionality with both fuzzy and exact matching options
- Detailed, human-readable output for Ghost entities
- Robust error handling using custom
GhostErrorexceptions - Integrated logging support via MCP context for enhanced troubleshooting
Usage
To use this with MCP clients, for instance, Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"ghost-mcp": {
"command": "npx",
"args": ["-y", "@fanyangmeng/ghost-mcp"],
"env": {
"GHOST_API_URL": "https://yourblog.com",
"GHOST_ADMIN_API_KEY": "your_admin_api_key",
"GHOST_API_VERSION": "v5.0"
}
}
}
}
Available Resources
The following Ghost CMS resources are available through this MCP server:
- Posts: Articles and content published on your Ghost site.
- Members: Registered users and subscribers of your site.
- Newsletters: Email newsletters managed and sent via Ghost.
- Offers: Promotional offers and discounts for members.
- Invites: Invitations for new users or staff to join your Ghost site.
- Roles: User roles and permissions within the Ghost admin.
- Tags: Organizational tags for posts and content.
- Tiers: Subscription tiers and plans for members.
- Users: Admin users and staff accounts.
- Webhooks: Automated event notifications to external services.
Available Tools
This MCP server exposes a comprehensive set of tools for managing your Ghost CMS via the Model Context Protocol. Each resource provides a set of operations, typically including browsing, reading, creating, editing, and deleting entities. Below is a summary of the available tools:
Posts
- Browse Posts: List posts with optional filters, pagination, and ordering.
- Read Post: Retrieve a post by ID or slug.
- Add Post: Create a new post with title, content, and status.
- Edit Post: Update an existing post by ID.
- Delete Post: Remove a post by ID.
Members
- Browse Members: List members with filters and pagination.
- Read Member: Retrieve a member by ID or email.
- Add Member: Create a new member.
- Edit Member: Update member details.
- Delete Member: Remove a member.
Newsletters
- Browse Newsletters: List newsletters.
- Read Newsletter: Retrieve a newsletter by ID.
- Add Newsletter: Create a new newsletter.
설치
npx -y @fanyangmeng/ghost-mcp설정
{
"mcpServers": {
"ghost-mcp": {
"command": "npx",
"args": ["-y", "@fanyangmeng/ghost-mcp"],
"env": {
"GHOST_API_URL": "https://yourblog.com",
"GHOST_ADMIN_API_KEY": "your_admin_api_key",
"GHOST_API_VERSION": "v5.0"
}
}
}
}