DeepSeek Harness 插件

gitroomhq/postiz-agent#dsh-postiz

Star 数 ★ 556 下载量(近 30 天) 987 分类 工具与能力 收录于 2026-09-11 npm dsh-postiz

通过 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

License

AGPL-3.0, same as the rest of this repository.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。