Skip to main content
Glama
fuhei

tomato-writer-mcp

by fuhei

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOMATO_COOKIEYes登录后任意 /api/author 请求的完整 Cookie 头
TOMATO_CSRF_TOKENYes同一请求头里的 X-Secsdk-Csrf-Token(会话级固定)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_novelsA

列出当前账号下的所有小说(book_id、书名、字数、总阅读数、连载状态)。多本小说时用它来选择操作目标。

switch_novelA

切换当前要操作的小说(传 book_id,可先用 list_novels 查)。之后的发布、数据查询默认作用于这本,直到再次切换。

get_current_novelA

查看当前选中的小说。

get_novel_statsA

获取小说阅读数据:书级概览(总阅读数 read_count、字数、连载状态)+ 各章阅读/追读明细。不传 book_id 用当前选中的小说。

list_chaptersA

列出小说各分卷下的章节(含定时待发 / 已发布状态)。不传 book_id 用当前选中的小说。

publish_chapterA

发布或定时发布一章到当前(或指定)小说。内容二选一:① 直接传 title + content;② 传 file(Markdown 稿件路径)+ chapter_no 自动提取(标题取章节行)。publish_time 传 ISO 时间则定时/预约发布,省略则立即发布。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fuhei/tomato-writer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server