websitepublisher-mcp
v2.0.0
Published
MCP Bridge - Connects Claude Desktop/Code to WebsitePublisher.ai for AI-powered website building
Maintainers
Readme
WebsitePublisher MCP Bridge
🌐 Connects offline AI tools to WebsitePublisher.ai
This package bridges Claude Desktop and Claude Code to WebsitePublisher.ai, enabling AI-powered website creation and publishing through natural conversation.
What is this?
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────┐
│ Claude Desktop │ ──── │ MCP Bridge │ ──── │ WebsitePublisher.ai │
│ Claude Code │ stdio│ (this pkg) │ https│ Central Server │
└─────────────────┘ └─────────────────┘ └─────────────────────┘The MCP Bridge is a lightweight connector that:
- Translates Claude's MCP protocol to HTTPS calls
- Authenticates with your WebsitePublisher.ai account
- Provides access to all your projects
All website logic runs on WebsitePublisher.ai servers - this bridge just connects your local AI to the cloud.
Quick Start
1. Get your token
Visit dashboard.websitepublisher.ai and log in to get your session token.
2. Configure Claude Desktop
Edit your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"websitepublisher": {
"command": "npx",
"args": ["-y", "websitepublisher-mcp@latest"],
"env": {
"WPS_TOKEN": "wps_your_token_here"
}
}
}
}3. Restart Claude Desktop
The WebsitePublisher tools will now be available in Claude.
Available Tools
Once connected, Claude can:
| Tool | Description |
|------|-------------|
| list_projects | List all your projects |
| get_project_status | Get page/asset counts for a project |
| list_pages | List all pages in a project |
| get_page | Get a page's content |
| create_page | Create a new HTML page |
| update_page | Update an existing page |
| delete_page | Delete a page |
| list_assets | List all assets (images, CSS, JS) |
| upload_asset | Upload a new asset |
| delete_asset | Delete an asset |
Example Conversation
You: Create a landing page for my coffee shop called "Bean There"
Claude: I'll create that for you. Let me first check your projects... [uses list_projects]
I see you have a project "Bean There Website". I'll create a landing page with a warm, inviting design... [uses create_page with full HTML]
Done! Your landing page is live at https://beanthere.websitepublisher.ai
Managing Projects
This bridge gives you access to all your projects. To create new projects or manage settings, visit:
🎛️ dashboard.websitepublisher.ai
Troubleshooting
"Missing WPS_TOKEN"
Make sure you've added your token to the Claude Desktop config and restarted Claude.
"Could not fetch tools from server"
Check that your token is valid and hasn't expired. Get a new one from the dashboard.
Tools not showing up
- Check Claude Desktop logs for errors
- Try running manually:
WPS_TOKEN=wps_xxx npx websitepublisher-mcp@latest
Links
Version History
- v2.0.0 - Bridge architecture (tools loaded from central server)
- v1.0.1 - Initial release (standalone implementation)
License
MIT
