Ghost MCP by usefulapi
Read posts, members and tiers; create draft posts and edit post text in Ghost.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"ghost": {
"url": "https://ghost.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://ghost.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (14)
🟢ghost_get_site
Get the site title, URL, Ghost version and settings. Use it first to confirm which site is connected. Ghost Admin API: GET /site/.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_posts(filter, limit, page, order, formats)
List posts with their status, title, slug, authors and tags. Filter by status with filter, for example "status:draft" or "status:published". Ghost Admin API: GET /posts/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order": {
"description": "Sort order, for example \"published_at desc\".",
"type": "string",
"maxLength": 100
},
"formats": {
"description": "Post body format to return: \"html\" (default), \"lexical\", or \"html,lexical\".",
"type": "string",
"enum": [
"html",
"lexical",
"html,lexical"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_get_post(post_id, formats)
Get one post by id, including its body and updated_at. Keep updated_at: ghost_update_post needs it. Ghost Admin API: GET /posts/{id}/.
입력 스키마
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "The Ghost id (24 characters)."
},
"formats": {
"description": "Post body format to return: \"html\" (default), \"lexical\", or \"html,lexical\".",
"type": "string",
"enum": [
"html",
"lexical",
"html,lexical"
]
}
},
"required": [
"post_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_pages(filter, limit, page, order)
List static pages with their status, title and slug. Ghost Admin API: GET /pages/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order": {
"description": "Sort order, for example \"published_at desc\".",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_tags(filter, limit, page, order)
List post tags with their name, slug and post count. Ghost Admin API: GET /tags/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order": {
"description": "Sort order, for example \"published_at desc\".",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_members(filter, search, limit, page, order)
List members (subscribers). Filter with NQL, for example "status:free" (free), "status:-free" (paid), or "subscribed:true". Search by name or email with search. Ghost Admin API: GET /members/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"search": {
"description": "Search text (name or email).",
"type": "string",
"maxLength": 200
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order": {
"description": "Sort order, for example \"published_at desc\".",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_get_member(member_id)
Get one member by id: status, email, labels, subscriptions and the last seen time. Ghost Admin API: GET /members/{id}/.
입력 스키마
{
"type": "object",
"properties": {
"member_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "The Ghost id (24 characters)."
}
},
"required": [
"member_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_tiers(include, filter, limit, page)
List paid membership tiers with their name, status, and optional prices and benefits. Set include to monthly_price,yearly_price,benefits for prices. Ghost Admin API: GET /tiers/.
입력 스키마
{
"type": "object",
"properties": {
"include": {
"description": "Extra fields: monthly_price, yearly_price, benefits (comma separated).",
"type": "string",
"maxLength": 100
},
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_newsletters(filter, limit, page, order)
List newsletters with their name, status and sender settings. Ghost Admin API: GET /newsletters/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order": {
"description": "Sort order, for example \"published_at desc\".",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_offers(filter, limit, page, order)
List member offers (discounts or trials for paid tiers) with their code, status and redemption type. Ghost Admin API: GET /offers/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"order": {
"description": "Sort order, for example \"published_at desc\".",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_labels(filter, limit, page)
List member labels, the segments you use to group members. Ghost Admin API: GET /labels/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢ghost_list_users(filter, limit, page)
List staff users (authors and admins) with their role, slug and status. Ghost Admin API: GET /users/.
입력 스키마
{
"type": "object",
"properties": {
"filter": {
"description": "NQL filter, for example \"status:published\" or \"status:free\".",
"type": "string",
"maxLength": 500
},
"limit": {
"description": "Results per page (1-100, default 15).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ghost_create_draft_post(title, html, custom_excerpt, tags)
Create a new post as a DRAFT from HTML. It never publishes and never sends email; publish it in Ghost Admin. Ghost Admin API: POST /posts/?source=html.
입력 스키마
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"html": {
"type": "string",
"maxLength": 500000,
"description": "The post body as HTML. Ghost converts it into its own format."
},
"custom_excerpt": {
"description": "Short summary shown in listings.",
"type": "string",
"maxLength": 500
},
"tags": {
"description": "Tag names. Ghost finds or creates each tag by name.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 191
}
}
},
"required": [
"title",
"html"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴ghost_update_post(post_id, updated_at, title, html, custom_excerpt, ...)
Change a post's title, HTML, excerpt or tags. Pass updated_at from ghost_get_post (Ghost rejects a stale update). It does not change the status and never sends email. An already published post shows the new text at once. Ghost Admin API: PUT /posts/{id}/?source=html.
입력 스키마
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "The Ghost id (24 characters)."
},
"updated_at": {
"type": "string",
"minLength": 10,
"maxLength": 40,
"description": "The post's updated_at from ghost_get_post."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"html": {
"type": "string",
"maxLength": 500000,
"description": "The post body as HTML. Ghost converts it into its own format."
},
"custom_excerpt": {
"type": "string",
"maxLength": 500
},
"tags": {
"description": "Tag names. Ghost finds or creates each tag by name.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 191
}
}
},
"required": [
"post_id",
"updated_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거