Mobi Mcp

by hhk-png

284 downloads
Not rated
GitHub

Description

<a href="./README-zh.md">中文文档</a> This project is an MCP related to mobi files, providing an MCP tool for reading mobi file contents. ## Tools: ### **reset or init epub(initEpubFile)** **Parameters:** - `filePath`: The absolute path of the file in the file system. **Returns**: -…

About

<a href="./README-zh.md">中文文档</a> This project is an MCP related to mobi files, providing an MCP tool for reading mobi file contents. ## Tools: ### **reset or init epub(initEpubFile)** **Parameters:** - `filePath`: The absolute path of the file in the file system. **Returns**: - void ### **get spine-(get spine)** ###…

Details

Author
hhk-png
Downloads
284
Categories
Other

- initEpubFile – reset or initialize a Mobi file from its absolute path
- getSpine – retrieve the spine (reading order) of the ebook
- getToc – extract the table of contents
- loadChapter – load the content of a specific chapter
- getCoverImage – get the cover image data
- getFileInfo – obtain basic file information
- getMetadata – retrieve ebook metadata (title, author, etc.)
- resolveHref – resolve hyperlinks within the ebook

The server exposes several MCP tools. To read a Mobi file, provide its absolute file path as the filePath parameter to the initEpubFile tool, then use the other tools (e.g., loadChapter, getSpine, getToc) to access different parts of the ebook.

<a href="./README-zh.md">中文文档</a>

This project is an MCP related to mobi files, providing an MCP tool for reading mobi file contents.

Tools:

reset or init epub(initEpubFile)

Parameters:

- filePath: The absolute path of the file in the file system.

Returns

- void

get spine-(get spine)

get table of contents-(getToc)

load chapter-(loadChapter)

get cover image-(getCoverImage)

get file info-(getFileInfo)

get metadata-(getMetadata)**

resolve href-(resolveHref)

For detailed explanation of the above tools, please refer to: https://github.com/hhk-png/lingo-reader/blob/main/README.mdhttps://github.com/hhk-png/lingo-reader/blob/main/packages/mobi-parser/README.md. This MCP simply calls the api of @lingo-reader/mobi-parser.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.