@hoststack.dev/mcp 0.10.0 → 0.10.1
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 +3 -3
- package/dist/hoststack-mcp.js +4 -3
- package/dist/hoststack-mcp.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1944,6 +1944,7 @@ defineTool({
|
|
|
1944
1944
|
|
|
1945
1945
|
// src/tools/projects.ts
|
|
1946
1946
|
import { z as z12 } from "zod";
|
|
1947
|
+
var REGION_IDS = ["eu-central-1", "eu-central-2", "eu-west-1", "us-east-1"];
|
|
1947
1948
|
defineTool({
|
|
1948
1949
|
name: "list_projects",
|
|
1949
1950
|
category: "projects",
|
|
@@ -1976,16 +1977,16 @@ defineTool({
|
|
|
1976
1977
|
"Inputs:",
|
|
1977
1978
|
" - name: human-readable project name (1\u201360 chars).",
|
|
1978
1979
|
" - description (optional): short blurb shown in the dashboard.",
|
|
1979
|
-
' - region (optional): "
|
|
1980
|
+
' - region (optional): "eu-central-1" (Falkenstein) | "eu-central-2" (Nuremberg) | "eu-west-1" (Helsinki) | "us-east-1" (Ashburn). Defaults to eu-central-2.',
|
|
1980
1981
|
"",
|
|
1981
1982
|
"Returns: { project: Project } \u2014 includes the new id and publicId.",
|
|
1982
1983
|
"",
|
|
1983
|
-
'Example: create_project({ name: "billing-api", description: "Stripe webhooks", region: "
|
|
1984
|
+
'Example: create_project({ name: "billing-api", description: "Stripe webhooks", region: "eu-central-1" }) \u2192 { project: { id: 12, publicId: "prj_\u2026", \u2026 } }'
|
|
1984
1985
|
].join("\n"),
|
|
1985
1986
|
input: {
|
|
1986
1987
|
name: z12.string().min(1).max(60).describe("Project name (1\u201360 chars)."),
|
|
1987
1988
|
description: z12.string().max(500).optional().describe("Short description (\u2264500 chars)."),
|
|
1988
|
-
region: z12.enum(
|
|
1989
|
+
region: z12.enum(REGION_IDS).optional().describe("Region: eu-central-1 | eu-central-2 | eu-west-1 | us-east-1.")
|
|
1989
1990
|
},
|
|
1990
1991
|
handler: async (args, ctx) => {
|
|
1991
1992
|
const teamId = await ctx.resolveTeamId();
|