Skip to main content

Scrybe MCP server — standalone inbound MCP server (binary wheel)

Project description

scrybe-mcp-server

Inbound MCP server: exposes Scrybe's editing capabilities as MCP tools that external agents (Claude Code, Codex, custom agents) can call. Python on the outside, Rust on the inside.

What it does

Implements the MCP JSON-RPC 2.0 protocol over stdio. An AI agent connects to this process and gains structured, safe access to open Markdown documents — reading, editing, searching, rendering, and managing the running app — without direct filesystem access.

Role in the architecture

scrybe-mcp-server is the agent-facing surface of Scrybe. It holds an in-memory Workspace (from scrybe-core) and coordinates with scrybe-render and scrybe-mermaid to serve tool calls. The Tauri app launches it as a sidecar process. Agents connect via:

claude mcp add scrybe -- scrybe-mcp-server stdio

Exposed tools (12)

Tool Description
open Open a Markdown file or directory; returns document ID
read Return raw Markdown source of an open document
section Extract a heading section by H-level and 0-based index
edit Replace first occurrence of old_text with new_text
find Search for a string; returns matching lines with line numbers
render Render an open document to HTML (theme: default/dark/solarized)
embed Embed Mermaid source into a PNG as an iTXt metadata chunk
extract Extract Mermaid source from a PNG
lint Word count, heading count, code blocks, broken links
logs Tail recent console log entries from the running app
close_tab Close a tab in the running app by file path
quit Gracefully terminate the running Scrybe app window

Key public types

Symbol Description
McpServer Top-level server: owns the stdio transport loop
ToolRegistry Dispatches tool calls; holds the Workspace and id map
TOOL_NAMES &[&str] slice of all 12 tool name strings

Build and test

cargo build -p scrybe-mcp-server
cargo test -p scrybe-mcp-server

# Install the binary
cargo install --path .

The binary (scrybe-mcp-server) speaks MCP over stdio. Add it to any MCP client's server list with transport stdio.

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

scrybe_mcp_server-0.4.0.tar.gz (86.7 kB view details)

Uploaded Source

Built Distributions

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

scrybe_mcp_server-0.4.0-py3-none-win_amd64.whl (1.5 MB view details)

Uploaded Python 3Windows x86-64

scrybe_mcp_server-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

scrybe_mcp_server-0.4.0-py3-none-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file scrybe_mcp_server-0.4.0.tar.gz.

File metadata

  • Download URL: scrybe_mcp_server-0.4.0.tar.gz
  • Upload date:
  • Size: 86.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scrybe_mcp_server-0.4.0.tar.gz
Algorithm Hash digest
SHA256 98c5c92096c1b0cdf1dafb1a4b619ef8e81855405d9e5432b38b2a77bb6864e9
MD5 416d8c67a2aaf5500830daaf87a4b540
BLAKE2b-256 b89d49f57dd7510ac199a7e275f5bd33d90d7a430f732a2417cf46743122e3ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_mcp_server-0.4.0.tar.gz:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scrybe_mcp_server-0.4.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for scrybe_mcp_server-0.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ab0fe9af03395106e5b5b1780f53eee94670338158b13feb33effe1d9ea5524a
MD5 6b586dd3771badd3847aaf8b8f36eb35
BLAKE2b-256 5ffeaae6b93b3b1b098997f371029c9ddcc6bda4ddd07c759d8db486d11a8ab9

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_mcp_server-0.4.0-py3-none-win_amd64.whl:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scrybe_mcp_server-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for scrybe_mcp_server-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f0abbf2141639dff9b996a643d614666adfd8900de12e6ec3755284ccdaca75
MD5 2a2270591602a8850181d05611fcef50
BLAKE2b-256 09df65c98653ac67840b17819addf161b54d439cc6dbeadd6913583deed3ef43

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_mcp_server-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scrybe_mcp_server-0.4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for scrybe_mcp_server-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e016e2c6b4f36f93b7b00ca3da983818aeaad7abefb8aea1c27449310a623c59
MD5 572292e88599856e13f84bb78b17417b
BLAKE2b-256 076e21767624f70416fc0f10bc40c007c0702eac903419db7d8676a08593dcc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for scrybe_mcp_server-0.4.0-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on hartsock/scrybe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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