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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| textbook_cover_mcp-0.2.0.tar.gz | 5.4 kB | Without provenance | Details for textbook_cover_mcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| textbook_cover_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for textbook_cover_mcp-0.2.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / textbook_cover_mcp-0.2.0.tar.gz
| Download URL | textbook_cover_mcp-0.2.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
854c383e719185564bf5e2993aed155c4747de5c78e2d7b059384f38af2c7284
|
|
BLAKE2b-256 checksum How to use checksums |
d73f320b5f8729833077dd7511b779bf88c48b885f3a2eaeb1eaa491312c19a9
|
| 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.2.0-py3-none-any.whl
| Download URL | textbook_cover_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07f58cd50b243810a59f526ffcc77e0c220411a44796d282136a09fec1da6ed6
|
|
BLAKE2b-256 checksum How to use checksums |
dede4e6c664cbb881dec3e60274975e8d12556ef161a74a61ff38c812ca6c7e5
|
| 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}
|
Security for textbook-cover-mcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.