Teneo Book Generation

io.github.Traviseric由 GitHub 账号 Traviseric 发布v1.0.3更新于 Oct 27, 2026

Publish-ready nonfiction books from a topic: manuscript, cover, PDF/EPUB/DOCX. Free outline to try.

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

Teneo 的 MCP 服务器,让助手根据一个主题生成完整、可直接出版的非虚构图书:完整书稿、封面以及 PDF/EPUB/DOCX 文件。

可以做什么
  • 查询能力、定价、请求结构与输出形式
  • 异步启动整本书生成,并轮询任务状态获取下载链接
  • 仅生成大纲,或基于种子主题做细分市场调研(均免费)
  • 仅生成封面,或对已生成的图书进行质量评估
适用场景
适合让智能体产出带封面和导出文件的长篇非虚构图书,并接受按次以 Teneo 积分付费的场景。建议先用免费的大纲和细分调研验证方向。不适合简短回答、博客文章或小说。
运行要求
以 stdio 本地运行,通常通过 npx 启动,需要 Node.js。需要 Teneo 凭证:仪表盘中的 TENEO_API_KEY,或委托代理令牌。可用 TENEO_BASE_URL 指向 staging 环境。首次付费调用前账户需有 Teneo 积分余额。
安装前请注意
付费生成会从密钥所有者或委托用户的 Teneo 积分余额扣费;默认请求约 1.05 积分,按标价约 72 美元。整本书约需 45 分钟,下载链接约 1 小时后失效。请妥善保管 API 密钥,并在自动化循环中先确认报价。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Teneo Book Generation,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

teneo-book-mcp

MCP server for Teneo. Lets any MCP-capable agent — Claude Desktop, Cursor, Claude Code, or your own — generate a complete, publish-ready non-fiction book: full manuscript, cover, and PDF/EPUB/DOCX files.

json
{  "mcpServers": {    "teneo-book": {      "command": "npx",      "args": ["-y", "teneo-book-mcp"],      "env": { "TENEO_API_KEY": "tk_live_..." }    }  }}

Tools

ToolWhat it does
teneo_capabilitiesDiscover auth, pricing, request shape, workflow, and output shape. Start here.
teneo_generate_bookStart a book (async) → returns a jobId. Runs ~45 min. Charged in credits.
teneo_book_statusPoll a job; when completed, returns download URLs for the cover and PDF/EPUB/DOCX.
teneo_generate_outlineGenerate an outline only, without running the full pipeline. Free.
teneo_research_nicheNiche research from a seed topic. Free.
teneo_generate_coverGenerate a cover only.
teneo_evaluate_bookRun quality evaluation on an existing generated book.

What it costs

Priced in Teneo credits. One credit is $69 singly, $59 each in a 3-pack, $44.90 each in a 10-pack; credits never expire.

requiredCredits = bookCredits + coverCredits + qualityCreditsReservebookCredits     = wordBandCredits(estimatedWordCount) x modelMultiplier(model_version)estimatedWordCount = number_of_chapters x topics_per_chapter x subtopic_count x 350

A default request (12 chapters / 3 topics / 3 subtopics) estimates 37,800 words → 1.05 credits, about $72 at list. teneo_generate_outline and teneo_research_niche cost nothing, so validate direction before committing to a paid generation.

A funded Teneo balance is required before the first paid call — there is no pay-per-call endpoint yet. The live numbers, the full model-multiplier table, and the request schema are always at /api/agent/capabilities, which is authoritative if anything here disagrees with it.

Setup

Get a credential, then add the config block above to your MCP client.

  • Preferred (delegated): start at auth.teneo.io/auth.md, register for https://teneo.io/, have the user approve the claim, and exchange it for a delegated agent token. Pass it as TENEO_AGENT_TOKEN. The delegated user is charged.
  • Legacy: create an API key in your Teneo dashboard and pass TENEO_API_KEY=tk_live_....
  • Point at staging with TENEO_BASE_URL=https://staging.teneo.io.

Spend semantics

Worth knowing before you wire this into an autonomous loop:

  • Quoted before charged. A request that would exceed the balance returns 402 with the full quote and charges nothing — a safe way to read the exact price.
  • Idempotent. Send an Idempotency-Key header; replaying a request replays the original debit instead of charging twice.
  • Refunded on failure. A failed generation is refunded in full.
  • Async. A book takes ~45 minutes. Poll teneo_book_status, or pass callback_url for a completion webhook. Download URLs expire in ~1 hour; re-poll for fresh ones.

Not for

A single short answer, a blog post, or an article — answer those directly instead. Fiction and novels are not supported by this API.

Develop

bash
npm test          # unit tests for the HTTP client (mocked fetch, no network)npm start         # run the MCP server over stdio

client.mjs is a dependency-free HTTP client; server.mjs wraps it as MCP tools. Both mirror the published OpenAPI contract.

Links

License

MIT

来源:README.md,提交 893587c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

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

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