Skip to main content
Glama
xarl3z

magzdown-mcp

README.md
# Magzdown agent tools

[![magzdown-mcp on Glama](https://glama.ai/mcp/servers/xarl3z/magzdown-agent-tools/badges/score.svg)](https://glama.ai/mcp/servers/xarl3z/magzdown-agent-tools)

Your agent writes a report. Instead of dumping markdown in the chat, it hands you a link that opens as a typeset, paginated document. This repo has three ways to teach an agent that: a Claude Code skill, a Cursor rule, and an MCP server.

![Paste markdown, get a magazine](assets/paste-to-magazine.gif)

## Install

### Claude Code skill

```bash
git clone https://github.com/xarl3z/magzdown-agent-tools
mkdir -p ~/.claude/skills
cp -r magzdown-agent-tools/skills/magzdown ~/.claude/skills/magzdown
```

Per project instead: copy to `.claude/skills/magzdown/` inside the repo. Then ask Claude to "open this in magzdown" or "make this report readable".

### Cursor rule

```bash
mkdir -p .cursor/rules
cp magzdown-agent-tools/cursor/magzdown.mdc .cursor/rules/
```

The rule is `alwaysApply: false`; Cursor picks it up from its description when you ask to share or present a document.

### MCP server

```bash
cd magzdown-agent-tools/mcp
npm install && npm run build
claude mcp add magzdown -- node "$PWD/dist/index.js"
```

Cursor and Claude Desktop config is in [mcp/README.md](mcp/README.md). The tool is `open_in_magzdown({ markdown, title? })` and returns the link. Set `MAGZDOWN_AUTO_OPEN=1` to also open it in your browser.

## How the URL works

The markdown is the URL. Two bytes (`0x01 0x00`) go in front of the UTF-8 text, the payload is base64-encoded, made URL-safe (`+` to `-`, `/` to `_`, padding stripped) and placed after `https://www.magzdown.com/open?md=`. The reader decodes it in the browser; nothing is uploaded and no account is needed. Keep documents under about 100 KB or the URL may get truncated. The full spec with a test vector is in [shared/encode.md](shared/encode.md) and at https://www.magzdown.com/docs.

## Links

- Docs: https://www.magzdown.com/docs
- Pricing: https://www.magzdown.com/pricing

## License

MIT. Not affiliated with Anthropic, OpenAI or Cursor.

TDQS

A4.6/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusing it with another tool. Its purpose is singular and clearly defined.

Naming Consistency5/5

With a single tool, the naming is inherently consistent. The name open_in_magzdown clearly indicates an action and a target context.

Tool Count3/5

A single tool is borderline for a server; it is focused but minimal. It may be sufficient for a very narrow purpose, but it feels thin compared to typical MCP servers.

Completeness4/5

The tool fully covers the apparent core purpose of rendering markdown to a Magzdown link. There is no explicit need for additional operations, though some validation or configuration options could be considered minor gaps.

Maintenance

ActivityMaintained
ResponsivenessNo issues