Skip to main content
Glama

marginalia

Turn any Markdown into a browser-based, click-to-comment thread over MCP. Comments record as clean, anchored MCP tool_results; replies render as in-page, re-annotatable cards. One portable FastMCP-over-stdio server, launched with uvx, installs identically across Claude Code, Cline, and opencode.

See USAGE.md for the tool loop and environment variables.

Install

marginalia runs via uvx straight from git — no clone, no PyPI release needed. The snippets below pin the latest release tag, @v2.1.0. To track unreleased changes instead, swap the tag for @main.

Warm the cache once: the first uvx --from git+… resolve can take long enough that a client drops the server on first launch. Run the bare command once in a terminal to populate the uvx cache, then start your client. marginalia is a stdio MCP server (no --help), so redirect stdin from /dev/null to make it exit immediately once the cache is warm:

uvx --from git+https://github.com/Jin-HoMLee/marginalia@v2.1.0 marginalia </dev/null

Claude Code

claude mcp add --scope user marginalia -- uvx --from git+https://github.com/Jin-HoMLee/marginalia@v2.1.0 marginalia

Optional (for CC's lazy-loaded skill UX): copy USAGE.md to ~/.claude/skills/marginalia/SKILL.md and prepend a two-line frontmatter (name: marginalia / description: …). The repo ships no maintained SKILL.md.

Cline (cline_mcp_settings.json)

{
  "mcpServers": {
    "marginalia": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/Jin-HoMLee/marginalia@v2.1.0", "marginalia"],
      "env": { "MARGINALIA_POLL_S": "540" },
      "timeout": 3600
    }
  }
}

MARGINALIA_POLL_S is optional here — 540 is already the default, so the env block can be dropped entirely. It's shown only to make the long-poll window explicit.

If Cline is launched from the VS Code GUI and can't find uvx on PATH, use the absolute path to uvx (e.g. ~/.local/bin/uvx) as command.

opencode (opencode.json)

{
  "mcp": {
    "marginalia": {
      "type": "local",
      "command": ["uvx", "--from", "git+https://github.com/Jin-HoMLee/marginalia@v2.1.0", "marginalia"],
      "environment": { "MARGINALIA_POLL_S": "20" },
      "enabled": true
    }
  }
}

MARGINALIA_POLL_S=20 is required — opencode caps MCP tool execution at ~30s, so the default 540s long-poll would be killed.

Related MCP server: Terrarium

Develop

git clone https://github.com/Jin-HoMLee/marginalia && cd marginalia
python3 -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
pytest          # 44 tests

License

MIT — see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityStale
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Live markdown preview for LLM agents. Call a single tool to watch a markdown file and it opens a browser UI that streams rendered updates, changes, and history.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables reviewing Markdown files in a browser with inline annotations, submitting or cancelling reviews, and returning structured feedback through the review_markdown MCP tool.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jin-HoMLee/marginalia'

If you have feedback or need assistance with the MCP directory API, please join our Discord server