la-server MCP Server
March 27, 2025 ยท View on GitHub
A simple MCP (Model Context Protocol) server that provides a tool for generating HTML and CSS files for a simple website.
Features
create-a-websitetool: Generates both HTML (index.html) and CSS (styles.css) files for a simple website with customizable title, message, and color theme.
Installation
# Install dependencies
npm install
# Build the TypeScript code
npm run build
Usage
To start the server:
npm start
Tool: create-a-website
This tool generates both HTML and CSS files for a simple website.
Parameters:
title(optional): The title for the website (default: "Hello World")content(optional): Custom content to display (default: "Hello, World!")theme(optional): Color theme for the website (options: 'blue', 'green', 'purple', default: 'blue')
Configuration with Claude Desktop
To use this MCP server with Claude Desktop, add the following to your Claude Desktop configuration file:
{
"mcpServers": {
"la-server": {
"command": "node",
"args": ["path/to/la-server/build/index.js"]
}
}
}
Replace path/to/la-server with the actual path to this directory.