brewpage-mcp: A Model Context Protocol server for publishing and managing BrewPage content

brewpage-mcp: A Model Context Protocol server for publishing and managing BrewPage content

brewpage-openapi•bykochetkov-ma

A Model Context Protocol server exposing 32 tools that let AI agents publish HTML, Markdown, files, sites, JSON and key-value data through the BrewPage hosting API.

License: Apache 2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides 32 typed tools to publish HTML, Markdown, files, sites, JSON and KV content, plus deletion, visibility and listing operations.
  • •Supports custom domains with tools to connect, verify and remove a domain for published pages and sites.
  • •Offers a remote Streamable HTTP MCP endpoint requiring no installation, with the same 32 tools.
  • •Includes page-data tools for reading visitor-submitted entries and writing author entries without republishing.

BEST FOR

  • •AI agents that generate reports or HTML artifacts and need a stable shareable URL.
  • •Pipelines that persist JSON state between conversation turns without external storage.
  • •Tools that deploy a complete multi-file static site from a ZIP archive.

ABOUT BREWPAGE-OPENAPI

brewpage-mcp: A Model Context Protocol server for publishing and managing BrewPage content is cataloged as an MCP server attributed to kochetkov-ma. A Model Context Protocol server exposing 32 tools that let AI agents publish HTML, Markdown, files, sites, JSON and key-value data through the BrewPage hosting API. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for brewpage-mcp: A Model Context Protocol server for publishing and managing BrewPage content are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the MCP server require installation or authentication?

A remote Streamable HTTP server at the BrewPage MCP endpoint provides the same 32 tools without authentication, while a local stdio fallback is also available.

上游原版 README

在 GitHub 查看同一版本原文

README.md · b21284df874e · 采集于 2026-11-13 12:41:13 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

BrewPage API -- Open Source Public Layer

npm brewpage-mcp npm n8n-nodes-brewpage PyPI langchain-brewpage PyPI llama-index-tools-brewpage GitHub Marketplace: Publish to BrewPage OpenAPI 3.1 MCP server brewpage-mcp License Apache-2.0 Deploy Docs Release GitHub stars

kochetkov-ma/brewpage-openapi MCP server Brewpage MCP on mcprush Verified on Appside

This repository is the open-source public layer of BrewPage -- a proprietary HTML/KV/JSON/file hosting platform. The backend, frontend, and infrastructure remain closed-source.

Docs: https://kochetkov-ma.github.io/brewpage-openapi/ | API Reference: https://kochetkov-ma.github.io/brewpage-openapi/api-reference/

What is BrewPage

BrewPage is a free instant hosting service for HTML pages, Markdown documents, multi-file sites, AI artifacts, JSON documents, key-value stores, and binary files. No signup or API key required for creation. Use the exact returned primary HTTPS link; publications may use a BrewPage path or their own content host.

Key characteristics:

  • HTML and Markdown pages -- publish raw HTML or Markdown rendered to styled HTML, up to 5 MiB, with instant short URLs.
  • Multi-file sites -- upload a ZIP archive or individual files (up to 200 files, 5 MiB per file, 20 MiB total; current values at GET /api/limits) and get a fully served static site.
  • Key-value store -- KV pairs addressed by namespace/store ID, up to 1,000 keys per store, mutable in place via the owner token.
  • JSON documents -- store and retrieve arbitrary JSON, up to 1 MiB per document, 10,000 documents per namespace.
  • File hosting -- upload any safe file type (images, PDFs, video, audio, archives, code), up to 5 MiB (video 20 MiB), with inline preview.
  • Visibility -- REST omitted ?ns= publishes privately; MCP omitted namespace generates a private namespace: unlisted and not indexed; anyone with the link can still open it. public lists HTML, sites and files in the gallery and sitemap, so Google, Bing and AI search can find and index them; public pages are served on the brewpage.app domain for the strongest reach (a site always gets its own subdomain). Never put secrets in a public publication. Password-protected publications, JSON and KV are never listed. POST …/visibility {"listed":false} hides a public publication, link unchanged.
  • Owner tokens -- every publish response includes an ownerToken. Use it to update content in place (stable URL), delete it, or list your own resources. No account needed. Optional: sign in free (Google or any email) at https://account.brewpage.app to never lose your pages or tokens and to mint tokens that never expire. Not needed to publish. Creates also return a private manageUrl (management link) for that one publication: an assistant gives it to the user with the link; never post it publicly.
  • TTL -- default 15 days, ordinary maximum 30 days (90 with an owner token in a profile), configured through the REST ttl query parameter. Owner-specific caps and eligible automatic extensions can affect expiry; use returned expiresAt.
  • Access -- unprotected reads and creation require no account. Protected reads use X-Password; owner updates, deletion and scoped lists use X-Owner-Token. Rate limits depend on operation/visibility; handle 429 and Retry-After.

