sitebay-mcp 0.1.1751286041__tar.gz → 0.1.1757492007__tar.gz

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 (30) hide show
  1. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/PKG-INFO +67 -31
  2. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/README.md +66 -30
  3. sitebay_mcp-0.1.1757492007/example-config.json +17 -0
  4. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/pyproject.toml +1 -1
  5. sitebay_mcp-0.1.1757492007/schema.json +1 -0
  6. sitebay_mcp-0.1.1757492007/smithery.http.yaml.example +30 -0
  7. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/__init__.py +2 -2
  8. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/client.py +32 -47
  9. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/resources.py +6 -50
  10. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/server.py +263 -339
  11. sitebay_mcp-0.1.1757492007/src/sitebay_mcp/tools/operations.py +201 -0
  12. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/tools/sites.py +94 -87
  13. sitebay_mcp-0.1.1757492007/uv.lock +1458 -0
  14. sitebay_mcp-0.1.1751286041/PLAN.md +0 -169
  15. sitebay_mcp-0.1.1751286041/example-config.json +0 -11
  16. sitebay_mcp-0.1.1751286041/src/sitebay_mcp/tools/operations.py +0 -285
  17. sitebay_mcp-0.1.1751286041/uv.lock +0 -757
  18. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/.flake8 +0 -0
  19. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/.github/workflows/python-pytest.yml +0 -0
  20. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/.github/workflows/testpypi.yaml +0 -0
  21. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/.gitignore +0 -0
  22. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/Dockerfile +0 -0
  23. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/LICENSE +0 -0
  24. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/smithery.yaml +0 -0
  25. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/auth.py +0 -0
  26. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/exceptions.py +0 -0
  27. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/src/sitebay_mcp/tools/__init__.py +0 -0
  28. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/tests/unit/__init__.py +0 -0
  29. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/tests/unit/test_auth.py +0 -0
  30. {sitebay_mcp-0.1.1751286041 → sitebay_mcp-0.1.1757492007}/tests/unit/test_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sitebay-mcp
3
- Version: 0.1.1751286041
3
+ Version: 0.1.1757492007
4
4
  Summary: SiteBay MCP Server - WordPress hosting management through Claude Code
5
5
  Author-email: SiteBay <support@sitebay.org>
6
6
  License-File: LICENSE
@@ -20,32 +20,30 @@ Description-Content-Type: text/markdown
20
20
  # SiteBay MCP Server
21
21
  [![smithery badge](https://smithery.ai/badge/@sitebay/sitebay-mcp)](https://smithery.ai/server/@sitebay/sitebay-mcp)
22
22
 
23
- A Model Context Protocol (MCP) server that provides Claude Code users with direct access to the SiteBay WordPress hosting platform. Manage your hosted WordPress sites, execute server commands, handle staging environments, and more through natural language interactions with the SiteBay cloud infrastructure.
23
+ A Model Context Protocol (MCP) server that provides Claude Code users with direct access to the SiteBay WordPress hosting platform. Manage your hosted WordPress sites, execute server commands, and more through natural language interactions with the SiteBay cloud infrastructure.
24
24
 
25
25
  ## Features
26
26
 
27
27
  ### 🌐 Site Management
28
28
  - List all your hosted WordPress sites
29
29
  - Get detailed site information (status, region, PHP version, etc.)
30
- - Create new WordPress sites using SiteBay's templates
30
+ - Create new WordPress sites using SiteBay's ready-made sites
31
31
  - Update site configurations (PHP version, admin credentials, etc.)
32
- - Delete sites with safety confirmations
32
+ - Delete sites
33
33
 
34
34
  ### ⚡ Site Operations
35
35
  - Execute shell commands and WP-CLI commands on SiteBay servers
36
36
  - Edit files in wp-content directory on your hosted sites
37
37
  - View site events and deployment logs from SiteBay infrastructure
38
- - Manage external path configurations for URL proxying through SiteBay
38
+
39
39
 
40
40
  ### 🛠 Advanced Features
41
- - Staging site management on SiteBay infrastructure (coming soon)
42
41
  - Point-in-time backup restores from SiteBay's backup system (coming soon)
43
42
  - Team management for collaborative hosting (coming soon)
44
43
  - WordPress/Shopify/PostHog API proxy services through SiteBay (coming soon)
45
44
 
46
45
  ### 🗺 Helper Tools
47
- - List available SiteBay hosting regions
48
- - Browse SiteBay's WordPress templates
46
+ - Browse SiteBay's ready-made sites
49
47
  - Account and billing information (coming soon)
50
48
 
51
49
  ## Installation
@@ -67,6 +65,40 @@ uvx sitebay-mcp
67
65
  # Or install for repeated use
68
66
  uv tool install sitebay-mcp
69
67
  sitebay-mcp
68
+
69
+ ## HTTP Transport (Recommended for hosted deployments)
70
+
71
+ This server now supports Streamable HTTP transport in addition to STDIO. Use HTTP for hosted or remote deployments and to comply with Smithery’s hosted requirements.
72
+
73
+ ### Run over HTTP
74
+
75
+ ```bash
76
+ # Defaults to 127.0.0.1:7823
77
+ uvx sitebay-mcp --http
78
+
79
+ # Or specify host/port
80
+ uvx sitebay-mcp --http --host 0.0.0.0 --port 7823
81
+
82
+ # Environment variables also supported
83
+ MCP_TRANSPORT=http MCP_HTTP_HOST=0.0.0.0 MCP_HTTP_PORT=7823 uvx sitebay-mcp
84
+ ```
85
+
86
+ ### Configure Claude Desktop for HTTP
87
+
88
+ Add a server URL entry instead of a command:
89
+
90
+ ```json
91
+ {
92
+ "mcpServers": {
93
+ "sitebay": {
94
+ "url": "http://127.0.0.1:7823",
95
+ "env": {
96
+ "SITEBAY_API_TOKEN": "your_api_token_here"
97
+ }
98
+ }
99
+ }
100
+ }
101
+ ```
70
102
  ```
71
103
 
72
104
  ### Using pip
@@ -94,7 +126,7 @@ pip install -e .
94
126
 
95
127
  Add the following to your Claude Desktop configuration file:
96
128
 
97
- #### For uvx installation:
129
+ #### For uvx installation (STDIO mode):
98
130
  ```json
99
131
  {
100
132
  "mcpServers": {
@@ -109,7 +141,7 @@ Add the following to your Claude Desktop configuration file:
109
141
  }
110
142
  ```
111
143
 
112
- #### For pip installation:
144
+ #### For pip installation (STDIO mode):
113
145
  ```json
114
146
  {
115
147
  "mcpServers": {
@@ -124,6 +156,20 @@ Add the following to your Claude Desktop configuration file:
124
156
  }
125
157
  ```
126
158
 
159
+ #### For HTTP mode (any installation):
160
+ ```json
161
+ {
162
+ "mcpServers": {
163
+ "sitebay": {
164
+ "url": "http://127.0.0.1:7823",
165
+ "env": {
166
+ "SITEBAY_API_TOKEN": "your_api_token_here"
167
+ }
168
+ }
169
+ }
170
+ }
171
+ ```
172
+
127
173
  ### 3. Claude Desktop Configuration File Locations
128
174
 
129
175
  - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
@@ -135,7 +181,7 @@ Add the following to your Claude Desktop configuration file:
135
181
  ### Creating a New WordPress Site
136
182
 
137
183
  ```
138
- Claude: Create a new WordPress site called "myblog.example.com" with the title "My Amazing Blog", admin username "admin", password "SecurePass123!", and email "me@example.com"
184
+ Claude: Create a new WordPress site on team 00000000-0000-4000-a000-000000000000 with domain "www.example.org". Blog name "Example", admin Jane Smith (email admin@example.org), username "taylor89", password "AStrongPassword". Use ready-made site name "blog-basic" and set Git URL to https://github.com/acme/wp-site
139
185
  ```
140
186
 
141
187
  ### Managing Existing Sites
@@ -145,7 +191,9 @@ Claude: List all my WordPress sites and show their current status
145
191
 
146
192
  Claude: Get detailed information about myblog.example.com
147
193
 
148
- Claude: Update the PHP version for myblog.example.com to 8.2
194
+ Claude: Enable Cloudflare dev mode for myblog.example.com
195
+ Claude: Set the Git URL for myblog.example.com to https://github.com/acme/wp-site
196
+ Claude: Turn on HTTP auth for myblog.example.com
149
197
  ```
150
198
 
151
199
  ### Executing Commands
@@ -162,24 +210,14 @@ Claude: Check the disk usage on myblog.example.com with "df -h" on the SiteBay s
162
210
 
163
211
  ```
164
212
  Claude: Edit the style.css file in my active theme on myblog.example.com hosted on SiteBay
165
-
166
- Claude: Show me recent events and deployment logs for myblog.example.com from SiteBay
167
213
  ```
168
214
 
169
- ### External Paths (URL Proxying)
170
-
171
- ```
172
- Claude: Create an external path "/api" on myblog.example.com that proxies to "https://my-external-api.com" through SiteBay
173
-
174
- Claude: List all external path configurations for myblog.example.com on SiteBay
175
- ```
215
+
176
216
 
177
217
  ### Getting Information
178
218
 
179
219
  ```
180
- Claude: Show me all available SiteBay hosting regions
181
-
182
- Claude: List all the WordPress templates available on SiteBay for new sites
220
+ Claude: List all the ready-made sites available on SiteBay for new sites
183
221
  ```
184
222
 
185
223
  ## Available Tools
@@ -189,18 +227,16 @@ Claude: List all the WordPress templates available on SiteBay for new sites
189
227
  - `sitebay_get_site` - Get detailed information about a hosted site
190
228
  - `sitebay_create_site` - Create a new WordPress site on SiteBay infrastructure
191
229
  - `sitebay_update_site` - Update site configuration on SiteBay servers
192
- - `sitebay_delete_site` - Delete a hosted site (with confirmation)
230
+ - `sitebay_delete_site` - Delete a hosted site
193
231
 
194
232
  ### Site Operations
195
233
  - `sitebay_site_shell_command` - Execute shell/WP-CLI commands on SiteBay servers
196
234
  - `sitebay_site_edit_file` - Edit files in wp-content on SiteBay-hosted sites
197
- - `sitebay_site_get_events` - View site events and deployment logs from SiteBay
198
- - `sitebay_site_external_path_list` - List external path configs on SiteBay
199
- - `sitebay_site_external_path_create` - Create external path through SiteBay proxy
235
+
236
+
200
237
 
201
238
  ### Helper Tools
202
- - `sitebay_list_regions` - List available SiteBay hosting regions
203
- - `sitebay_list_templates` - List WordPress templates available on SiteBay
239
+ - `sitebay_list_ready_made_sites` - List ready-made sites available on SiteBay
204
240
 
205
241
  ## Security Notes
206
242
 
@@ -268,4 +304,4 @@ This project is licensed under the MIT License - see the LICENSE file for detail
268
304
  - Shell command execution
269
305
  - File editing capabilities
270
306
  - External path management
271
- - Region and template listing
307
+ - Ready-made site catalog listing
@@ -1,32 +1,30 @@
1
1
  # SiteBay MCP Server
2
2
  [![smithery badge](https://smithery.ai/badge/@sitebay/sitebay-mcp)](https://smithery.ai/server/@sitebay/sitebay-mcp)
3
3
 
4
- A Model Context Protocol (MCP) server that provides Claude Code users with direct access to the SiteBay WordPress hosting platform. Manage your hosted WordPress sites, execute server commands, handle staging environments, and more through natural language interactions with the SiteBay cloud infrastructure.
4
+ A Model Context Protocol (MCP) server that provides Claude Code users with direct access to the SiteBay WordPress hosting platform. Manage your hosted WordPress sites, execute server commands, and more through natural language interactions with the SiteBay cloud infrastructure.
5
5
 
6
6
  ## Features
7
7
 
8
8
  ### 🌐 Site Management
9
9
  - List all your hosted WordPress sites
10
10
  - Get detailed site information (status, region, PHP version, etc.)
11
- - Create new WordPress sites using SiteBay's templates
11
+ - Create new WordPress sites using SiteBay's ready-made sites
12
12
  - Update site configurations (PHP version, admin credentials, etc.)
13
- - Delete sites with safety confirmations
13
+ - Delete sites
14
14
 
15
15
  ### ⚡ Site Operations
16
16
  - Execute shell commands and WP-CLI commands on SiteBay servers
17
17
  - Edit files in wp-content directory on your hosted sites
18
18
  - View site events and deployment logs from SiteBay infrastructure
19
- - Manage external path configurations for URL proxying through SiteBay
19
+
20
20
 
21
21
  ### 🛠 Advanced Features
22
- - Staging site management on SiteBay infrastructure (coming soon)
23
22
  - Point-in-time backup restores from SiteBay's backup system (coming soon)
24
23
  - Team management for collaborative hosting (coming soon)
25
24
  - WordPress/Shopify/PostHog API proxy services through SiteBay (coming soon)
26
25
 
27
26
  ### 🗺 Helper Tools
28
- - List available SiteBay hosting regions
29
- - Browse SiteBay's WordPress templates
27
+ - Browse SiteBay's ready-made sites
30
28
  - Account and billing information (coming soon)
31
29
 
32
30
  ## Installation
@@ -48,6 +46,40 @@ uvx sitebay-mcp
48
46
  # Or install for repeated use
49
47
  uv tool install sitebay-mcp
50
48
  sitebay-mcp
49
+
50
+ ## HTTP Transport (Recommended for hosted deployments)
51
+
52
+ This server now supports Streamable HTTP transport in addition to STDIO. Use HTTP for hosted or remote deployments and to comply with Smithery’s hosted requirements.
53
+
54
+ ### Run over HTTP
55
+
56
+ ```bash
57
+ # Defaults to 127.0.0.1:7823
58
+ uvx sitebay-mcp --http
59
+
60
+ # Or specify host/port
61
+ uvx sitebay-mcp --http --host 0.0.0.0 --port 7823
62
+
63
+ # Environment variables also supported
64
+ MCP_TRANSPORT=http MCP_HTTP_HOST=0.0.0.0 MCP_HTTP_PORT=7823 uvx sitebay-mcp
65
+ ```
66
+
67
+ ### Configure Claude Desktop for HTTP
68
+
69
+ Add a server URL entry instead of a command:
70
+
71
+ ```json
72
+ {
73
+ "mcpServers": {
74
+ "sitebay": {
75
+ "url": "http://127.0.0.1:7823",
76
+ "env": {
77
+ "SITEBAY_API_TOKEN": "your_api_token_here"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ ```
51
83
  ```
52
84
 
53
85
  ### Using pip
@@ -75,7 +107,7 @@ pip install -e .
75
107
 
76
108
  Add the following to your Claude Desktop configuration file:
77
109
 
78
- #### For uvx installation:
110
+ #### For uvx installation (STDIO mode):
79
111
  ```json
80
112
  {
81
113
  "mcpServers": {
@@ -90,7 +122,7 @@ Add the following to your Claude Desktop configuration file:
90
122
  }
91
123
  ```
92
124
 
93
- #### For pip installation:
125
+ #### For pip installation (STDIO mode):
94
126
  ```json
95
127
  {
96
128
  "mcpServers": {
@@ -105,6 +137,20 @@ Add the following to your Claude Desktop configuration file:
105
137
  }
106
138
  ```
107
139
 
140
+ #### For HTTP mode (any installation):
141
+ ```json
142
+ {
143
+ "mcpServers": {
144
+ "sitebay": {
145
+ "url": "http://127.0.0.1:7823",
146
+ "env": {
147
+ "SITEBAY_API_TOKEN": "your_api_token_here"
148
+ }
149
+ }
150
+ }
151
+ }
152
+ ```
153
+
108
154
  ### 3. Claude Desktop Configuration File Locations
109
155
 
110
156
  - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
@@ -116,7 +162,7 @@ Add the following to your Claude Desktop configuration file:
116
162
  ### Creating a New WordPress Site
117
163
 
118
164
  ```
119
- Claude: Create a new WordPress site called "myblog.example.com" with the title "My Amazing Blog", admin username "admin", password "SecurePass123!", and email "me@example.com"
165
+ Claude: Create a new WordPress site on team 00000000-0000-4000-a000-000000000000 with domain "www.example.org". Blog name "Example", admin Jane Smith (email admin@example.org), username "taylor89", password "AStrongPassword". Use ready-made site name "blog-basic" and set Git URL to https://github.com/acme/wp-site
120
166
  ```
121
167
 
122
168
  ### Managing Existing Sites
@@ -126,7 +172,9 @@ Claude: List all my WordPress sites and show their current status
126
172
 
127
173
  Claude: Get detailed information about myblog.example.com
128
174
 
129
- Claude: Update the PHP version for myblog.example.com to 8.2
175
+ Claude: Enable Cloudflare dev mode for myblog.example.com
176
+ Claude: Set the Git URL for myblog.example.com to https://github.com/acme/wp-site
177
+ Claude: Turn on HTTP auth for myblog.example.com
130
178
  ```
131
179
 
132
180
  ### Executing Commands
@@ -143,24 +191,14 @@ Claude: Check the disk usage on myblog.example.com with "df -h" on the SiteBay s
143
191
 
144
192
  ```
145
193
  Claude: Edit the style.css file in my active theme on myblog.example.com hosted on SiteBay
146
-
147
- Claude: Show me recent events and deployment logs for myblog.example.com from SiteBay
148
194
  ```
149
195
 
150
- ### External Paths (URL Proxying)
151
-
152
- ```
153
- Claude: Create an external path "/api" on myblog.example.com that proxies to "https://my-external-api.com" through SiteBay
154
-
155
- Claude: List all external path configurations for myblog.example.com on SiteBay
156
- ```
196
+
157
197
 
158
198
  ### Getting Information
159
199
 
160
200
  ```
161
- Claude: Show me all available SiteBay hosting regions
162
-
163
- Claude: List all the WordPress templates available on SiteBay for new sites
201
+ Claude: List all the ready-made sites available on SiteBay for new sites
164
202
  ```
165
203
 
166
204
  ## Available Tools
@@ -170,18 +208,16 @@ Claude: List all the WordPress templates available on SiteBay for new sites
170
208
  - `sitebay_get_site` - Get detailed information about a hosted site
171
209
  - `sitebay_create_site` - Create a new WordPress site on SiteBay infrastructure
172
210
  - `sitebay_update_site` - Update site configuration on SiteBay servers
173
- - `sitebay_delete_site` - Delete a hosted site (with confirmation)
211
+ - `sitebay_delete_site` - Delete a hosted site
174
212
 
175
213
  ### Site Operations
176
214
  - `sitebay_site_shell_command` - Execute shell/WP-CLI commands on SiteBay servers
177
215
  - `sitebay_site_edit_file` - Edit files in wp-content on SiteBay-hosted sites
178
- - `sitebay_site_get_events` - View site events and deployment logs from SiteBay
179
- - `sitebay_site_external_path_list` - List external path configs on SiteBay
180
- - `sitebay_site_external_path_create` - Create external path through SiteBay proxy
216
+
217
+
181
218
 
182
219
  ### Helper Tools
183
- - `sitebay_list_regions` - List available SiteBay hosting regions
184
- - `sitebay_list_templates` - List WordPress templates available on SiteBay
220
+ - `sitebay_list_ready_made_sites` - List ready-made sites available on SiteBay
185
221
 
186
222
  ## Security Notes
187
223
 
@@ -249,4 +285,4 @@ This project is licensed under the MIT License - see the LICENSE file for detail
249
285
  - Shell command execution
250
286
  - File editing capabilities
251
287
  - External path management
252
- - Region and template listing
288
+ - Ready-made site catalog listing
@@ -0,0 +1,17 @@
1
+ {
2
+ "mcpServers": {
3
+ "sitebay-stdio": {
4
+ "command": "uvx",
5
+ "args": ["sitebay-mcp"],
6
+ "env": {
7
+ "SITEBAY_API_TOKEN": "your_sitebay_api_token_here"
8
+ }
9
+ },
10
+ "sitebay-http": {
11
+ "url": "http://127.0.0.1:7823",
12
+ "env": {
13
+ "SITEBAY_API_TOKEN": "your_sitebay_api_token_here"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sitebay-mcp"
3
- version = "0.1.1751286041"
3
+ version = "0.1.1757492007"
4
4
  description = "SiteBay MCP Server - WordPress hosting management through Claude Code"
5
5
  authors = [{name = "SiteBay", email = "support@sitebay.org"}]
6
6
  readme = "README.md"