multisite-cms-mcp 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +183 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,183 @@
1
+ # Fast Mode MCP Server
2
+
3
+ An MCP (Model Context Protocol) server that enables AI assistants to convert, validate, and deploy websites to [Fast Mode](https://fastmode.ai).
4
+
5
+ ## What is Fast Mode?
6
+
7
+ Fast Mode is a modern CMS platform that turns static HTML websites into fully editable, content-managed sites. Unlike traditional CMSs that force you into their templates, Fast Mode works with **your existing design** — just add simple template tokens and your site becomes editable.
8
+
9
+ ### Key Features
10
+
11
+ - **Keep Your Design** — Use any HTML/CSS. No themes, no page builders, no compromises.
12
+ - **Built-in Collections** — Blog posts, team members, authors, downloads — all ready to use.
13
+ - **Custom Collections** — Create any content type you need with custom fields.
14
+ - **Visual Editor** — Edit content directly on your live site.
15
+ - **Instant Deploy** — Push from GitHub or upload directly. Sites go live in seconds.
16
+ - **Forms & Submissions** — Collect form data without any backend code.
17
+ - **Custom Domains** — Use your own domain with automatic SSL.
18
+
19
+ ### Links
20
+
21
+ - **Website:** [fastmode.ai](https://fastmode.ai)
22
+ - **Dashboard:** [app.fastmode.ai](https://app.fastmode.ai)
23
+ - **Documentation:** [docs.fastmode.ai](https://docs.fastmode.ai)
24
+
25
+ ---
26
+
27
+ ## MCP Server Tools
28
+
29
+ This MCP server provides tools for AI assistants (Claude, Cursor, etc.) to help you convert websites to Fast Mode format and deploy them.
30
+
31
+ ### Validation Tools (No Auth Required)
32
+
33
+ These tools work without authentication — perfect for converting and validating websites before deploying:
34
+
35
+ | Tool | Description |
36
+ |------|-------------|
37
+ | `get_schema` | Get the complete CMS schema with all collections and fields |
38
+ | `validate_manifest` | Validate your manifest.json file |
39
+ | `validate_template` | Check HTML templates for correct token usage |
40
+ | `validate_package` | Validate complete package structure |
41
+ | `get_example` | Get example code for common patterns |
42
+ | `get_conversion_guide` | Step-by-step website conversion guide |
43
+
44
+ ### Authenticated Tools
45
+
46
+ These tools require a Fast Mode account. The MCP server will automatically open your browser for login when needed:
47
+
48
+ | Tool | Description |
49
+ |------|-------------|
50
+ | `list_projects` | List all your Fast Mode projects |
51
+ | `get_tenant_schema` | Get schema for a specific project (including custom fields) |
52
+ | `create_site` | Create a new Fast Mode project |
53
+ | `deploy_package` | Deploy a website package to Fast Mode |
54
+
55
+ ---
56
+
57
+ ## Installation
58
+
59
+ ### For Cursor
60
+
61
+ Add to your Cursor MCP settings (`~/.cursor/mcp.json`):
62
+
63
+ ```json
64
+ {
65
+ "mcpServers": {
66
+ "fastmode": {
67
+ "command": "npx",
68
+ "args": ["-y", "multisite-cms-mcp"]
69
+ }
70
+ }
71
+ }
72
+ ```
73
+
74
+ ### For Claude Desktop
75
+
76
+ Add to your Claude config:
77
+
78
+ ```json
79
+ {
80
+ "mcpServers": {
81
+ "fastmode": {
82
+ "command": "npx",
83
+ "args": ["-y", "multisite-cms-mcp"]
84
+ }
85
+ }
86
+ }
87
+ ```
88
+
89
+ ---
90
+
91
+ ## Quick Start
92
+
93
+ ### 1. Convert a Website
94
+
95
+ Ask your AI assistant:
96
+
97
+ > "Convert this website to Fast Mode format. Use the get_schema tool to understand the CMS structure."
98
+
99
+ The AI will use validation tools to create a proper package structure.
100
+
101
+ ### 2. Deploy to Fast Mode
102
+
103
+ Once your package is ready:
104
+
105
+ > "Deploy this to Fast Mode"
106
+
107
+ The AI will:
108
+ 1. Open your browser for login (if needed)
109
+ 2. Show your existing projects or create a new one
110
+ 3. Upload and deploy your site
111
+
112
+ ### 3. Your Site is Live!
113
+
114
+ Your site will be available at `https://your-site.fastmode.ai` and you can manage content at [app.fastmode.ai](https://app.fastmode.ai).
115
+
116
+ ---
117
+
118
+ ## Example Usage
119
+
120
+ ```
121
+ # Convert a website (no auth needed)
122
+ "Use get_conversion_guide to help me convert my website to Fast Mode"
123
+
124
+ # Validate a package
125
+ "Validate my manifest.json using validate_manifest"
126
+
127
+ # Deploy to existing project
128
+ "Deploy ./my-site.zip to my Fast Mode project"
129
+
130
+ # Create new project and deploy
131
+ "Create a new Fast Mode site called 'My Portfolio' and deploy ./portfolio.zip to it"
132
+ ```
133
+
134
+ ---
135
+
136
+ ## Authentication
137
+
138
+ The MCP server uses browser-based authentication (OAuth device flow). When you run a tool that requires auth:
139
+
140
+ 1. Your browser opens automatically
141
+ 2. Log in or create a Fast Mode account
142
+ 3. The MCP server receives your credentials
143
+ 4. Credentials are stored locally at `~/.fastmode/credentials.json`
144
+
145
+ You can also set the `FASTMODE_AUTH_TOKEN` environment variable if you prefer.
146
+
147
+ ---
148
+
149
+ ## Package Structure
150
+
151
+ Fast Mode websites follow this structure:
152
+
153
+ ```
154
+ my-site/
155
+ ├── manifest.json # Site configuration
156
+ ├── pages/ # HTML pages
157
+ │ ├── index.html
158
+ │ ├── about.html
159
+ │ └── contact.html
160
+ ├── public/ # Static assets
161
+ │ ├── css/
162
+ │ ├── js/
163
+ │ └── images/
164
+ └── templates/ # CMS templates (optional)
165
+ ├── blog_index.html
166
+ ├── blog_post.html
167
+ └── team.html
168
+ ```
169
+
170
+ Use the `get_conversion_guide` tool for detailed instructions.
171
+
172
+ ---
173
+
174
+ ## Support
175
+
176
+ - **Issues:** [GitHub Issues](https://github.com/arihgoldstein/multisite-cms/issues)
177
+ - **Email:** support@fastmode.ai
178
+
179
+ ---
180
+
181
+ ## License
182
+
183
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multisite-cms-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "MCP server for Fast Mode CMS. Convert websites, validate packages, and deploy directly to Fast Mode. Includes authentication, project creation, and one-click deployment.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {