brewpage-mcp

Publish HTML, Markdown, KV, JSON, files to brewpage.app from AI assistants.

brewpage-mcp

npm version License: MIT

MCP server for BrewPage -- publish and manage HTML, KV, JSON, and file content directly from AI assistants.

Quick Start

npx brewpage-mcp

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "brewpage": {
      "command": "npx",
      "args": ["-y", "brewpage-mcp"]
    }
  }
}

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "brewpage": {
      "command": "npx",
      "args": ["-y", "brewpage-mcp"]
    }
  }
}

Global Install

npm install -g brewpage-mcp
brewpage-mcp

Tools

ToolDescription
publish_htmlPublish HTML or Markdown content -> URL + owner token
publish_fileUpload file from URL -> URL + owner token
delete_resourceDelete resource with owner token
get_pageFetch published page content
get_statsPlatform-wide statistics

Usage Examples

Ask Claude:

  • "Publish this HTML to BrewPage" -> Creates a page, returns public URL
  • "Create a BrewPage with my meeting notes in Markdown" -> Markdown page
  • "Upload this image to BrewPage" -> File upload
  • "Delete my page demo/abc123, token tok_xyz" -> Deletes resource
  • "Show BrewPage stats" -> Platform statistics

Owner Token

Every publish response includes an owner token -- the only way to update or delete your content. Save it! It cannot be recovered.

Configuration

VariableDefaultDescription
BREWPAGE_URLhttps://brewpage.appAPI base URL

What is BrewPage?

BrewPage is a free content hosting platform. No signup required.

  • HTML/Markdown pages with instant short URLs
  • Key-value store (1,000 keys per store)
  • JSON documents (10,000 per collection)
  • File hosting (5 MB per file)

Both brewpage.app and brewdata.app serve the same API.

Links

License

MIT

相关服务器

NotebookLM 网页导入器

一键将网页和 YouTube 视频导入 NotebookLM。超过 200,000 用户信赖。

安装 Chrome 扩展