Website Builder MCP Server
An MCP server for automated website generation that transforms Excel spreadsheets and structured data into responsive portfolios, catalogs, and directories. It enables users to create complete websites, add pages, and generate components through natural language and template-based integration.
README
Website Builder MCP Server
A Model Context Protocol (MCP) server for automated website generation with Excel data integration.
๐ Features
- โ Multiple Website Templates - Portfolio, blog, catalog, directory
- โ Excel Data Integration - Build websites directly from Excel files
- โ Component Generation - Navbar, hero, cards, forms with multiple styles
- โ Responsive Design - Modern CSS framework with mobile support
- โ MCP Protocol - Full Model Context Protocol server implementation
- โ Automated Pages - Generate individual pages from Excel rows
๐ Excel Integration
Transform Excel spreadsheets into complete websites:
Product Catalog ๐ฆ
- Excel Format: Product Name, Description, Price, Category, Image
- Generates: Product grid, individual product pages, category filtering
- Perfect for: E-commerce sites, inventory displays
Staff Directory ๐ฅ
- Excel Format: Name, Title, Department, Email, Phone, Bio
- Generates: Team overview, individual profiles, department pages
- Perfect for: Company websites, organization directories
Portfolio Sites ๐ผ
- Excel Format: Project Name, Description, Technologies, Link, Status
- Generates: Project showcase, technology filtering, project details
- Perfect for: Developer portfolios, agency showcases
Custom Data Sites ๐
- Excel Format: Any structured data
- Generates: Data tables, searchable listings, custom layouts
- Perfect for: Reports, listings, catalogs
๐ ๏ธ Installation
# Clone the repository
git clone https://github.com/pmkhairnarr/website-builder-mcp.git
cd website-builder-mcp
# Install dependencies
npm install
# Start the MCP server
npm start
๐ Usage
Basic Website Creation
// Create website from template
{
"name": "create_website",
"arguments": {
"name": "my-portfolio",
"template": "portfolio",
"title": "My Portfolio",
"description": "Showcasing my work"
}
}
Excel-Powered Websites
// Build from Excel file
{
"name": "build_from_excel",
"arguments": {
"excelFile": "./examples/sample-products.xlsx",
"template": "catalog",
"siteName": "product-catalog",
"sheetName": "Products"
}
}
๐ Project Structure
website-builder-mcp/
โโโ server.js # Main MCP server
โโโ package.json # Dependencies & scripts
โโโ templates/ # HTML/CSS templates
โ โโโ base.html # Base page template
โ โโโ styles.css # Responsive CSS framework
โโโ examples/ # Sample Excel files
โ โโโ sample-products.xlsx
โ โโโ sample-directory.xlsx
โ โโโ sample-portfolio.xlsx
โโโ websites/ # Generated websites
โโโ tests/ # Test files
๐ง Available Tools
Core Tools
create_website- Create from templatesadd_page- Add pages to existing sitesgenerate_component- Create HTML componentslist_websites- List all created sites
Excel Tools
build_from_excel- Generate complete sites from Excel data
๐ Excel File Format
Product Catalog Example
| Product Name | Description | Price | Category | Image | In Stock |
|---|---|---|---|---|---|
| Wireless Headphones | High-quality wireless... | $199.99 | Electronics | image.jpg | Yes |
Staff Directory Example
| Name | Title | Department | Phone | Bio | |
|---|---|---|---|---|---|
| John Smith | Software Engineer | Engineering | john@company.com | 555-0101 | Experienced developer... |
Portfolio Example
| Project Name | Description | Technologies | Link | Status |
|---|---|---|---|---|
| E-commerce Platform | Full-stack solution... | React, Node.js | github.com/... | Completed |
๐งช Testing
# Test Excel integration
npm run test:excel
# Test MCP server
npm test
# Run direct functionality test
node direct-test.js
๐ Generated Websites
Websites are created in the websites/ directory with:
- Responsive HTML pages
- Modern CSS styling
- Site configuration (site.json)
- Navigation between pages
- Mobile-friendly design
๐ MCP Integration
Use with MCP-compatible clients:
- VS Code with MCP extension
- Claude Desktop
- Custom MCP clients
๐ API Documentation
MCP Server Configuration
{
"mcpServers": {
"website-builder": {
"command": "node",
"args": ["server.js"],
"cwd": "./website-builder-mcp"
}
}
}
๐ค Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ฏ Use Cases
- Business Websites - Generate company sites from employee data
- Product Showcases - Create catalogs from inventory spreadsheets
- Portfolio Sites - Build project showcases from work data
- Directory Sites - Create searchable listings from contact data
- Report Sites - Transform data reports into web presentations
๐ Advanced Features
- Automatic slug generation for SEO-friendly URLs
- Responsive grid layouts for all device sizes
- Smart column detection for Excel processing
- Template customization for brand consistency
- Batch processing for large datasets
- Error handling with detailed feedback
Built with โค๏ธ for the AI Development Community
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.