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.1.0a1.tar.gz (70.4 kB view details)

Uploaded Source

File details

Details for the file scrybe_mcp_server-0.1.0a1.tar.gz.

File metadata

  • Download URL: scrybe_mcp_server-0.1.0a1.tar.gz
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for scrybe_mcp_server-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 238df771e52f3158eb8e7edba3bc975df34b2d53a14dea6b6b1699ec5de770ff
MD5 a195353c51ed6ccb5eafbda5a45f88b2
BLAKE2b-256 5f7e10b767a444f22c8a66239b6acbbd88059456a860bed0b35a7f3bc1061239

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