postiz-mcp
postiz-mcp
모든 MCP 호환 클라이언트를 위한 표준 Postiz 클라이언트입니다. Postiz 공개 API(통합, 게시물, 업로드, 분석, 비디오)를 완벽하게 지원하며, 환경 변수로 제어되는 쓰기, 확인이 필요한 삭제, 내장된 속도 제한 보호 기능을 제공합니다.
stdio MCP 서버 및 동일한 패키지에서 제공되는 일급 OpenClaw 네이티브 플러그인으로 배포됩니다.
이유
Postiz를 직접 호스팅하고 있고 Claude / Codex / OpenClaw / Hermes / 기타 MCP 클라이언트가 이를 상호 작용하도록 하려는 경우, 모든 워크플로우에서 직접 HTTP 호출을 작성하는 대신 유형이 지정되고 테스트된 단일 목적의 도구 인터페이스를 제공합니다.
Related MCP server: Postoria MCP Server
연결 전 주의사항
Postiz 쓰기는 공개적인 부작용을 초래합니다.
type: "now"(또는 가까운 시일 내 예약)로postiz_create_post를 성공적으로 실행하면 실제 소셜 계정에 게시됩니다. 게시된 후에는 Postiz에서 게시물을 삭제할 수 있지만 플랫폼 측의 게시물은 그대로 유지됩니다 — Postiz는 이를 회수할 수 없습니다.Postiz 공개 API는 기본적으로 시간당 30회 요청으로 속도가 제한됩니다. 이 서버는 로컬에서 제한을 추적하며 예산이 소진되면 전송을 거부합니다. Postiz 인스턴스가 더 높게 구성된 경우
POSTIZ_RATE_LIMIT_PER_HOUR로 재정의하십시오.쓰기 및 삭제는 기본적으로 차단되어 있습니다. 읽기는 항상 작동합니다. 쓰기를 활성화하려면
POSTIZ_ENABLE_WRITE=true를 명시적으로 설정해야 합니다. 삭제를 활성화하려면 추가로POSTIZ_ENABLE_DELETE=true를 설정하고 도구 호출 시confirm: true를 전달해야 합니다.
도구
읽기 (항상 켜짐)
postiz_list_integrations— 연결된 채널 목록postiz_check_integration— API 키 확인postiz_find_next_slot— 채널의 다음 게시 가능 시간 슬롯postiz_list_posts— 특정 기간의 게시물postiz_get_missing_content—releaseId가 누락된 Postiz 게시물의 플랫폼 콘텐츠 복구postiz_list_notifications— Postiz UI 알림postiz_get_platform_analytics— 팔로워 / 노출수 / 참여도postiz_get_post_analytics— 좋아요 / 댓글 / 공유postiz_list_voices— AI 비디오 음성 카탈로그postiz_get_provider_settings_schema— 빌드 시 번들로 제공되는 공급자별settings스키마 (X, LinkedIn, Reddit 등)
쓰기 (POSTIZ_ENABLE_WRITE=true 필요)
postiz_create_post— 예약 / 즉시 게시 / 초안 작성postiz_connect_integration— 새 채널을 위한 OAuth URL 생성postiz_update_post_status— DRAFT ↔ QUEUE 전환postiz_update_post_release_id— Postiz 게시물을 플랫폼 측 릴리스에 다시 연결postiz_upload_file— 로컬 파일 또는 base64에서 멀티파트 업로드postiz_upload_from_url— 서버 측 가져오기postiz_generate_video— AI 비디오 생성
삭제 (POSTIZ_ENABLE_WRITE=true + POSTIZ_ENABLE_DELETE=true + confirm: true 필요)
postiz_delete_post— 전체 그룹으로 캐스케이드postiz_delete_post_group— 교차 게시 그룹의 모든 게시물 삭제postiz_delete_integration— 채널 연결 해제 + 예약된 모든 게시물 삭제
설치
npm install -g postiz-mcp또는 소스에서:
git clone https://github.com/solomonneas/postiz-mcp.git
cd postiz-mcp
npm install
npm run build구성
MCP 클라이언트 구성에 다음 환경 변수를 설정하십시오:
변수 | 필수 | 기본값 | 설명 |
| 예 | — | 기본 URL, 예: |
| 예 | — | Postiz 설정 → 공개 API의 API 키 |
| 아니요 |
| 생성 / 업데이트 / 업로드 / 연결 / 비디오 생성 도구를 노출하려면 |
| 아니요 |
| 삭제 도구를 노출하려면 (쓰기 활성화와 함께) |
| 아니요 |
| HTTP 타임아웃 (ms) |
| 아니요 |
| 로컬 보호 제한. 서버는 응답 헤더가 있을 경우 이를 신뢰합니다. |
| 아니요 | — | Cloudflare Access 서비스 토큰 클라이언트 ID (Postiz가 CF Access 뒤에 있는 경우에만 필요) |
| 아니요 | — | Cloudflare Access 서비스 토큰 시크릿 |
API 키 얻기
관리자로 Postiz에 로그인
설정 → 공개 API → API 키 생성
값 복사 (Postiz 버전에 따라
pos_로 시작하거나 원시 UUID임)
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json (Windows)에 추가:
{
"mcpServers": {
"postiz": {
"command": "postiz-mcp",
"env": {
"POSTIZ_URL": "http://localhost:5000",
"POSTIZ_API_KEY": "your-api-key-here",
"POSTIZ_ENABLE_WRITE": "true",
"POSTIZ_ENABLE_DELETE": "false"
}
}
}
}Claude Code
claude mcp add postiz \
--env POSTIZ_URL=http://localhost:5000 \
--env POSTIZ_API_KEY=your-api-key-here \
--env POSTIZ_ENABLE_WRITE=true \
-- postiz-mcp현재 프로젝트뿐만 아니라 모든 디렉토리에서 사용할 수 있도록 --scope user를 추가하십시오.
OpenClaw
postiz-mcp는 OpenClaw 네이티브 플러그인이기도 합니다. 소스 체크아웃에서:
openclaw plugin add /absolute/path/to/postiz-mcp \
--config '{
"baseUrl": "http://localhost:5000",
"apiKeyEnv": "POSTIZ_API_KEY",
"enableWrite": true,
"enableDelete": false
}'그런 다음 API 키를 내보내고 게이트웨이를 다시 시작하십시오:
export POSTIZ_API_KEY=your-api-key-here
systemctl --user restart openclaw-gateway
openclaw plugin list # confirm "postiz" is enabledOpenClaw에서 일반 MCP 서버로 실행할 수도 있습니다:
openclaw mcp set postiz '{
"command": "postiz-mcp",
"env": {
"POSTIZ_URL": "http://localhost:5000",
"POSTIZ_API_KEY": "your-api-key-here",
"POSTIZ_ENABLE_WRITE": "true"
}
}'Hermes Agent
Hermes Agent는 mcp_servers 아래의 ~/.hermes/config.yaml에서 MCP 구성을 읽습니다. 항목을 추가하십시오:
mcp_servers:
postiz:
command: "postiz-mcp"
env:
POSTIZ_URL: "http://localhost:5000"
POSTIZ_API_KEY: "your-api-key-here"
POSTIZ_ENABLE_WRITE: "true"또는 소스 체크아웃에서:
mcp_servers:
postiz:
command: "node"
args: ["/absolute/path/to/postiz-mcp/dist/mcp-server.js"]
env:
POSTIZ_URL: "http://localhost:5000"
POSTIZ_API_KEY: "your-api-key-here"
POSTIZ_ENABLE_WRITE: "true"그런 다음 Hermes 세션 내에서 MCP를 다시 로드하십시오:
/reload-mcpCodex CLI
Codex CLI는 codex mcp add를 통해 MCP 서버를 등록합니다:
codex mcp add postiz \
--env POSTIZ_URL=http://localhost:5000 \
--env POSTIZ_API_KEY=your-api-key-here \
--env POSTIZ_ENABLE_WRITE=true \
-- postiz-mcp또는 소스 체크아웃에서:
codex mcp add postiz \
--env POSTIZ_URL=http://localhost:5000 \
--env POSTIZ_API_KEY=your-api-key-here \
--env POSTIZ_ENABLE_WRITE=true \
-- node /absolute/path/to/postiz-mcp/dist/mcp-server.jsCodex는 항목을 [mcp_servers.postiz] 아래의 ~/.codex/config.toml에 기록합니다. 다음으로 확인하십시오:
codex mcp listCloudflare Access 뒤의 Postiz
Postiz가 Cloudflare Tunnel + Access(예: https://postiz.example.com)를 통해 노출되는 경우, Cloudflare Zero Trust 대시보드에서 서비스 토큰을 생성하고 환경 변수를 추가하십시오:
export POSTIZ_CF_ACCESS_CLIENT_ID=your-cf-id.access
export POSTIZ_CF_ACCESS_CLIENT_SECRET=your-cf-secretMCP 서버는 모든 요청 시 이를 CF-Access-Client-Id / CF-Access-Client-Secret으로 전달합니다. 이를 잊어버리면 혼란스러운 HTML 응답 대신 명확한 PostizCfAccessChallengeError가 발생합니다.
예시 프롬프트
"내 Postiz의 통합 목록을 보여줘."
"내일 오전 9시에 Bluesky 게시물을 예약해줘: 'Just shipped postiz-mcp.'"
"다음 LinkedIn 게시 가능 시간은 언제야? 이 4개 트윗 스레드를 X의 해당 시간에 예약하고 답글은 인증된 사용자만 가능하도록 설정해줘."
"지난주에 무엇이 게시되었고 화요일 X 게시물은 어땠어?"
"스레드 페이로드를 구성할 수 있도록 X 공급자 설정 스키마를 보여줘."
공급자 설정 스키마
postiz_get_provider_settings_schema는 번들로 제공되는 공급자별 settings 참조(docs.postiz.com/public-api/providers/{slug}.md에서 파싱됨)를 반환합니다. X의 who_can_reply_post 또는 LinkedIn의 audience와 같은 공급자별 필드가 필요할 때 postiz_create_post 이전에 사용하십시오.
스키마는 Postiz가 공급자 문서를 업데이트할 경우 PR을 여는 GitHub Actions 워크플로우에 의해 매월 새로 고쳐집니다. 수동으로 새로 고치려면:
npm run refresh-schemas개발
npm install
npm run typecheck
npm test
npm run build라이선스
MIT
Available Tools
20 toolspostiz_check_integrationA
Verify the configured Postiz API key is valid and reaches the configured baseUrl. Useful as a first call before any other tool — if this returns ok, every other tool can authenticate against the same instance.
Inputs: no named parameters.
postiz_connect_integrationA
Generate the OAuth authorization URL for connecting a new social channel. Returns a url the user must open in a browser to finish the flow — Postiz redirects back to its own callback. This tool does NOT run a callback server. Requires enableWrite.
Inputs: provider (required), refresh.
postiz_create_postA
Create, schedule, or immediately publish one or more posts via POST /api/posts. PUBLIC SIDE EFFECT: with type='now' or a near-term schedule, this lands on real social accounts. Use postiz_get_provider_settings_schema first to construct valid settings blocks. Requires enableWrite.
Inputs: type (required), date (required), posts (required), shortLink, +1 more.
postiz_delete_integrationA
Disconnect a connected social channel. Cascades — Postiz also deletes every scheduled post for that integration. Requires enableWrite + enableDelete + confirm=true. Returns ok:false / not_found on 404 (already disconnected).
Inputs: integrationId (required), confirm (required).
postiz_delete_postA
Delete a Postiz post by id. CASCADES — every post in the same group is removed. Already-published platform posts remain live. Requires enableWrite + enableDelete + confirm=true.
Inputs: postId (required), confirm (required).
postiz_delete_post_groupA
Delete every post in a group (cross-post unit) via DELETE /api/posts/group/{group}. Use when you want to retract a whole cross-post in one call. Requires enableWrite + enableDelete + confirm=true.
Inputs: group (required), confirm (required).
postiz_find_next_slotA
Return the next available posting time for a given integration. The slot respects the org's configured posting schedule, so this is the right answer to use as date in postiz_create_post when you don't have a specific time in mind.
Inputs: integrationId (required).
postiz_generate_videoA
Generate an AI video via POST /api/video/generate. COST IMPLICATION: video generation may bill against the configured Postiz video integration's credit pool. Requires enableWrite. Body shape is provider-specific — see Postiz video docs.
Inputs: body (required).
postiz_get_missing_contentA
Fetch recent platform-side content for a post whose Postiz releaseId is marked missing. Pair with postiz_update_post_release_id to reattach.
Inputs: postId (required).
postiz_get_platform_analyticsA
Get follower / impression / engagement analytics for a connected channel via GET /api/analytics/platform. Available metrics depend on what the platform exposes to Postiz.
Inputs: integrationId (required), date.
postiz_get_post_analyticsA
Get per-post engagement metrics (likes, comments, shares) via GET /api/analytics/post. Returns whatever the source platform exposes — different shape per provider.
Inputs: postId (required).
postiz_get_provider_settings_schemaA
Look up the settings block schema for a Postiz provider (X, LinkedIn, Reddit, etc.) — bundled at build time from docs.postiz.com. Returns a default-settings template, the provider's __type value, and (by default) the full markdown reference. Call this before postiz_create_post when you need provider-specific fields.
Inputs: provider (required), includeMarkdown.
postiz_list_integrationsA
List every connected social-media channel for the org behind the configured Postiz API key. Returns id, name, providerIdentifier (the value used as __type in post settings), profile, and disabled state. Use this BEFORE postiz_create_post to get the integration id you need to target.
Inputs: no named parameters.
postiz_list_notificationsA
List notifications, sorted most-recent first. Useful for surfacing posting failures, OAuth re-auth prompts, and new-feature notices Postiz shows in its UI.
Inputs: page.
postiz_list_postsA
List posts in a date range via GET /api/posts. Returns scheduled, queued, and published posts with their integration, content, state, and any platform release URL.
Inputs: startDate, endDate, display, customer.
postiz_list_voicesA
List available AI voices for video generation via GET /api/video/function?functionName=voices. Required input for postiz_generate_video — pick a voice id from the returned catalog.
Inputs: integrationId.
postiz_update_post_release_idA
Update the releaseId (and optionally releaseURL) of a Postiz post via PATCH /api/posts/{id}/release-id. Use to reconcile a Postiz post with the actual platform-side release after a missing-content event. Requires enableWrite.
Inputs: postId (required), releaseId (required), releaseURL.
postiz_update_post_statusA
Transition a Postiz post between DRAFT and QUEUE via PATCH /api/posts/{id}/status. Moving DRAFT→QUEUE re-enters the schedule using the post's existing publishDate. Requires enableWrite.
Inputs: postId (required), state (required).
postiz_upload_fileA
Upload a media file (image, video) to Postiz storage via POST /api/uploads/file. Returns { id, path } that you can pass into postiz_create_post value[].image[]. Requires enableWrite.
Inputs: filePath, base64, fileName, mimeType.
postiz_upload_from_urlA
Upload a media file from a public URL via POST /api/uploads/url. Postiz fetches the URL server-side, so this works for sources the MCP host can't reach. Returns { id, path } usable in postiz_create_post value[].image[]. Requires enableWrite.
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool targets a unique action and resource type. For example, postiz_create_post, postiz_delete_post, and postiz_list_posts are clearly distinct. Even overlapping actions like postiz_delete_post and postiz_delete_post_group are differentiated by scope (single vs. group). Descriptions clarify boundaries effectively.
All tools follow a consistent 'postiz_verb_noun' pattern with underscore separation. Verbs like check, connect, create, delete, find, generate, get, list, update, and upload are used uniformly. There is no mixing of camelCase or other conventions.
With 20 tools, the set is slightly above the typical 'well-scoped' range (3-15) but still reasonable given the breadth of Postiz's functionality (post management, analytics, AI video, integrations, file uploads). Each tool serves a distinct purpose.
The tools cover the main lifecycle: integration management, post CRUD, analytics, file uploads, and AI video generation. Minor gaps include no direct 'get post by ID' (though list_posts can retrieve it) and no interaction management (comments, etc.), but core workflows are well-supported.
Maintenance
Related MCP Connectors
Create, schedule, and publish social posts, manage accounts, and read analytics as MCP tools.
Create, schedule, and publish social posts through the hosted SocialSpool MCP connector.
Publish, schedule, and manage social media posts across major platforms via the Postproxy API.
Manage social publishing workflows through OpenPost
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with the Postiz social media management platform through MCP tools. Supports creating and managing posts, retrieving integrations, and accessing account information through multiple transport protocols.2-

Postoria MCP Serverofficial
AlicenseAqualityBmaintenanceEnables MCP-compatible clients to create, schedule, queue, inspect, and delete Postoria posts through the Postoria Public API.1483 npm1MIT- AlicenseNot gradedqualityFmaintenanceMCP server for managing social media posts across multiple platforms using the Postiz API. Supports creating, updating, deleting posts, and generating videos.3MIT

@fopost/mcpofficial
AlicenseAqualityBmaintenanceEnables managing social media posts, accounts, and AI-powered content features from any MCP client, including scheduling, publishing, analysis, and AI caption generation.1468 npmMIT