@hoststack.dev/mcp 0.4.0 → 0.6.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 +21 -19
- package/dist/hoststack-mcp.js +954 -121
- package/dist/hoststack-mcp.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +954 -121
- package/dist/index.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -16,11 +16,12 @@ declare class ApiClient {
|
|
|
16
16
|
get<T>(path: string, params?: Record<string, string | number | undefined>): Promise<T>;
|
|
17
17
|
post<T>(path: string, body?: unknown): Promise<T>;
|
|
18
18
|
patch<T>(path: string, body: unknown): Promise<T>;
|
|
19
|
+
put<T>(path: string, body: unknown): Promise<T>;
|
|
19
20
|
delete<T>(path: string): Promise<T>;
|
|
20
21
|
private handle;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
type ToolCategory = 'projects' | 'services' | 'deploys' | 'databases' | 'domains' | 'volumes' | 'env-vars' | 'environments' | 'cron' | 'logs' | 'activity-log' | 'meta';
|
|
24
|
+
type ToolCategory = 'projects' | 'services' | 'deploys' | 'databases' | 'domains' | 'dns' | 'volumes' | 'env-vars' | 'environments' | 'cron' | 'logs' | 'activity-log' | 'alerts' | 'meta';
|
|
24
25
|
interface ToolContext {
|
|
25
26
|
hoststack: HostStack;
|
|
26
27
|
api: ApiClient;
|
|
@@ -82,7 +83,7 @@ interface CreateServerOptions {
|
|
|
82
83
|
onToolCall?: ToolCallSink;
|
|
83
84
|
}
|
|
84
85
|
declare const PACKAGE_NAME = "hoststack";
|
|
85
|
-
declare const PACKAGE_VERSION = "0.
|
|
86
|
+
declare const PACKAGE_VERSION = "0.6.0";
|
|
86
87
|
/**
|
|
87
88
|
* Build a fully-wired MCP server. Used by both the stdio CLI entry-point and
|
|
88
89
|
* the HTTP transport mounted by the API server. A new server (and its
|