Textbook Cover Editor MCP Server
A Model Context Protocol (MCP) server built with FastMCP that allows AI assistants (like Claude) to programmatically interact with a live Textbook Cover Editor canvas.
This server acts as a bridge between your AI assistant and a local Node.js backend (http://127.0.0.1:3000), enabling the AI to retrieve canvas states, create new design elements, update existing ones, and delete them in real-time.
Features
- Read Canvas State: Fetches the current live state of the document.
- Add Elements: Create rectangles, ellipses, triangles, stars, arrows, lines, rich text, and markdown-formatted tables.
- Update Elements: Modify coordinates, dimensions, colors, text content, and layer names dynamically.
- Delete Elements: Remove items from the canvas via their unique IDs.
- Rich Text Support: Automatically translates standard text into character-by-character rich text payload arrays.
Prerequisites
- Python 3.8 or higher.
- A running Node.js backend server at
http://127.0.0.1:3000with the/api/document/...endpoints configured. - An AI client that supports the MCP standard (e.g., Claude Desktop).
Installation
Install the package directly from PyPI:
pip install textbook-cover-mcp
{
"mcpServers": {
"textbook-cover-editor": {
"command": "uvx",
"args": [
"textbook-cover-mcp"
],
"env": {
"TEXTBOOK_API_KEY": "user_secret_123",
"ACTIVE_PROJECT_ID": "proj_98765"
}
}
}
}
Metadata
Release files for textbook-cover-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| textbook_cover_mcp-0.1.3.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| textbook_cover_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / textbook_cover_mcp-0.1.3.tar.gz
| Download URL | textbook_cover_mcp-0.1.3.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
310ba069fd104cf83d61e0b5f3fc6708389fdaf52781f186395d016e5e2322ee
|
|
BLAKE2b-256 checksum How to use checksums |
e3e57009f32e52f706029467d2c43020dbaefe9f8697d83fce3afd723dae22eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / textbook_cover_mcp-0.1.3-py3-none-any.whl
| Download URL | textbook_cover_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06209cdedc8ce8261b727a61346680d47bf340f9be09af50bcac7ede90f7528d
|
|
BLAKE2b-256 checksum How to use checksums |
3f96edb35c65573f87de267bf5717e579c60b84a796f1b1df46bef896404e90c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|