MCP.so
登录

Epub MCP Server

@hhk-png

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

hhk-png

提交者

hhk-png

关于 Epub MCP Server

mcp about load content from epub file

#epub#mcp#epub-reader

Epub MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "epub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "epub-mcp"
      ]
    }
  }
}

Epub MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Epub Mcp?

Epub Mcp is an MCP server that provides a set of tools for reading EPUB file contents. It is designed for use with MCP clients such as cline (formerly known as cline) and wraps the @lingo-reader/epub-parser library to expose EPUB reading capabilities as MCP tools.

How to use Epub Mcp?

Install and run using npx -y epub-mcp or execute directly with Node.js via <Installation Directory>/node_modules/epub-mcp/dist/index.mjs. Configure it under mcpServers in your MCP client (e.g., cline) using the command/args syntax. On Windows use cmd /c npx -y epub-mcp for compatibility.

Key features of Epub Mcp

  • Initialize or reset an EPUB file (initEpubFile)
  • Retrieve the collection list (getCollection)
  • Get file information (getFileInfo)
  • Obtain the manifest (getManifest)
  • Read metadata (getMetadata)
  • Navigate the nav list (getNavList)
  • Get the page list (getPageList)
  • Retrieve the spine (getSpine)
  • Access the table of contents (getToc)
  • Load a specific chapter (loadChapter)

Use cases of Epub Mcp

  • Extract metadata (title, author, etc.) from EPUB files
  • Browse the full table of contents of an ebook
  • Load and display individual chapters programmatically
  • Analyze the manifest and spine structure of an EPUB
  • Build an AI‑powered reading assistant using MCP tools

常见问题

1

What dependencies does Epub Mcp require?

Epub Mcp requires Node.js and `npx` runtime. It internally uses the `@lingo-reader/epub-parser` library, which is bundled when installed via npm.

2

How do I configure Epub Mcp on Windows?

On Windows use the following JSON configuration: `"command": "cmd"` with `"args": ["/c", "npx", "-y", "epub-mcp"]` to ensure compatibility.

3

Does Epub Mcp modify EPUB files?

No. All tools are read‑only — they retrieve information but do not alter the EPUB file.

4

What tools does Epub Mcp provide?

Epub Mcp offers 10 tools: `initEpubFile`, `getCollection`, `getFileInfo`, `getManifest`, `getMetadata`, `getNavList`, `getPageList`, `getSpine`, `getToc`, and `loadChapter`. Detailed documentation is available in the linked library’s README.

5

Where can I find the detailed tool documentation?

The underlying API documentation for `@lingo-reader/epub-parser` is at https://github.com/hhk-png/lingo-reader/blob/main/packages/epub-parser/README-zh.md (Chinese).

评论

其他 分类下的更多 MCP 服务器