Pastebase MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Pastebase MCP Serverget brand guidelines from stripe.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pastebase Model Context Protocol (MCP) Server
An official Model Context Protocol (MCP) stdio server that connects your local AI coding assistants—like Cursor IDE, Claude Desktop, and Cline—to the Pastebase extraction engine.
With this server active, your AI assistant can programmatically crawl, audit, and absorb the design systems, color tokens, typography scales, sitemaps, and copywriting guide of any live website. This feeds highly accurate, real-world context directly into your code generation windows.
┌──────────────────┐ ┌──────────────┐ ┌────────────────────┐
│ AI Assistant │ ──────> │ Local MCP │ ──────> │ Pastebase API │
│ (Cursor/Claude) │ <────── │ Server │ <────── │ https://pastebase │
└──────────────────┘ └──────────────┘ └────────────────────┘✨ Features
Semantic Extraction: Extracts style variables, design parameters, layouts, and copy hierarchies from any live HTTP/HTTPS URL in under 30 seconds.
Three Specialized Output Modes:
brand: Color tokens, active typography weights, voice description, target audience, and messaging guardrails.copy: High-fidelity copy blocks organized by page layout sections to preserve copy during migrations.structure: Structural outline, head outline (H1-H6 outline), navigation trees, and footer links.
Deep Scrape Support: Crawl a single page or automatically follow local sub-links (up to 5 pages) to merge sitemaps and guide layouts.
Related MCP server: DOM Inspector Plus MCP Server
📋 Prerequisites
Node.js: Installed on your machine (v18.0.0 or higher recommended).
Pastebase API Key: An active developer key. You can generate one inside your Pastebase Developer Dashboard.
🚀 Setup & Installation
First, clone this repository locally (or download the source directory) to a path on your machine (e.g., C:/developer/pastebase-mcp or /Users/name/developer/pastebase-mcp).
Navigate into the directory and install the required dependencies:
cd pastebase-mcp
npm install⚙️ Configuration Guides
1. Configure in Cursor IDE
To integrate the tool into Cursor:
Open Cursor Settings -> Features -> MCP.
Click + Add New MCP Server.
Configure the settings:
Name:
pastebaseType:
stdioCommand:
node C:/path/to/pastebase-mcp/index.js(Note: Replace with the actual absolute path to index.js on your machine, using forward slashes/).
Under Environment Variables:
Key:
PASTEBASE_API_KEY, Value:your_pb_live_api_key_hereKey:
PASTEBASE_API_URL, Value:https://pastebase.site
Click Save.
2. Configure in Claude Desktop
Open your Claude Desktop configuration file. This file is usually located at:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the pastebase server configuration to the mcpServers object:
{
"mcpServers": {
"pastebase": {
"command": "node",
"args": ["C:/absolute/path/to/pastebase-mcp/index.js"],
"env": {
"PASTEBASE_API_KEY": "your_pb_live_api_key_here",
"PASTEBASE_API_URL": "https://pastebase.site"
}
}
}
}(Make sure to use absolute paths with forward slashes / on Windows).
Restart Claude Desktop. You will see a new tool icon active in the prompt input field.
3. Configure in Cline (VS Code Extension)
Open the configuration file for Cline, typically located at:
Windows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.jsonmacOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Append the pastebase object to the mcpServers object in the JSON file.
🛠️ Tool Reference
pastebase_extract
Extracts design specs, sitemaps, or text copy from a target website.
Arguments
Argument | Type | Required | Description |
| string | Yes | The absolute HTTP/HTTPS URL of the website to scrape (e.g. |
| string | No | The extraction target. Options: • |
| string | No | Crawl depth. Options: • |
💬 Prompt Examples
Once configured, your AI assistant can use the tool automatically when you prompt it to analyze websites. Here are examples:
UI Redesign:
"Use pastebase to fetch the brand guidelines for https://linear.app, and then write a React Tailwind landing page component matching their color system and font pairings."
Copy Migration:
"Can you scrape the text copy from https://stripe.com/payments using the
copymode on pastebase, and summarize their primary value proposition?"Site Architecture Audit:
"Run a
sitescope sitemap audit on https://notion.so using pastebase, and map out their main navigation page structure."
🔍 Troubleshooting & Logging
If the tool fails or does not appear in your editor:
Verify Absolute Paths: Ensure the path in your config points directly to
index.jsand that you used forward slashes (/), even on Windows.Inspect Claude Desktop Logs:
Windows: Check files under
%APPDATA%\Claude\logs\macOS: Run
tail -f ~/Library/Logs/Claude/mcp*.login your terminal to see real-time error logging.
Verify API Key: Confirm your Pastebase API Key is copied correctly and has not been revoked.
🛡️ Security & Privacy Notice
The MCP server only executes actions when explicitly prompted.
All requests are securely routed over HTTPS.
Pastebase respects standard
robots.txtspecifications and checks requests against standard Private Subnet and SSRF protection lists.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to crawl websites, extract and store web content with semantic search capabilities using vector embeddings, and retrieve information through natural language queries with tag-based filtering and intelligent content cleaning.
- Alicense-qualityDmaintenanceGives Claude the ability to inspect and extract UI components from any webpage through a Chrome extension, enabling element discovery, style extraction, and design token analysis.MIT
- Alicense-qualityDmaintenanceEnables AI coding assistants to extract screenshots, DOM content, and structured frontend analysis from public links, including Axure prototypes.1MIT
- Alicense-qualityDmaintenanceProvides AI agents and assistants with advanced web crawling and RAG capabilities, enabling them to scrape websites and perform semantic search over crawled content.1MIT
Related MCP Connectors
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/abxn4r/PasteBase-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server