@hoststack.dev/mcp 0.3.0 → 0.5.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 +20 -18
- package/dist/hoststack-mcp.js +803 -106
- package/dist/hoststack-mcp.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +803 -106
- package/dist/index.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -79,19 +79,21 @@ If `HOSTSTACK_API_KEY` is set in your shell, it gets baked into the snippet; oth
|
|
|
79
79
|
|
|
80
80
|
## Tool inventory
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
| Category
|
|
85
|
-
|
|
86
|
-
| **projects**
|
|
87
|
-
| **services**
|
|
88
|
-
| **deploys**
|
|
89
|
-
| **
|
|
90
|
-
| **
|
|
91
|
-
| **
|
|
92
|
-
| **
|
|
93
|
-
| **
|
|
94
|
-
| **
|
|
82
|
+
39 tools, grouped by resource:
|
|
83
|
+
|
|
84
|
+
| Category | Read | Write |
|
|
85
|
+
| ---------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
|
86
|
+
| **projects** | `list_projects`, `get_project` | `create_project`, `update_project` |
|
|
87
|
+
| **services** | `list_services`, `get_service`, `get_service_metrics`, `get_service_logs` | `update_service`, `update_service_config`, `suspend_service`, `resume_service` |
|
|
88
|
+
| **deploys** | `list_deploys`, `get_deploy`, `get_deploy_logs` | `trigger_deploy`, `cancel_deploy` |
|
|
89
|
+
| **environments** | `list_environments` | `create_environment`, `delete_environment`, `promote_deploy` |
|
|
90
|
+
| **databases** | `list_databases`, `get_database` | — (use the dashboard for create/delete/credentials) |
|
|
91
|
+
| **volumes** | `list_volumes` | `create_volume`, `update_volume`, `delete_volume` |
|
|
92
|
+
| **domains** | `list_domains` | `add_domain`, `verify_domain`, `remove_domain` |
|
|
93
|
+
| **env-vars** | `list_env_vars` | `set_env_var`, `delete_env_var`, `bulk_set_env_vars` |
|
|
94
|
+
| **cron** | `list_cron_executions`, `get_cron_execution` | — |
|
|
95
|
+
| **activity-log** | `list_activity_log` | — |
|
|
96
|
+
| **meta** | `get_me` | — |
|
|
95
97
|
|
|
96
98
|
A few design notes worth knowing as a caller:
|
|
97
99
|
|
|
@@ -103,11 +105,11 @@ A few design notes worth knowing as a caller:
|
|
|
103
105
|
|
|
104
106
|
## Environment variables
|
|
105
107
|
|
|
106
|
-
| Var
|
|
107
|
-
|
|
108
|
-
| `HOSTSTACK_API_KEY`
|
|
109
|
-
| `HOSTSTACK_BASE_URL`
|
|
110
|
-
| `HOSTSTACK_MCP_TRACE` | no
|
|
108
|
+
| Var | Required | Default | Notes |
|
|
109
|
+
| --------------------- | -------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
110
|
+
| `HOSTSTACK_API_KEY` | yes | — | Bearer token. `hs_live_…` for prod, `hs_test_…` for the test team. |
|
|
111
|
+
| `HOSTSTACK_BASE_URL` | no | `https://hoststack.dev` | Override for self-hosted or staging. |
|
|
112
|
+
| `HOSTSTACK_MCP_TRACE` | no | unset | Set to `1` to emit one NDJSON line per tool call to stderr. Useful for `2> mcp-trace.log` debugging without colliding with the JSON-RPC body on stdout. |
|
|
111
113
|
|
|
112
114
|
## License
|
|
113
115
|
|