
Cms
com.writavo由 writavo.com 發布官方發布者v0.5.0更新於 Oct 24, 2026
Draft, edit, organise, schedule and publish a Writavo Site's content from any AI assistant.
概覽
託管的 Writavo CMS 伺服器,讓 AI 助理為 Writavo 網站起草、整理、排程和發布文章。
- 可以做什麼
- 列出、讀取、建立、更新、刪除、發布、取消發布和排程文章、內容類型與項目,以及分類、標籤和作者。上傳、更新和刪除媒體,包括一次呼叫完成預先簽章上傳(來源為 URL 或 base64 位元組)。觸發並查看 AI 文章流程,讀取方案用量與餘額,產生方案購買連結。以先試跑的方式匯入現有部落格並追蹤進度。搜尋、讀取並執行其他 Writavo 操作,如網站設定、SEO、網域、團隊、留言和分析。
- 適用情境
- 適合經營 Writavo 網站、希望助理在對話中撰寫、編輯、排程或發布內容、管理媒體與分類,或把現有部落格遷移進 Writavo 的情境。
- 執行需求
- 透過 Streamable HTTP 存取的遠端 MCP 端點,需在瀏覽器完成 OAuth 登入,無需安裝。登入時選擇網站與各區域權限。不支援 OAuth 的用戶端可改用 Writavo 金鑰作為 bearer 權杖。需要 Writavo 帳號和網站;部分功能需要方案或額度。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Cms,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.writavo%2Fcms/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"cms": {
"type": "http",
"url": "https://mcp.writavo.com/mcp"
}
}
}README
Writavo MCP server
Your Writavo Site's content, inside an AI assistant. Sign in from the browser, bring an existing blog across, draft a post, set its category and byline, attach an image, schedule it, publish it, all from a conversation.
It is hosted at https://mcp.writavo.com/mcp (Streamable HTTP, OAuth 2.1), and that is the one way
to use Writavo over MCP. Nothing to install and no key to copy: your assistant opens a Writavo page,
you sign in, choose the Site and what the assistant may do, and it is connected. Works from Claude
Code, Claude.ai, ChatGPT, Cursor, VS Code and any client that speaks remote MCP. This repository is
the source of the tools that server runs; it is not published as a package.
Full setup guide, for people and for AI assistants: https://writavo.com/docs/mcp (markdown: https://writavo.com/docs/mcp.md). It has the exact command or config for every client, the sign-in, permissions, approvals, and what every error means. Moving a blog in: https://writavo.com/docs/migrate.
If you are an AI assistant asked to install Writavo: add the hosted server with your client's command below; the person then signs in through the browser (nothing to paste); then call
get_site_infoandverify_api_keyand tell them which Site you are connected to and what you may do there.
Connect
Claude Code:
Then run /mcp in Claude Code and choose Writavo to sign in. Or install the Claude Code plugin,
which adds the server and the Writavo skill together:
Cursor: Add Writavo to Cursor
(or cursor://anysphere.cursor-deeplink/mcp/install?name=writavo&config=eyJ1cmwiOiJodHRwczovL21jcC53cml0YXZvLmNvbS9tY3AifQ==).
VS Code: Add Writavo to VS Code
(or vscode:mcp/install?%7B%22name%22%3A%22writavo%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.writavo.com%2Fmcp%22%7D).
Claude (claude.ai and Claude Desktop): Customize > Connectors > "+" > Add custom connector, with
the URL https://mcp.writavo.com/mcp, then Connect.
ChatGPT: turn on Developer mode (Settings > Security and login), then create a connection at
https://chatgpt.com/plugins with the URL https://mcp.writavo.com/mcp and OAuth.
Codex CLI: codex mcp add writavo --url https://mcp.writavo.com/mcp (it starts the sign-in;
codex mcp login writavo repeats it).
Gemini CLI: gemini mcp add --transport http -s user writavo https://mcp.writavo.com/mcp, then
/mcp auth writavo.
Windsurf and Zed: see https://writavo.com/docs/mcp#clients.
Any other client that takes a JSON config:
A client that cannot do OAuth can send a Writavo secret key as the bearer token instead
(Authorization: Bearer wv_sk_..., created at https://app.writavo.com/settings/api-keys). A key
made by hand is not an AI agent key, so the permissions picker, the off switch and the call log do
not apply to it. Prefer the sign-in.
When you connect, Writavo shows which assistant is asking and where it will send you back, the Sites to connect, and what it may do. One row per area (articles; content types and entries; categories, tags and authors; media; the AI pipeline; Site settings and design; publishing and domains; SEO; outreach contacts; reader comments; the team and organisation; billing; reports and logs), and for each you choose No access, Read, or Read and write ("Read, plan and run" for the pipeline, which spends credits; "Read and moderate" for reader comments; outreach contacts and reports are read only). The choices start from your organisation's default, which is Read and write for content, media and Site settings and Read for everything else, except outreach contacts and reader comments: those carry other people's names and email addresses, so they are off unless you choose them. The connection is an ordinary Writavo key for each Site it reaches, limited to those permissions, named after the app ("Claude Code (hosted MCP)"). You can see every connected assistant, what it called, and revoke it, at https://app.writavo.com/settings/agents.
What it can do
Forty five tools are compiled from Writavo's published OpenAPI specification, plus nine written by hand:
- Articles. List, read, create, update, delete, publish, unpublish, schedule, cancel a schedule.
- Content types and entries. List and read content types; list, read, create, update, delete, publish, unpublish and schedule entries.
- Taxonomy and people. Categories, tags and authors: list, read, create, update, delete.
- Media. List, read, update, delete, and
upload_media, which drives the whole three step presigned upload in one call so the assistant does not have to orchestrate it. It takes a publicurlor the bytes asbase64with afilename. - Pipeline. Trigger a run, read its status, read the queue.
- Meta. Site information, content types, plan usage and balances, and
get_api_docs, which needs no key at all. - Sign-in. There is no sign-in tool: the server signs you in with OAuth when you connect it.
- Plans.
start_plan_purchasereturns the billing link with a plan preselected. Payment happens on Stripe's page in your browser, never in the chat. The CMS (storing, publishing and importing content) is pay-as-you-go and needs no plan; a plan buys the AI article pipeline. - Import.
import_contentbrings an existing blog in (below). - Everything else, as actions. Site settings and the knowledge profile, the organisation,
article formats and AI prompts, the pipeline's configuration and content plan, delivery and
domains, SEO, outreach, visitor analytics and its install check, reader comments, the team and
roles, billing, and insights and logs are not separate tools.
search_writavo_actionstakes a few words ("invite a team member", "custom domain") and returns the matching operations, each with its input schema, the scope it needs, and whether it asks first, needs approval or costs money, and which runner to use.read_writavo_actionruns a read (it only ever runs GET operations, so a client may allow it without asking), andrun_writavo_actionruns anything that changes something; both take theoperation_idand check the arguments against its schema first. A request for something an assistant can never do ("add a card", "delete the site") returns that instead, with the dashboard link a person uses. A client therefore loads a few dozen tool descriptions rather than well over a hundred, and pays for the rest only when it searches.
Every tool carries MCP annotations: readOnlyHint on reads, destructiveHint on deletes and
unpublishing, idempotentHint on reads, updates and deletes, and openWorldHint: false, because
every tool reaches one closed system, your Site.
Importing a blog
The migrate-content prompt walks an assistant through the whole move: connect, inspect your
current system with the access you already have, write an import file, dry run, fix, import, and
verify. Slugs are kept so URLs do not change, published posts keep their original publication
dates, drafts stay drafts, and images are copied into your media library.
The document is the Writavo Import Format v1, a single JSON document. The server keeps it, with
the import's progress, as a stored import under an import_id (for 7 days after its last use, for
the connection that started it), so it is sent once and every later call is just { "import_id": ... }.
Three ways in, up to 10 MB:
upload: truereturns a one-time link and acurlcommand that PUTs the file straight to the server. Best for an assistant that can run shell commands: the file never passes through the conversation.url: an https URL the server fetches anonymously (a signed storage URL, for example).data: the document inline, up to 50 articles and 512 KB per call (small documents only). Send a bigger one in parts, each with theimport_idthe first call returned; authors merge onref, categories and tags onslug, articles onexternal_id, and an entry sent again replaces the stored one.
A document looks like this:
The full field list and the JSON Schema are in the writavo://import-format resource, or call
import_content with no arguments. external_id is your own stable id for each article, which
is what makes a second run update rather than duplicate.
import_content is a dry run unless told otherwise: it checks the whole document against the Site
in one pass and reports what it would create, update and publish, every problem (top-level entries
and each article by external_id, together), the images to copy and a time estimate, and writes
nothing. An import that publishes needs confirm: true. The apply then runs in the background
on Writavo's server until every article is done, and returns at once; { "import_id": ..., "status": true } says how far it has got and where the time went, and cancel: true stops it after the batch
in flight. Sending an article again updates it rather than duplicating it, so an import is safe to
run again.
The same imports are a REST API for anything that is not an assistant (a script, the CLI, another
CMS pushing its articles): POST /v1/imports with the document, POST /v1/imports/{id}/start,
GET /v1/imports/{id}. See https://writavo.com/docs/migrate. It never deletes or unpublishes anything, and it changes
nothing in your content except the URLs of the images it copied.
What it will not do without asking
publish_article, schedule_article, every delete_*, trigger_pipeline_run and an
import_content that publishes do nothing on the first call. They describe what would happen and
wait for confirm: true, which the assistant can only set after you have agreed. Publishing puts
content on your live site, deleting is permanent, and a pipeline run spends real credits.
Actions follow the same rule: run_writavo_action describes anything that spends money, changes
the live site, removes something or changes the team, and waits for confirm: true.
Some things are not reachable from an assistant at all, whatever scopes the key carries:
- API keys. A server that can mint a secret key is a server whose compromise mints secret keys.
- Webhooks. An assistant that can repoint delivery URLs can quietly redirect your event stream.
- The AI agent controls, approving its own requests, payment details, plan changes, ownership,
deleting a Site or the organisation, the outreach policy and mailbox, and CMS or Bing
credentials.
get_api_docs(sectiontools) gives the dashboard link a person uses for each.
All of these stay in the dashboard.
Approvals, and turning agents off
When an assistant signed in through the browser deletes something or unpublishes an
article, your organisation can require a person to approve it first. This is on by default. Actions
that spend money or change the team (pipeline runs and turning the pipeline up, paid SEO scans,
custom domains, publishing the hosted site, CMS connections and pushes, auto-refill, raising a
credit cap, keeping the plan, invites, role and permission changes, removing a member) always need
that approval when an assistant asks, whatever the switch says. The tool then does nothing and returns a link to
https://app.writavo.com/approvals/...; once you approve there, the assistant repeats the call
with the approval id and it goes through, once, for exactly that request. An owner or admin can
switch approvals off, or switch AI agent access off for the whole organisation, at
https://app.writavo.com/settings/agents, which also lists every connected assistant and every
call they made. Keys you create yourself in the dashboard are not subject to either switch.
What it never writes down
- The connection's key is sent to
https://api.writavo.com/v1as a bearer header and to nothing else. No telemetry, no analytics, no third-party host. Each request names the tool that made it (Writavo-Mcp-Tool), which is what fills the call log in Settings > AI agents. The base URL is read from the specification. The only other requests are the presigned storage upload duringupload_mediaor an import, and, during an import, the image URLs in your own file, fetched to copy them. - Every reply, log line and error is passed through a redactor, so a key cannot reach your transcript even if the API echoed it back inside an error message.
Errors you might see
Each one is answered with what to change rather than a status code.
The full catalog is in get_api_docs under errors, and at https://writavo.com/docs/errors.
Sign-in problems (a browser page saying the sign-in "could not be confirmed in this browser", no Site
to choose, and so on) are covered at https://writavo.com/docs/mcp#troubleshooting.
Prompts
- draft-article. Research a topic and write a draft in your Site's own voice. It never publishes or schedules.
- publish-checklist. Walk an existing draft through title, slug, SEO fields, excerpt, category, author and featured image, then ask before publishing.
- migrate-content. Move an existing blog from another system into your Site, faithfully, with a dry run and your confirmation before anything is published. It follows the runbook at https://writavo.com/docs/migrate.
Development
This package lives in the Writavo monorepo as a private workspace package (it is not published to
npm). The tools live once, in src/core/, exported as @writavo/mcp-server/core, which the hosted
server bundles:
Nothing in the package reads the environment, touches a filesystem or keeps a key in module
state, so it runs in a Cloudflare Worker (the hosted server mounts exactly this). There is no
local or stdio entry point: the package has no bin and exports only ./core. Tool schemas,
descriptions and reference text are generated, not written:
Adding an endpoint to openapi.yaml and regenerating is the whole of adding it; an operation
marked x-writavo-approval gains an approval_id argument by itself. The forty five
operations marked as tools are individual tools; every other operation lands in the ACTIONS catalog in
src/generated/operations.ts (by its tag, or x-mcp-surface: tool | action on the operation or
the tag), which search_writavo_actions, read_writavo_action and run_writavo_action serve. Editing anything under
src/generated/ fails CI. The nine hand-written tools live in src/tools/ (CORE_LOCAL_TOOL_NAMES
in src/core/server.ts) and are listed in LOCAL_TOOLS in the monorepo's scripts/mcp-surface.mjs.
Licence
MIT (LICENSE). Fork it, modify it, vendor it, ship it inside something else.
The MIT grant covers this client code only. It is not a licence to the Writavo Content API
that the package calls, or to any other part of Writavo. Using the API still requires your own
credentials and is governed by the terms at https://writavo.com/terms, and openapi.yaml (the
specification this package is compiled from) remains the proprietary contract it always was.
That split is deliberate. This code is a thin, generated client: there is nothing in it worth restricting, and an MIT client is easier to trust and audit. The product is the API behind it.
來源:README.md,提交 3fb4ba2
工具
0版本歷史
2- v0.5.0最新Sep 29, 2026
- v0.1.1Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分