The API base URL is https://brewpage.app. brewdata.app is a redirect domain: every path answers 301 to brewpage.app.

Choosing a host? See how BrewPage compares with GitHub Pages, Netlify Drop, Tiiny Host and other tools: brewpage.app/compare.

Why this matters for LLMs and agents

AI agents frequently need to share structured outputs -- reports, artifacts, generated HTML, intermediate JSON state -- with users or downstream systems via a stable URL. BrewPage provides that as a zero-setup REST API: one POST call, one URL back. No OAuth, no S3 bucket configuration, no infrastructure. The MCP server (brewpage-mcp) wraps the API into thirty-two typed tools that any MCP-compatible agent (Claude, Codex, Gemini, Cursor) can call directly.

Quick Start

Publish an HTML page and get a shareable link:

curl -X POST 'https://brewpage.app/api/html?ns=public&format=html&ttl=15' \
  -H "Content-Type: application/json" \
  -H "User-Agent: MyAgent/1.0" \
  -d '{"content": "<h1>Hello, world!</h1>"}'

Response:

{
  "id": "aBcDeFgHiJ",
  "namespace": "public",
  "link": "https://brewpage.app/public/aBcDeFgHiJ",
  "ownerLink": "https://brewpage.app/api/html/public/aBcDeFgHiJ",
  "ownerToken": "your-secret-token",
  "expiresAt": "2026-06-04T02:00:00Z",
  "sizeBytes": 22
}

Open link in any browser -- no further steps required.

Use Cases for LLMs and Agents

ScenarioAPI call
An AI agent generates a shareable HTML report and needs a stable URL to return to the userPOST /api/html -- returns link immediately
A GPT pipeline needs to persist JSON state between conversation turns without external storagePOST /api/json?ns=myproject then GET /api/json/myproject/{id}
A code-generation tool produces a downloadable file (PDF, archive, script) and needs to host itPOST /api/files -- file served with correct MIME type and inline preview
An agent publishes an artifact and later refines it without invalidating the shared URLPUT /api/html/{ns}/{id} with X-Owner-Token -- content replaced, URL unchanged
A multi-step pipeline deploys a complete static site (HTML + CSS + JS) from a ZIPPOST /api/sites with archive=@site.zip -- all files served with relative links intact

API Features

ResourceDescriptionLimits
HTML pagesRaw HTML or Markdown with instant short URLs5 MiB, TTL 1--30d
Key-value storeNamed key-value pairs addressed by namespace/store ID1,000 keys/store
JSON documentsStore and retrieve arbitrary JSON with owner-scoped listing1 MiB, 10,000 docs/namespace
FilesUpload files with automatic MIME detection and inline preview5 MiB (video 20 MiB), 1,000 files/namespace
SitesMulti-file HTML sites via ZIP or individual files20 MiB total, 200 files, 5 MiB/file, TTL 1--30d

Creation returns a primary link and owner token. Keep the token for management and share the link exactly. Password-protected publications are never listed. TTL and supported inputs vary by operation.

API Examples

Publish Markdown:

curl -X POST "https://brewpage.app/api/html?format=markdown" \
  -H "Content-Type: application/json" \
  -H "User-Agent: MyAgent/1.0" \
  -d '{"content": "# My Document\n\nHello **world**"}'

