Skip to main content

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:3000 with 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)

Source distribution for textbook-cover-mcp 0.2.0
File Size Uploaded
textbook_cover_mcp-0.2.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textbook-cover-mcp 0.2.0
File Interpreter ABI Platform
textbook_cover_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

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}

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page