通过 MCP 将 DeepSeek Harness 连接到 Postiz:列出已连接的社交媒体渠道、获取各平台发帖规则,并向 X、LinkedIn、Instagram、Facebook、Threads、TikTok、YouTube、Reddit、Bluesky、Mastodon、Discord、Slack、Telegram 等平台排期、存草稿或发布帖子;附带 postiz 工作流技能。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-postiz
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:gitroomhq/postiz-agent#path:/plugins/dsh-postiz
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
npm: dsh-postiz ·
source: gitroomhq/postiz-agent
DeepSeek Harness (dsh) plugin for
Postiz, the open-source social media scheduler. It connects the agent
to the Postiz MCP server so it can list your connected channels, fetch each platform's
posting rules, and schedule, draft, or publish posts across 28+ platforms (X, LinkedIn,
Instagram, Facebook, Threads, TikTok, YouTube, Reddit, Pinterest, Bluesky, Mastodon,
Discord, Slack, Telegram, and more).
Install
From the repository:
dsh plugin --profile web add "github:gitroomhq/postiz-agent#path:/plugins/dsh-postiz"
Or from npm:
dsh plugin --profile web add dsh-postiz
Then give it a Postiz API key. Copy it from Postiz → Settings → Developers → Public API
and export it before starting dsh, or put it in $DSH_HOME/.env:
export POSTIZ_API_KEY=your-api-key
dsh web
Restart the profile after installing. Ask the agent "List my connected social media accounts" to verify the connection.
What you get
The bundle mounts two rows:
| Row | Package | Role |
|---|---|---|
postiz |
dsh-postiz (this package) |
Reads the API key, exposes ctx.postiz (url, headers), and registers the postiz skill that teaches the agent the posting workflow and the HTML content rules. |
postiz-mcp |
@deepseek-ai/dsh-mcp-client (shipped with dsh) |
Connects to https://mcp.postiz.com/mcp over streamable HTTP with a Bearer header and registers the server's tools. |
The model sees the Postiz MCP tools under the mcp__postiz__ namespace:
| Tool | What it does |
|---|---|
mcp__postiz__integrationList |
List connected channels (optionally filtered by group) |
mcp__postiz__groupList |
List customer groups |
mcp__postiz__integrationSchema |
Posting rules, character limits, and required settings for a platform |
mcp__postiz__triggerTool |
Platform helpers (list Discord channels, search subreddits, list LinkedIn pages) |
mcp__postiz__schedulePostTool |
Schedule, draft, or immediately publish posts |
mcp__postiz__postsListTool |
List posts scheduled between two dates |
mcp__postiz__postSettingsTool |
Update settings of an unpublished post |
mcp__postiz__generateImageTool |
Generate an image for a post |
mcp__postiz__generateVideoOptions / videoFunctionTool / generateVideoTool |
Video generation options and generation |
The tool list comes from the server at connect time, so new Postiz tools appear without a plugin update. See the Postiz MCP tools reference.
Configuration
Override the postiz row in your profile's cordis.patch.yml ($DSH_HOME/profiles/web/cordis.patch.yml).
A bare id: configures the existing row:
- id: postiz
config:
apiKeyEnv: POSTIZ_API_KEY # env var that holds the key (default)
baseUrl: https://mcp.postiz.com # self-hosted: https://your-postiz-server.com
skill: true # register the `postiz` workflow skill
| Field | Default | Description |
|---|---|---|
apiKeyEnv |
POSTIZ_API_KEY |
Environment variable read at boot for the API key. |
apiKey |
'' |
Inline key. Prefer the env var; this exists for patch-level overrides. |
baseUrl |
https://mcp.postiz.com |
Postiz host. The MCP endpoint is <baseUrl>/mcp. Self-hosted instances point this at their backend. |
skill |
true |
Register the postiz skill on ctx.skills. |
Without a key the postiz row logs a warning naming the variable to set, and the
postiz-mcp row registers no tools. dsh keeps booting.
Self-hosted Postiz
The MCP server is part of the Postiz backend and listens at /mcp (Bearer auth). Point
baseUrl at your backend and make sure your reverse proxy forwards /mcp with streaming
HTTP enabled. See Reverse Proxies.
Development
cd plugins/dsh-postiz
pnpm install
pnpm test
Link a local checkout into a profile:
dsh plugin --profile web add /absolute/path/to/postiz-agent/plugins/dsh-postiz
Related
- Postiz CLI — the
postizcommand-line tool and the Claude Code / Cursor / Grok plugins in this repository. - Postiz MCP docs
- Postiz public API
License
AGPL-3.0, same as the rest of this repository.
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 35688
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
superdesigndev/treg★ 6403
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
T-Auto/dsh-ops★ 4593
为 Windows 的 DSH 提供 bash、PowerShell 7 及 Rust 高性能工具,减少 token 消耗。
sixtysevenlf/dsh-blender-plugin★ 1388
让 DSH agent 通过直连 TCP 通道驱动本地 Blender,提供 15 个工具:视口帧、自定义视角渲染、Python 执行、无头与作业卸载、事务回滚,以及 34 个 family / 228 个 op 的规划层。
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1152
把腾讯云 CloudBase 后端接入 DeepSeek Harness——在对话里搭好并部署全栈应用,查询结果渲染为表格卡片(分页、排序、导出 CSV),部署后可预览真实域名,并提供 CloudBase MCP 工具集(`mcp__cloudbase__*`),登录走 device-code 流程。
anysearch-team/anysearch-dsh★ 665
基于 AnySearch 的实时网页与垂直搜索插件,为 DeepSeek Harness 提供搜索工具。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。