Skip to main content

MCP server that captures the screen of a Supernote tablet via its built-in screencast

Project description

supernote-mirror-mcp

MCP server that captures the screen of a Supernote tablet via its built-in screencast.

Captures can be diffed, trimmed to the ink, cropped and scaled to keep vision token usage down: a raw frame costs an LLM ~2500 tokens, a trimmed half-scale capture of a few written lines ~70. Measured on an A6 X2 "Nomad" (1404x1872), the only model this has been tested on; larger screens such as the Manta (1920x2560) cost proportionally more.

Prerequisites

  • A Supernote tablet on the same Wi-Fi network, with screen mirroring enabled from the quick-access panel (swipe down from the top of the screen and tap the mirroring icon, beside the rotate icon). Enabling mirroring shows a dialog with the device's URL; it disappears at the first touch.
  • uv, for uvx.

Setup

With Claude Code:

claude mcp add supernote -- uvx supernote-mirror-mcp

For any other MCP client, register uvx supernote-mirror-mcp as a stdio server. The command takes no arguments. With the standard JSON config:

{
  "mcpServers": {
    "supernote": {
      "command": "uvx",
      "args": ["supernote-mirror-mcp"]
    }
  }
}

Tools

  • setup - updates or reports the configuration and checks the device connection.
  • capture_screen - returns an image sized for an LLM to interpret directly. Supports optional region cropping (x/y/w/h) and an auto_trim that crops surrounding white space.
  • capture_changes - returns the area that changed since the last capture.

Configuration

On first use, call the setup tool with the address from the mirroring dialog (host, plus port if not the default 8080); it applies the options and reports whether the device is responding. The optional save parameter writes the configuration to config.json in the platform config directory so future sessions start connected.

Licence

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supernote_mirror_mcp-0.2.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supernote_mirror_mcp-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file supernote_mirror_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: supernote_mirror_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for supernote_mirror_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 689c5d01fc5742941faea4b471535996c6631ca4ed6363aa06011c2e5cad7b03
MD5 552fa8241048fa15a7a221cfb17272c5
BLAKE2b-256 5883abba04fd1573398b90cdbd7b166726fd2e8018068c1fa545819aad12b86e

See more details on using hashes here.

File details

Details for the file supernote_mirror_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: supernote_mirror_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for supernote_mirror_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22ce6bbd1c231047f00ef3b8f449c30b12b6b80f0bcfdc2af2cda3601b6021ca
MD5 65520aa5f06922cdada174e0b7b141d4
BLAKE2b-256 60ddb171958882d0610756dc1926a6509f998c72cf448b67057facb754468cbe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page