Store a JSON document:

curl -X POST https://brewpage.app/api/json \
  -H "Content-Type: application/json" \
  -H "User-Agent: MyAgent/1.0" \
  -d '{"name": "config", "version": 1}'

Upload a site (ZIP archive):

curl -X POST "https://brewpage.app/api/sites" \
  -H "User-Agent: MyAgent/1.0" \
  -F "archive=@site.zip;type=application/zip"

Update content in place (stable URL):

curl -X PUT "https://brewpage.app/api/html/public/aBcDeFgHiJ" \
  -H "Content-Type: application/json" \
  -H "User-Agent: MyAgent/1.0" \
  -H "X-Owner-Token: your-secret-token" \
  -d '{"content": "<h1>Updated content</h1>"}'

Get platform stats:

curl https://brewpage.app/api/stats

API Reference

The backend-generated public JSON contract owns schema authority. YAML is derived deterministically; Scalar serves an identical JSON copy. See openapi/openapi.provenance.json for export provenance. Correct backend generation before importing a new snapshot; do not author schemas in YAML.

Both imports run in one step and neither output is hand-edited: node scripts/sync-openapi.mjs <backend export public.json> writes the contract, its YAML, the Scalar copy and the provenance; node scripts/sync-guide.mjs <brewpage-app>/frontend/src writes the MCP Page data guide (mcp-server/src/guides/page-data.ts) from llms-full.txt and llms.txt and fails when the cheat-sheet block or the call-shapes line is missing; the same run writes the custom-domain status and problem tables (mcp-server/src/guides/custom-domain.ts) from the Custom Domains section of llms-full.txt.

Endpoints

TagDescription
HTMLPublish, retrieve, update, delete HTML/Markdown pages
KVKey-value store CRUD (get, set, list, delete keys)
JSONJSON document CRUD with owner-scoped listing
FilesFile upload, download, list, delete
SitesMulti-file site upload (ZIP or files), info, serve, delete
GalleryBrowse public content with search and pagination
StatsPlatform-wide usage statistics
Short LinksURL shortener for published content
SEOSitemap and robots.txt endpoints
ReportsAbuse reports for published content
NamespaceCollision-free namespace suggestions
Custom DomainsShow an HTML page or site on a domain you own: set, check DNS, list, remove
Page dataWhat visitors save on a page (form answers, guestbook, votes): read, write author entries, change settings, delete

MCP Server

The brewpage-mcp package provides a Model Context Protocol server with 32 tools for AI-assisted content publishing and management. Selected tools appear below; see mcp-server/README.md for the complete list and documentation.

Package releases use .github/workflows/release.yml with package-scoped npm Trusted Publisher/OIDC for kochetkov-ma/brewpage-openapi, workflow release.yml, without an environment. CI needs no NPM_TOKEN, manual npm login or static-token rotation. Local npm whoami does not validate GitHub Actions OIDC authentication. Publication to the official MCP registry (io.github.kochetkov-ma/brewpage-mcp) is automatic via GitHub OIDC in the same workflow; no local mcp-publisher token is needed.

To retry publication from a local terminal, dispatch the current main workflow:

gh workflow run release.yml --repo kochetkov-ma/brewpage-openapi --ref main

Rerunning historical tag workflows that used token authentication is unsupported; use current main instead. The retry checks the matching version tag and unchanged MCP source, and skips publication when that version already exists.

ToolDescription
publish_htmlPublish HTML, Markdown, code or JSON content with optional password, TTL, filename, and top toolbar
publish_fileUpload a file from a URL
publish_sitePublish a single-page or multi-file HTML site
delete_resourceDelete any resource (HTML, site, KV, JSON, file) by owner token
set_visibilityList or unlist a public publication in the gallery and sitemap
make_privateMake a public publication private: new private link, the public link stops working
set_badgeHide or show the BrewPage badge on a publication of your profile, up to 5 hidden
set_titleRename an HTML page or site; the title stays on republish
set_domainConnect a domain you own to an HTML page or site; returns the DNS records to create
check_domainRun a DNS check once the records exist; status pending_dns -> verifying -> active
list_domainsRead one custom domain's status and DNS records without a check, or list the profile's custom domains
remove_domainRemove a custom domain; the BrewPage link keeps working
get_guideRead a short guide: Page data before writing a page that saves what visitors enter, or the custom-domain steps
get_page_dataRead what visitors saved on your page: settings and usage, or one list's entries
set_page_dataWrite author entries (for example today's menu) without republishing
configure_page_dataChange who can read a list and its limits
delete_page_dataDelete entries by id or by time range
get_pageFetch a published HTML page and its content
get_statsGet platform-wide usage statistics

Remote (no install)

One remote MCP server for every client: https://brewpage.app/mcp (Streamable HTTP, no authentication, same 32 tools). Add it by URL in Claude (a custom connector), ChatGPT (a custom MCP server) or any Streamable HTTP client.

Claude Code: claude mcp add --transport http brewpage --scope user https://brewpage.app/mcp (leave out --scope user to add it to the current project only), or in .mcp.json:

{
  "mcpServers": {
    "brewpage": {
      "type": "http",
      "url": "https://brewpage.app/mcp"
    }
  }
}

Claude.ai and Claude Desktop

Claude calls a remote MCP server a custom connector. Add it once in Claude on the web; Claude Desktop picks it up too. Nothing to install.

  1. Open Customize > Connectors.
  2. Click + Add, then Add custom connector.
  3. Name it BrewPage, paste https://brewpage.app/mcp and click Continue.
  4. Click Continue again, choose No sign in under Authentication and click Add.

The free plan includes one custom connector.

Local fallback (stdio, needs Node.js; the same tools): add to ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Claude Code

The remote command above is the default. Local fallback (stdio, needs Node.js): add to project-root .mcp.json:

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

Claude Code plugin, run in Claude Code:

/plugin marketplace add kochetkov-ma/claude-brewcode
/plugin install brewdoc@claude-brewcode
/brewdoc:publish

Gemini CLI

gemini extensions install https://github.com/kochetkov-ma/brewpage-openapi

Resources

Support: info@brewpage.app

BrewPage is described using schema.org/SoftwareApplication structured data on the platform homepage.

What's Open Here

ComponentDescription
OpenAPI 3.1 specComplete API contract for all public endpoints (YAML + JSON)
Interactive docsAstro + Scalar documentation site (GitHub Pages)
MCP serverbrewpage-mcp -- Claude Desktop/Code integration (32 tools)
WikiCode snippets, cheatsheet, tips & tricks
Release notesChangelog for API and public tooling

What's Proprietary

ComponentDescription
BackendSpring Boot + Kotlin REST API
FrontendHTML/CSS/JS + Caddy reverse proxy
InfrastructureVPS deployment, CI/CD pipelines
E2E test suitePlaywright + Testcontainers

Project Structure

brewpage-openapi/
  openapi/
    openapi.json          # OpenAPI 3.1 spec (JSON)
    openapi.yaml          # OpenAPI 3.1 spec (YAML)
  docs/                   # Astro documentation site
    src/
      pages/              # Documentation pages
      components/         # Scalar API reference
  mcp-server/             # MCP server (brewpage-mcp)
    src/
      index.ts            # Server entry point
  .github/
    workflows/            # CI/CD (docs deploy, releases)
  README.md
  RELEASE-NOTES.md
  LICENSE

License

Apache 2.0 covers this repository's contract/docs layer. The independently packaged MCP server uses MIT. The hosted backend, frontend and infrastructure remain proprietary. SDK/CLI module specifications are proposals; they do not establish released packages.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for brewpage-mcp: A Model Context Protocol server for publishing and managing BrewPage content from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/brewpage-openapi)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable
Site views (30 UTC days)1

Approximate reported site interactions from 2026-10-27 through 2026-11-25 UTC; not unique visitors or installations.

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools