Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
# Dockerfile for B12 website generator MCP server
FROM node:lts-alpine AS builder

# set working directory
WORKDIR /app

# install dependencies and build
COPY package.json package-lock.json tsconfig.json ./
COPY src ./src
RUN npm ci && npm run build

# production image
FROM node:lts-alpine
WORKDIR /app

# copy built artifacts and dependencies
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/package-lock.json ./package-lock.json
COPY --from=builder /app/dist ./dist

# install only production dependencies
RUN npm ci --production

# expose stdio by default
ENTRYPOINT ["node", "dist/server.js"]
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# @b12/website-generator-mcp-server
B12's model context protocol server for generating websites with AI

[![smithery badge](https://smithery.ai/badge/@b12io/website-generator-mcp-server)](https://smithery.ai/server/@b12io/website-generator-mcp-server)

<a href="https://glama.ai/mcp/servers/@b12io/website-generator-mcp-server">
<img width="380" height="200" src="https://glama.ai/mcp/servers/@b12io/website-generator-mcp-server/badge" alt="Website Generator MCP server" />
</a>

## Usage with Claude Desktop

### Installing via Smithery

To install Website Generator for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@b12io/website-generator-mcp-server):

```bash
npx -y @smithery/cli install @b12io/website-generator-mcp-server --client claude
```

### Prerequisites

- NodeJS
Expand All @@ -26,4 +36,4 @@ To use this server with the Claude Desktop app, add the following configuration
}
}
```
****
****
14 changes: 14 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Smithery configuration file: https://smithery.ai/docs/build/project-config

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
default: {}
description: No configuration needed to start the B12 website generator MCP server
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['dist/server.js'] })
exampleConfig: {}