Unplain

io.unplain由 unplain.io 发布官方发布者v1.0.1更新于 Nov 2, 2026

Your assistant writes the ebook or report; Unplain designs it and returns a publish-ready PDF.

已验证Streamable HTTP可网页运行效率与工作流文件与存储媒体与设计

概览

AI 生成的概览

托管式 MCP 服务器,把助手撰写的 Markdown 变成带封面、目录和页码的成品 PDF 电子书或报告。

可以做什么
  • 根据标题和 Markdown 创建、列出并读取电子书或报告项目,改写段落、标题、列表、封面文案或整篇正文。
  • 管理品牌主题:列出、创建和更新已保存的颜色、字体与链接,并查看字体目录、内置预设以及排版与间距的可选范围。
  • 依据章节标题或你的指示生成 AI 封面图,然后导出设计好的 PDF,并轮询导出任务取得下载链接。
  • 在撰写长文之前查看账号套餐及其限制。
适用场景
适合希望把聊天中写好的文档直接输出为风格统一、可直接发布的 PDF、而不必打开设计工具的场景;也适合希望修改在编辑器中完成、而不是让模型重新生成文件的场景。保存的品牌主题能让多份文档保持一致。
运行要求
需要一个能添加远程托管服务器并发送 Authorization 头的 MCP 客户端,无需安装任何东西。需要 Unplain 账号和 API 密钥,以 Authorization: Bearer unp_... 形式发送(也接受不带前缀的密钥),密钥在账号设置中创建且只显示一次。服务器地址须以 /api/mcp 结尾。免费套餐可用,但内容页数、保存项目数、主题数和 AI 封面数均有限制。
安装前请注意
API 密钥以其所属账号的身份生效,应像密码一样保管:不要提交到配置文件,泄露后请在账号设置中吊销。工具会写入账号数据:创建和更新项目与主题,覆盖已有封面需明确同意。封面生成会消耗账号现有的 AI 封面额度,导出受按账号的速率限制。下载链接为签名链接且会过期。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Unplain,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.unplain%2Funplain/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "unplain": {
      "type": "http",
      "url": "https://app.unplain.io/api/mcp"
    }
  }
}

README

Unplain MCP

Your assistant writes the ebook or report. Unplain designs it and hands back a publish-ready PDF.

Unplain is a hosted Model Context Protocol server. Ask for a document and your assistant writes it, picks a design (or applies a brand you have saved), generates a cover, and exports a finished PDF with a composed cover, a table of contents built from the headings, real pagination and a closing call-to-action page. You never leave the chat, and you never open a design tool.

Two things follow from that, and they are the reason to use this rather than asking a model for a PDF directly:

  • It comes out the same every time. Brand Themes are stored, so the tenth document matches the first. Your assistant can create one and reuse it.
  • Revisions cost no tokens. Every document is a real project in your Unplain account, and the tools return an editor link. Fix a sentence by clicking it, not by asking the model to regenerate the file.

Unplain does not write your content, and through MCP it does not take file uploads: your assistant supplies the words as Markdown. Uploading a .docx or a .txt is a web app feature, not an MCP one.

  • Endpoint: https://app.unplain.io/api/mcp
  • Transport: Streamable HTTP
  • Auth: Authorization: Bearer <api-key> (a bare Authorization: <api-key> is also accepted)
  • Install: nothing to install
  • Docs: https://unplain.io/mcp
  • Pricing: included on every plan, free and Pro. https://unplain.io/pricing

This repository is documentation. The server is hosted, so there is no package to install and no source to run. Issues and questions are welcome here.

Publishing to the official MCP Registry: see PUBLISHING.md. The manifest is server.json.


Quick start

1. Get an API key

Create one at account settings. It is shown once. A free account works for everything below.

2. Add the server

Claude Code

bash
claude mcp add --transport http unplain https://app.unplain.io/api/mcp \  --header "Authorization: Bearer unp_your_key_here"

Full guide: https://unplain.io/mcp/claude-code

Codex

bash
export UNPLAIN_API_KEY="unp_your_key_here"
codex mcp add unplain \  --url https://app.unplain.io/api/mcp \  --bearer-token-env-var UNPLAIN_API_KEY

Full guide: https://unplain.io/mcp/codex

Anything else

Any client that can add a remote MCP server and send an Authorization header works. You need two values:

Server URL:  https://app.unplain.io/api/mcpHeader:      Authorization: Bearer unp_your_key_here

A client that only supports servers running on your own machine cannot connect yet.

3. Say hello

List the Brand Themes in my Unplain account and tell me which one is the default.

An empty list is still a success: the connection is live, you have not saved a theme yet.

4. Make something

Write a short ebook called "The Email Welcome Sequence Playbook" with an introand five chapters. Use my default Brand Theme, then export the PDF.

Tools

Twelve tools. Names and behaviour are current as of the version in CHANGELOG.md.

ToolWhat it does
get_accountReport the plan this key belongs to and the limits that apply. Worth calling before writing anything long.
get_design_optionsThe font catalog, the built-in presets, and the allowed range of each typography and spacing setting.
list_brand_themesList saved Brand Themes.
create_brand_themeSave a new Brand Theme: colors, fonts, links.
update_brand_themeChange a theme's name, colors, fonts or links.
create_ebookCreate a project from a title and Markdown.
list_ebooksFind the caller's projects.
get_ebookRead a project back as a structured outline.
update_ebookRewrite paragraphs, headings and lists, change cover copy and style, apply a theme, or replace the body.
generate_cover_imageAI cover artwork, drawn from the section headings or from your direction.
export_ebookRender the designed PDF.
get_export_statusPoll a running export and get the download link.

Notes that matter in practice

  • Edits are atomic and version-checked. An assistant cannot overwrite a change you made in the web app in the meantime; a stale write is rejected rather than applied over your work.
  • Design can be described rather than specified. "A stark monochrome report" or "an elegant independent literary journal" resolves to real settings, chosen from what Unplain actually supports rather than guessed.
  • Fonts outside the catalog are refused, not substituted. What you see in the app is what lands in the PDF.
  • Cover generation uses your existing allowance, the same one the button in the app draws on. There is no separate MCP allowance. Overwriting an existing cover needs an explicit go-ahead, so a repeated request cannot silently spend a second generation.
  • Download links are signed and expire. The project is saved, so export again rather than hoarding the URL.

Plans and limits

The MCP is an interface, not a tier. A key carries exactly the capabilities of the account behind it, and the same limits apply whether you work in the web app or through an assistant.

FreePro
Content pages per exported PDF5Unlimited
Saved projects5Unlimited
Brand Themes125
AI covers1 lifetime30 per period
"Made with Unplain" badgeAlwaysRemovable

Cover, contents and call-to-action pages never count toward the page limit. Current pricing: https://unplain.io/pricing


Example prompts

See examples/prompts.md for a fuller set. A few to start:

Take the Markdown in notes.md and create an Unplain ebook called "Q3 GrowthReport". Use my default Brand Theme, then wait for the export and give me thePDF link.
Open my Unplain ebook "Q3 Growth Report", read the outline, rewrite theintroduction so it opens with a concrete number instead of a general claim,then export a fresh PDF.
Analyse the churn data in ./data, write it up as a report with an executivesummary, three findings and a recommendation, then create it in Unplain usingmy "Acme" theme and export the PDF.

Keeping your key safe

Treat it like a password.

  • Codex reads it from an environment variable, which keeps it out of config files.
  • Claude Code's -s project writes a .mcp.json in the project root. Do not commit a real key in it. Use a placeholder and have each person supply their own; a key acts in the account it belongs to.
  • Revoke from account settings. Revocation takes effect immediately. Keep one key per client so you can revoke one without disturbing the rest.

Troubleshooting

SymptomCause
Every tool call failsThe key is not reaching the server. The header must be Bearer (with the space) then the key, and the URL must end in /api/mcp with no trailing slash. A bad key returns 401, which most clients report as a failed connection.
Tools do not appearRestart the client. New servers are picked up at session start.
Codex cannot find the keyIt reads the environment at launch. Export it in your shell profile and start Codex from a shell that has it.
"No Brand Themes"The connection works, you have not saved one. Your assistant can create one, or design from the built-in presets.
Export says the ebook is too longFree exports up to 5 content pages. Shorten it or upgrade. The project is saved either way.
Too many requestsPer-account rate limits on creates and exports. Wait a minute.

More: https://unplain.io/mcp


Support

License

Documentation and examples in this repository are MIT licensed. The Unplain service itself is governed by its terms and privacy policy.

来源:README.md,提交 b0c084c

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分