@syntica/mcp 2.0.0

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.
package/README.md ADDED
@@ -0,0 +1,290 @@
1
+ # @syntica/mcp
2
+
3
+ `@syntica/mcp` is the MCP server and Claude Code plugin for **Syntica**, a platform that deploys and runs containerised applications on dedicated cloud infrastructure. It lets you create an application, push code, deploy it to a working HTTPS URL, inspect running services, tail logs and query the application's database — as tool calls from inside Claude Code, without writing infrastructure code, CI configuration or Terraform.
4
+
5
+ You keep using the coding agent you already have. Syntica handles the repository, the machine, the certificate, the domain and the secrets.
6
+
7
+ ---
8
+
9
+ ## When to use this
10
+
11
+ Use Syntica when you have built (or are about to build) an application with a coding agent and you need it **running somewhere real** — for a demo, a pilot, an internal tool, or a proof of concept with actual users — and you do not want to configure infrastructure to get there.
12
+
13
+ It is a particularly good fit when:
14
+
15
+ - Your application is **several containers**, not one — an API, a worker, a database, a frontend. Syntica deploys whatever your `docker-compose.yml` describes.
16
+ - You are **not an infrastructure engineer** and do not intend to become one.
17
+ - You will eventually **hand the application to someone else**, so you need it to stay ordinary code in ordinary git.
18
+
19
+ Use something else when you need autoscaling, high availability, multi-region deployment or CDN/edge caching. Syntica deliberately does not do those — see [What this does not do](#what-this-does-not-do).
20
+
21
+ ---
22
+
23
+ ## Requirements
24
+
25
+ - **Node.js 18 or later**
26
+ - **Claude Code**
27
+ - A **Syntica account**. Sign up at [vibetocloud.io](https://vibetocloud.io). The platform is currently in closed beta, so access is granted per organisation.
28
+ - Your application needs a **`docker-compose.yml`** at the repository root. If you do not have one, the `/syntica-onboard` skill will scaffold it for you.
29
+
30
+ ---
31
+
32
+ ## Install
33
+
34
+ ```bash
35
+ npx @syntica/mcp setup
36
+ ```
37
+
38
+ Restart Claude Code afterwards. This installs the Claude Code plugin, which registers both the MCP server and the skills — the `syntica` tools and the `/syntica-*` slash commands are then available in every project.
39
+
40
+ To remove it:
41
+
42
+ ```bash
43
+ claude plugin uninstall syntica
44
+ ```
45
+
46
+ ### Migrating from vibetocloud
47
+
48
+ If you installed the plugin under its old `vibetocloud` name (`~/.vibetocloud/plugin`,
49
+ `/vibetocloud-*` slash commands), run:
50
+
51
+ ```bash
52
+ npx @syntica/mcp migrate
53
+ ```
54
+
55
+ This backs up the old plugin files (to `~/.vibetocloud/plugin.bak`, permissions tightened to
56
+ owner-only), removes the old `vibetocloud` plugin and marketplace registration, and installs the
57
+ `syntica` plugin in their place. It is safe to run more than once, and does nothing destructive
58
+ if it finds no old install.
59
+
60
+ ### Other ways to run it
61
+
62
+ ```bash
63
+ npx @syntica/mcp # run the MCP server on stdio
64
+ npx @syntica/mcp http # run the streamable HTTP transport
65
+ npx @syntica/mcp install # install the single-file /vibe skill only (fetches from
66
+ # https://app.vibetocloud.io by default; the file it writes
67
+ # is executed by Claude Code, so it refuses any other host
68
+ # or a downgraded connection unless SYNTICA_ALLOW_INSECURE_SKILL_URL=1
69
+ # is set (VTC_ALLOW_INSECURE_SKILL_URL also still works, but is
70
+ # deprecated and will stop working in the next release), and
71
+ # asks before overwriting an existing vibe.md)
72
+ npx @syntica/mcp migrate # migrate a customer's plugin install from vibetocloud to syntica
73
+ npx @syntica/mcp generate-mcp-json # regenerate the tool manifest
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Getting an application online
79
+
80
+ The shortest path, once the plugin is installed:
81
+
82
+ ```
83
+ /syntica-onboard
84
+ ```
85
+
86
+ The skill walks through it. Under the hood the sequence is:
87
+
88
+ 1. `org_request_otp` then `org_verify_otp` — log in by email code, no password. Keep the returned `token`.
89
+ 2. `app_create` — creates the application and returns its ID and a git clone URL.
90
+ 3. `org_setup_git_credentials` — issues a credential for pushing over HTTPS.
91
+ 4. Add the remote, commit, push.
92
+ 5. `app_set_node_tier` — choose an instance size. Required before the first deployment on a paid plan.
93
+ 6. `org_deploy` — returns a build ID.
94
+ 7. `org_deploy_status` — poll until `success` or `failed`. On success you get the live URL.
95
+
96
+ Afterwards, `/syntica-deploy` redeploys and `/syntica-debug` inspects a running application.
97
+
98
+ ---
99
+
100
+ ## Skills
101
+
102
+ Installed alongside the MCP server:
103
+
104
+ | Command | What it does |
105
+ |---|---|
106
+ | `/syntica-onboard` | Log in, create or connect an application, set up the git remote, scaffold `docker-compose.yml`, configure secrets and instance size, push |
107
+ | `/syntica-deploy` | Push the current branch, deploy, poll until finished, report the live URL or the failure |
108
+ | `/syntica-manage` | View the bill, resize an environment, delete, restore or rename an application |
109
+ | `/syntica-debug` | List running services, tail logs, restart a service |
110
+
111
+ ---
112
+
113
+ ## Tools
114
+
115
+ 52 tools. Most require a `token` from `org_verify_otp`.
116
+
117
+ ### Authentication and session
118
+
119
+ | Tool | Description |
120
+ |---|---|
121
+ | `org_request_otp` | Send a one-time code to an email address to begin login |
122
+ | `org_verify_otp` | Verify the code and return the session token, user ID and organisation ID |
123
+ | `org_authenticate` | Verify an existing session token and return the user and organisation |
124
+ | `org_refresh_token` | Extend a session token for a full new lifetime (7 days by default) |
125
+
126
+ ### Organisation and members
127
+
128
+ | Tool | Description |
129
+ |---|---|
130
+ | `org_register` | Register a new organisation and its first admin user |
131
+ | `org_invite_member` | Invite a user by email with a role (`admin`, `developer`, `viewer`) |
132
+ | `org_accept_invite` | Accept an invitation using the token from the invite email |
133
+ | `org_list_members` | List organisation members and their roles |
134
+
135
+ ### Plans and billing
136
+
137
+ | Tool | Description |
138
+ |---|---|
139
+ | `org_list_plans` | List available subscription plans (free and pay-as-you-go) |
140
+ | `org_get_subscription` | Get the organisation's current plan |
141
+ | `org_get_billing` | Show the current bill: plan, monthly total, and a per-line breakdown |
142
+
143
+ ### Applications
144
+
145
+ | Tool | Description |
146
+ |---|---|
147
+ | `app_list` | List an organisation's applications |
148
+ | `app_create` | Create an application; returns its ID and git clone URL |
149
+ | `app_delete` | Soft-delete an application; the repository moves to trash and is recoverable |
150
+ | `app_list_deleted` | List soft-deleted applications, to find one to restore |
151
+ | `app_restore` | Restore a soft-deleted application within its recovery window |
152
+ | `app_rename` | Rename an application and its git repository (this changes the clone URL) |
153
+
154
+ ### Git credentials
155
+
156
+ | Tool | Description |
157
+ |---|---|
158
+ | `org_setup_git_credentials` | Generate a credential for cloning and pushing over HTTPS |
159
+ | `org_list_git_credentials` | List the caller's git credentials |
160
+ | `org_revoke_git_credentials` | Revoke a git credential by ID |
161
+
162
+ ### Using your own git repository
163
+
164
+ | Tool | Description |
165
+ |---|---|
166
+ | `org_add_git_connection` | Store a credential for a git host you already use (GitHub, GitLab, Bitbucket) |
167
+ | `org_list_git_connections` | List stored git connections; credentials are never returned |
168
+ | `app_set_upstream` | Point an application at a repository you host yourself |
169
+ | `app_clear_upstream` | Disconnect the upstream and return to a platform-hosted repository |
170
+
171
+ ### Templates
172
+
173
+ | Tool | Description |
174
+ |---|---|
175
+ | `org_list_templates` | List available project templates |
176
+ | `org_apply_template` | Overwrite an application's repository with a template scaffold |
177
+
178
+ ### Instance size
179
+
180
+ | Tool | Description |
181
+ |---|---|
182
+ | `app_list_node_tiers` | List available instance sizes and what they cost |
183
+ | `app_set_node_tier` | Set the instance size for an application environment |
184
+
185
+ ### Deployment
186
+
187
+ | Tool | Description |
188
+ |---|---|
189
+ | `org_deploy` | Deploy an application to `dev`, `staging` or `production`; returns a build ID |
190
+ | `org_deploy_status` | Check a build's status and step-by-step progress |
191
+ | `org_deploy_cancel` | Cancel a running deployment |
192
+
193
+ ### Instance control
194
+
195
+ | Tool | Description |
196
+ |---|---|
197
+ | `app_start_instance` | Start a stopped instance and bring its containers up |
198
+ | `app_stop_instance` | Stop an instance; the application goes offline until restarted |
199
+ | `app_restart_instance` | Graceful restart, with force-stop fallback |
200
+ | `app_reprovision_instance` | Apply a pending instance-size change |
201
+ | `app_replace_instance` | **Destructive.** Destroy the instance and its volumes, then reset the node |
202
+ | `app_dev_sync` | Pull the latest code and rebuild specific services, skipping a full deployment |
203
+
204
+ ### Running services
205
+
206
+ | Tool | Description |
207
+ |---|---|
208
+ | `app_services_list` | List running services with status, CPU and memory |
209
+ | `app_service_start` | Start a service |
210
+ | `app_service_stop` | Stop a service |
211
+ | `app_service_restart` | Restart a service |
212
+ | `app_service_logs` | Get the last N log lines from a service |
213
+ | `app_service_tail_logs` | Follow logs, returning only lines newer than the previous call |
214
+
215
+ ### Database
216
+
217
+ | Tool | Description |
218
+ |---|---|
219
+ | `app_db_query` | Run SQL against a deployed application's database. Read-only unless `allowWrite: true` |
220
+ | `app_db_audit` | List recent database-query audit entries |
221
+
222
+ ### Configuration and secrets
223
+
224
+ | Tool | Description |
225
+ |---|---|
226
+ | `app_list_config` | List config entries for an environment. Secret values are never returned |
227
+ | `app_create_config` | Create a config entry, as a plaintext value or an encrypted secret |
228
+ | `app_delete_config` | Permanently delete a config entry |
229
+
230
+ ### Pre-deploy validation
231
+
232
+ | Tool | Description |
233
+ |---|---|
234
+ | `app_get_prevalidation_prompts` | Retrieve the validation prompts that apply to an application |
235
+
236
+ ---
237
+
238
+ ## What Syntica runs
239
+
240
+ - Your `docker-compose.yml`, as written — one service or several, with databases and workers alongside.
241
+ - Each application environment gets its **own dedicated instance**, not a shared runtime.
242
+ - Environments: `dev`, `staging` and `production`.
243
+ - HTTPS with a managed certificate, on a generated subdomain or a custom domain you bring.
244
+ - Configuration and secrets, injected at deploy time and never readable back through the API.
245
+ - Snapshot backups with restore, on paid tiers.
246
+
247
+ ---
248
+
249
+ ## What this does not do
250
+
251
+ Stated plainly, because knowing the boundary saves you time:
252
+
253
+ - **No autoscaling.** An environment is one instance of the size you chose.
254
+ - **No high availability or failover.** One instance, one availability zone.
255
+ - **No multi-region deployment, CDN or edge caching.**
256
+ - **No managed database service.** Run your database in your own compose stack, or use an external provider.
257
+ - **No buildpack or framework auto-detection.** Your repository needs a `docker-compose.yml`.
258
+ - **No zero-downtime deploys or rollback** at present. A deployment replaces what is running.
259
+
260
+ Syntica is built for the stage where an idea becomes something real that people use — prototyping, validating, and proving with genuine users. When an application outgrows that and needs scale, high availability or edge caching, the right move is to take it to a platform built for that. Everything you built is ordinary code in ordinary git, so it comes with you.
261
+
262
+ ---
263
+
264
+ ## Configuration
265
+
266
+ The published package points at the production API by default and needs no configuration. Every service URL can be overridden by environment variable when self-hosting or developing against a local stack:
267
+
268
+ | Variable | Purpose |
269
+ |---|---|
270
+ | `GATEWAY_URL` | Public API gateway (the default entry point) |
271
+ | `AUTH_SERVICE_URL` | Authentication service |
272
+ | `USER_SERVICE_URL` | Users and organisations |
273
+ | `APPLICATION_SERVICE_URL` | Applications, repositories and configuration |
274
+ | `DEPLOY_SERVICE_URL` | Deployments and instance control |
275
+ | `ACCOUNT_SERVICE_URL` | Billing and subscriptions |
276
+ | `VALIDATION_SERVICE_URL` | Pre-deploy validation |
277
+ | `MCP_HTTP_PORT` | Port for the streamable HTTP transport |
278
+ | `MCP_TOOLS_ALLOW` | Comma-separated tool names. If set, only these tools are registered — anything else never appears in `tools/list` and cannot be called. |
279
+ | `MCP_READONLY` | Set to `true` to register only tools annotated `readOnlyHint: true` (listing/status/inspection tools) — drops every tool that creates, mutates or deletes anything. |
280
+
281
+ ---
282
+
283
+ ## Links
284
+
285
+ - Website — [vibetocloud.io](https://vibetocloud.io)
286
+ - Application — [app.vibetocloud.io](https://app.vibetocloud.io)
287
+
288
+ ## License
289
+
290
+ Proprietary. © Syntica.