惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
U
Unit 42
腾讯CDC
D
Docker
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
I
InfoQ
Jina AI
Jina AI
爱范儿
爱范儿
宝玉的分享
宝玉的分享
博客园 - Franky
G
Google Developers Blog
P
Proofpoint News Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
PasteAI: One MCP Tool Call, One Shareable Link
Tim Little · 2026-05-19 · via DEV Community

Tim Little

PasteAI Hero

Have you ever asked Claude to write up an analysis, then had no good place to put it?

I asked Claude to pull together a summary from a long Slack thread on a production incident. It wrote up the timeline, root cause, and action items in about thirty seconds. But it was sitting in a chat window, and sharing it meant copying the markdown somewhere else and hoping the formatting survived.

That is what prompted me to build PasteAI.

The Problem

When Claude produces something useful, the output lives in a chat window. If I want to share it, I am choosing between losing the formatting in a paste box, making the reader sign in somewhere, or screenshotting it and throwing away the text. None of those are right for a document that took thirty seconds to generate and five minutes to find a home for.

What I actually want is simple: Claude publishes a document, I get a link, and the link just works. No login for the reader, no third-party service, no reformatting.

What PasteAI Does

Think of it as a pastebin, but with properly rendered documents. Claude calls a tool, and the result is a clean URL with syntax highlighting and a readable layout, not raw markdown in a paste box.

PasteAI demo

Claude has two tools: publish_document, which takes a title and markdown content and returns a URL; and list_documents, which returns recent public documents.

The URL opens a rendered document with a themed UI and dark mode. The theme is saved in localStorage.

Documents are stored as plain markdown files in ~/.pasteai/documents/, with a metadata index at ~/.pasteai/documents.db. The content stays as plain files so you can grep them, back them up, or open them in any editor without the server running.

PasteAI is built for local use first, which makes it practical for solo developers and small teams without any infrastructure overhead.

Scripts and external tools can push documents without Claude via the REST API; protect writes with an API key.

Getting Started

The quickest way to install is:

curl -sSL https://raw.githubusercontent.com/pasteai/pasteai/main/install.sh | sh

Enter fullscreen mode Exit fullscreen mode

This sets up the binary and configures Claude Code automatically. PasteAI is also available via Homebrew, Scoop, and on the releases page as .deb, .rpm, and Windows packages.

Run pasteai setup if you need to reconfigure, or pasteai doctor to check that everything is connected.

Three Modes

PasteAI can run in three modes depending on how you want to use it.

By default, when Claude Code launches the MCP server, PasteAI also starts an HTTP server inside the same process. No separate setup needed. This is embedded mode, and it is what I use day to day. The server runs while Claude Code is open and stops when you close it.

For a persistent server, run pasteai serve directly or via Docker Compose and point the MCP client at it with PASTEAI_URL. For sharing across devices or teams, deploy with -base-url and use Tailscale for private access.

The code is at github.com/pasteai/pasteai, MIT licensed. PRs are welcome.

If you are spending time finding a home for AI output that should take seconds to share, this might help.

How are you currently handling Claude’s output when you need to share it, what does your workflow look like?