@hoststack.dev/mcp 0.10.1 → 0.10.2
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 +16 -16
- package/dist/hoststack-mcp.js +4 -2
- package/dist/hoststack-mcp.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,22 +87,22 @@ If `HOSTSTACK_API_KEY` is set in your shell, it gets baked into the snippet; oth
|
|
|
87
87
|
|
|
88
88
|
60 tools, grouped by resource:
|
|
89
89
|
|
|
90
|
-
| Category | Read | Write
|
|
91
|
-
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
92
|
-
| **projects** | `list_projects`, `get_project` | `create_project`, `update_project`
|
|
93
|
-
| **services** | `list_services`, `get_service`, `get_service_metrics`, `get_service_metrics_history`, `get_service_logs`, `get_service_logs_bulk` | `create_service`, `create_dev_environment`, `update_service`, `update_service_config`, `suspend_service`, `resume_service`
|
|
94
|
-
| **deploys** | `list_deploys`, `get_deploy`, `get_deploy_logs`, `diagnose_deploy` | `trigger_deploy`, `cancel_deploy`
|
|
95
|
-
| **environments** | `list_environments` | `create_environment`, `delete_environment`, `promote_deploy`
|
|
96
|
-
| **databases** | `list_databases`, `get_database`, `get_database_cluster`, `query_database` | `update_database`, `upgrade_database_to_ha` (use the dashboard for create/delete/credentials)
|
|
97
|
-
| **volumes** | `list_volumes` | `create_volume`, `update_volume`, `delete_volume`
|
|
98
|
-
| **domains** | `list_domains` | `add_domain`, `verify_domain`, `remove_domain`
|
|
99
|
-
| **dns** | `list_dns_zones`, `list_dns_records`, `get_dns_record` | `create_dns_record`, `update_dns_record`, `delete_dns_record`
|
|
100
|
-
| **env-vars** | `list_env_vars` | `set_env_var`, `delete_env_var`, `bulk_set_env_vars`
|
|
101
|
-
| **cron** | `list_cron_executions`, `get_cron_execution` | —
|
|
102
|
-
| **notifications** | `list_notification_channels` | `create_notification_channel`, `update_notification_channel`, `delete_notification_channel`, `test_notification_channel`
|
|
103
|
-
| **alerts** | `list_alerts` | —
|
|
104
|
-
| **activity-log** | `list_activity_log` | —
|
|
105
|
-
| **meta** | `get_me` | —
|
|
90
|
+
| Category | Read | Write |
|
|
91
|
+
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
92
|
+
| **projects** | `list_projects`, `get_project` | `create_project`, `update_project` |
|
|
93
|
+
| **services** | `list_services`, `get_service`, `get_service_metrics`, `get_service_metrics_history`, `get_service_logs`, `get_service_logs_bulk` | `create_service`, `create_dev_environment`, `update_service`, `update_service_config`, `suspend_service`, `resume_service` |
|
|
94
|
+
| **deploys** | `list_deploys`, `get_deploy`, `get_deploy_logs`, `diagnose_deploy` | `trigger_deploy`, `cancel_deploy` |
|
|
95
|
+
| **environments** | `list_environments` | `create_environment`, `delete_environment`, `promote_deploy` |
|
|
96
|
+
| **databases** | `list_databases`, `get_database`, `get_database_cluster`, `query_database` | `update_database`, `upgrade_database_to_ha` (use the dashboard for create/delete/credentials) |
|
|
97
|
+
| **volumes** | `list_volumes` | `create_volume`, `update_volume`, `delete_volume` |
|
|
98
|
+
| **domains** | `list_domains` | `add_domain`, `verify_domain`, `remove_domain` |
|
|
99
|
+
| **dns** | `list_dns_zones`, `list_dns_records`, `get_dns_record` | `create_dns_record`, `update_dns_record`, `delete_dns_record` |
|
|
100
|
+
| **env-vars** | `list_env_vars` | `set_env_var`, `delete_env_var`, `bulk_set_env_vars` |
|
|
101
|
+
| **cron** | `list_cron_executions`, `get_cron_execution` | — |
|
|
102
|
+
| **notifications** | `list_notification_channels` | `create_notification_channel`, `update_notification_channel`, `delete_notification_channel`, `test_notification_channel` |
|
|
103
|
+
| **alerts** | `list_alerts` | — |
|
|
104
|
+
| **activity-log** | `list_activity_log` | — |
|
|
105
|
+
| **meta** | `get_me` | — |
|
|
106
106
|
|
|
107
107
|
A few design notes worth knowing as a caller:
|
|
108
108
|
|
package/dist/hoststack-mcp.js
CHANGED
|
@@ -1986,7 +1986,9 @@ defineTool({
|
|
|
1986
1986
|
},
|
|
1987
1987
|
handler: async (args2, ctx) => {
|
|
1988
1988
|
const teamId = await ctx.resolveTeamId();
|
|
1989
|
-
const input = {
|
|
1989
|
+
const input = {
|
|
1990
|
+
name: args2.name
|
|
1991
|
+
};
|
|
1990
1992
|
if (args2.description !== void 0) input.description = args2.description;
|
|
1991
1993
|
if (args2.region !== void 0) input.region = args2.region;
|
|
1992
1994
|
const response = await ctx.hoststack.projects.create(teamId, input);
|
|
@@ -2291,7 +2293,7 @@ defineTool({
|
|
|
2291
2293
|
const deploy = await ctx.hoststack.deploys.trigger(teamId, service.id);
|
|
2292
2294
|
const deployId = deploy.deploy?.id ?? null;
|
|
2293
2295
|
return respond({
|
|
2294
|
-
summary: `Created AI dev environment "${name}" (${service.publicId})${volumeAttached ? " with a /workspace volume" : ""} \u2014 deploying. Open
|
|
2296
|
+
summary: `Created AI dev environment "${name}" (${service.publicId})${volumeAttached ? " with a /workspace volume" : ""} \u2014 deploying. Open it in the dashboard's Development section (or the service's Terminal tab) once running.`,
|
|
2295
2297
|
data: { service: shapeService(service), volumeAttached, deployId }
|
|
2296
2298
|
});
|
|
2297
2299
|
}
|