@tsdevstack/cli-mcp 0.1.4

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.
Files changed (77) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +151 -0
  3. package/dist/context/index.d.ts +10 -0
  4. package/dist/index.d.ts +13 -0
  5. package/dist/index.js +1211 -0
  6. package/dist/mcp-serve.d.ts +7 -0
  7. package/dist/register-commands.d.ts +8 -0
  8. package/dist/resources/guide-config.d.ts +8 -0
  9. package/dist/resources/guide-nest-common.d.ts +9 -0
  10. package/dist/resources/guide-workflows.d.ts +8 -0
  11. package/dist/resources/guide.d.ts +8 -0
  12. package/dist/resources/guide.test.d.ts +1 -0
  13. package/dist/resources/kong-routes.d.ts +8 -0
  14. package/dist/resources/kong-routes.test.d.ts +1 -0
  15. package/dist/resources/project-state.d.ts +9 -0
  16. package/dist/resources/project-state.test.d.ts +1 -0
  17. package/dist/resources/register-resources.d.ts +7 -0
  18. package/dist/resources/secrets-context.d.ts +9 -0
  19. package/dist/resources/secrets-context.test.d.ts +1 -0
  20. package/dist/server.d.ts +7 -0
  21. package/dist/server.test.d.ts +1 -0
  22. package/dist/tools/action/action-tools.test.d.ts +1 -0
  23. package/dist/tools/action/add-service.d.ts +7 -0
  24. package/dist/tools/action/cloud-init.d.ts +7 -0
  25. package/dist/tools/action/cloud-secrets-push.d.ts +7 -0
  26. package/dist/tools/action/cloud-secrets-remove.d.ts +7 -0
  27. package/dist/tools/action/cloud-secrets-set.d.ts +7 -0
  28. package/dist/tools/action/deploy-kong.d.ts +7 -0
  29. package/dist/tools/action/deploy-lb.d.ts +7 -0
  30. package/dist/tools/action/deploy-scheduler.d.ts +7 -0
  31. package/dist/tools/action/deploy-schedulers.d.ts +7 -0
  32. package/dist/tools/action/deploy-service.d.ts +7 -0
  33. package/dist/tools/action/deploy-services.d.ts +7 -0
  34. package/dist/tools/action/generate-client.d.ts +7 -0
  35. package/dist/tools/action/generate-docker-compose.d.ts +7 -0
  36. package/dist/tools/action/generate-kong.d.ts +7 -0
  37. package/dist/tools/action/generate-secrets.d.ts +7 -0
  38. package/dist/tools/action/infra-bootstrap.d.ts +7 -0
  39. package/dist/tools/action/infra-build-docker.d.ts +7 -0
  40. package/dist/tools/action/infra-build-kong.d.ts +7 -0
  41. package/dist/tools/action/infra-deploy.d.ts +7 -0
  42. package/dist/tools/action/infra-destroy.d.ts +7 -0
  43. package/dist/tools/action/infra-generate-ci.d.ts +7 -0
  44. package/dist/tools/action/infra-generate-docker.d.ts +7 -0
  45. package/dist/tools/action/infra-generate.d.ts +7 -0
  46. package/dist/tools/action/infra-init-ci.d.ts +7 -0
  47. package/dist/tools/action/infra-init.d.ts +7 -0
  48. package/dist/tools/action/infra-push-docker.d.ts +7 -0
  49. package/dist/tools/action/register-detached-worker.d.ts +7 -0
  50. package/dist/tools/action/register.d.ts +7 -0
  51. package/dist/tools/action/remove-detached-worker.d.ts +7 -0
  52. package/dist/tools/action/remove-scheduler.d.ts +7 -0
  53. package/dist/tools/action/remove-service-cloud.d.ts +7 -0
  54. package/dist/tools/action/remove-service.d.ts +7 -0
  55. package/dist/tools/action/run-db-migrate.d.ts +7 -0
  56. package/dist/tools/action/sync.d.ts +7 -0
  57. package/dist/tools/action/unregister-detached-worker.d.ts +7 -0
  58. package/dist/tools/action/validate-service.d.ts +7 -0
  59. package/dist/tools/query/diff-secrets.d.ts +7 -0
  60. package/dist/tools/query/get-infrastructure-config.d.ts +7 -0
  61. package/dist/tools/query/get-project-config.d.ts +7 -0
  62. package/dist/tools/query/get-secret.d.ts +7 -0
  63. package/dist/tools/query/get-service-status.d.ts +7 -0
  64. package/dist/tools/query/infra-plan.d.ts +7 -0
  65. package/dist/tools/query/infra-status.d.ts +7 -0
  66. package/dist/tools/query/list-deployed-services.d.ts +7 -0
  67. package/dist/tools/query/list-environments.d.ts +7 -0
  68. package/dist/tools/query/list-schedulers.d.ts +7 -0
  69. package/dist/tools/query/list-secrets.d.ts +7 -0
  70. package/dist/tools/query/list-services.d.ts +7 -0
  71. package/dist/tools/query/plan-db-migrate.d.ts +7 -0
  72. package/dist/tools/query/query-tools.test.d.ts +1 -0
  73. package/dist/tools/query/register.d.ts +7 -0
  74. package/dist/tools/register-tools.d.ts +7 -0
  75. package/dist/utils/run-command.d.ts +8 -0
  76. package/dist/utils/run-command.test.d.ts +1 -0
  77. package/package.json +69 -0
@@ -0,0 +1,7 @@
1
+ /**
2
+ * MCP Serve Command Handler
3
+ *
4
+ * Creates the MCP server and connects it to stdio transport.
5
+ * This is the function called by the `mcp:serve` CLI command.
6
+ */
7
+ export declare function mcpServe(): Promise<void>;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Register MCP Plugin Commands
3
+ *
4
+ * Registers the mcp:serve command with the Commander.js program.
5
+ * Called by cli-core after context initialization.
6
+ */
7
+ import type { Command } from 'commander';
8
+ export declare function registerMcpPlugin(program: Command): void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Config Guide Resource
3
+ *
4
+ * Hardcoded reference for all configuration files in the framework.
5
+ * Registers: tsdevstack://guide/config
6
+ */
7
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
+ export declare function registerGuideConfigResource(server: McpServer): void;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Nest-Common Guide Resource
3
+ *
4
+ * Practical notes for the nest-common shared library.
5
+ * References the docs-site for the full canonical reference.
6
+ * Registers: tsdevstack://guide/nest-common
7
+ */
8
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
9
+ export declare function registerGuideNestCommonResource(server: McpServer): void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Workflows Guide Resource
3
+ *
4
+ * Hardcoded step-by-step workflow chains for common tasks.
5
+ * Registers: tsdevstack://guide/workflows
6
+ */
7
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
+ export declare function registerGuideWorkflowsResource(server: McpServer): void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Core Guide Resource
3
+ *
4
+ * Hardcoded framework guide: project structure, service types, key principles, anti-patterns.
5
+ * Registers: tsdevstack://guide
6
+ */
7
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
+ export declare function registerGuideResource(server: McpServer): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Kong Routes Resource
3
+ *
4
+ * Dynamic file-read resource for Kong gateway configuration.
5
+ * Registers: tsdevstack://kong/routes
6
+ */
7
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
+ export declare function registerKongRoutesResource(server: McpServer): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Project State Resources
3
+ *
4
+ * Dynamic file-read resources for project configuration files.
5
+ * Registers: tsdevstack://config, tsdevstack://infrastructure,
6
+ * tsdevstack://infrastructure-schema, tsdevstack://ci
7
+ */
8
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
9
+ export declare function registerProjectStateResources(server: McpServer): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Register Resources
3
+ *
4
+ * Registers all MCP resources (project state + secrets + kong + guides) with the server.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerResources(server: McpServer): void;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Secrets Context Resources
3
+ *
4
+ * Dynamic file-read resources for secrets configuration.
5
+ * Registers: tsdevstack://secrets/map, tsdevstack://secrets/names,
6
+ * tsdevstack://secrets/user
7
+ */
8
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
9
+ export declare function registerSecretsContextResources(server: McpServer): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * MCP Server Setup
3
+ *
4
+ * Creates and configures the McpServer instance with tools and resources.
5
+ */
6
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function createServer(): McpServer;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Add Service Tool
3
+ *
4
+ * Wraps `npx tsdevstack add-service` to add a new service.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerAddServiceTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Cloud Init Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud:init` to initialize cloud provider credentials.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerCloudInitTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Cloud Secrets Push Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud-secrets:push` to push secrets to cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerCloudSecretsPushTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Cloud Secrets Remove Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud-secrets:remove` to remove a secret from cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerCloudSecretsRemoveTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Cloud Secrets Set Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud-secrets:set` to set a single secret in cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerCloudSecretsSetTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deploy Kong Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy-kong` to rebuild and deploy Kong gateway.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDeployKongTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deploy LB Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy-lb` to deploy/update the load balancer.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDeployLbTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deploy Scheduler Tool (singular)
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy-scheduler` to deploy a single scheduled job.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDeploySchedulerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deploy Schedulers Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy-schedulers` to deploy all scheduled jobs.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDeploySchedulersTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deploy Service Tool (singular)
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy-service` to build, push, deploy a single service.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDeployServiceTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deploy Services Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy-services` to deploy code changes.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDeployServicesTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generate Client Tool
3
+ *
4
+ * Wraps `npx tsdevstack generate-client` to generate TypeScript HTTP client + DTOs.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGenerateClientTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generate Docker Compose Tool
3
+ *
4
+ * Wraps `npx tsdevstack generate-docker-compose` to regenerate docker-compose.yml.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGenerateDockerComposeTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generate Kong Tool
3
+ *
4
+ * Wraps `npx tsdevstack generate-kong` to regenerate Kong gateway config.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGenerateKongTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generate Secrets Tool
3
+ *
4
+ * Wraps `npx tsdevstack generate-secrets` to regenerate local secrets files.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGenerateSecretsTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Bootstrap Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:bootstrap` to bootstrap cloud project.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraBootstrapTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Build Docker Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:build-docker` to build Docker images.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraBuildDockerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Build Kong Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:build-kong` to build Kong Docker image.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraBuildKongTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Deploy Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:deploy` for full infrastructure deployment.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraDeployTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Destroy Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:destroy` to destroy all cloud infrastructure.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraDestroyTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Generate CI Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:generate-ci` to regenerate CI workflows.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraGenerateCiTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Generate Docker Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:generate-docker` to generate Dockerfiles.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraGenerateDockerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Generate Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:generate` to generate Terraform files.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraGenerateTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Init CI Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:init-ci` to initialize CI/CD workflows.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraInitCiTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Init Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:init` to initialize infrastructure.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraInitTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Push Docker Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:push-docker` to push Docker images to registry.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraPushDockerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Register Detached Worker Tool
3
+ *
4
+ * Wraps `npx tsdevstack register-detached-worker` to register a worker in config.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerRegisterDetachedWorkerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Register Action Tools
3
+ *
4
+ * Registers all 35 action tools (9 local + 12 cloud + 14 setup/CI/internal) with the MCP server.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerActionTools(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Remove Detached Worker Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:remove-detached-worker` to remove a worker from cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerRemoveDetachedWorkerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Remove Scheduler Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:remove-scheduler` to remove a scheduled job from cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerRemoveSchedulerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Remove Service Cloud Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:remove-service` to remove a service from cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerRemoveServiceCloudTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Remove Service Tool
3
+ *
4
+ * Wraps `npx tsdevstack remove-service` to remove a service locally.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerRemoveServiceTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Run DB Migrate Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:run-db-migrate` to apply pending migrations.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerRunDbMigrateTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Sync Tool
3
+ *
4
+ * Wraps `npx tsdevstack sync` to regenerate all local config.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerSyncTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Unregister Detached Worker Tool
3
+ *
4
+ * Wraps `npx tsdevstack unregister-detached-worker` to remove a worker from config.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerUnregisterDetachedWorkerTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Validate Service Tool
3
+ *
4
+ * Wraps `npx tsdevstack validate-service` to validate service structure.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerValidateServiceTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Diff Secrets Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud-secrets:diff` to compare local vs cloud secrets.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerDiffSecretsTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Get Infrastructure Config Tool
3
+ *
4
+ * Reads infrastructure.json to return per-environment settings.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGetInfrastructureConfigTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Get Project Config Tool
3
+ *
4
+ * Reads config.json to return the full project configuration.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGetProjectConfigTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Get Secret Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud-secrets:get` to retrieve a single secret value.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGetSecretTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Get Service Status Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:service-status` to check cloud resource status.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerGetServiceStatusTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Plan Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:plan` to preview infrastructure changes.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraPlanTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Infra Status Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:status` to check infrastructure sync status.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerInfraStatusTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * List Deployed Services Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:list-deployed` to list all deployed services.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerListDeployedServicesTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * List Environments Tool
3
+ *
4
+ * Reads credential files to list configured cloud environments and their providers.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerListEnvironmentsTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * List Schedulers Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:list-schedulers` to list scheduled jobs.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerListSchedulersTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * List Secrets Tool
3
+ *
4
+ * Wraps `npx tsdevstack cloud-secrets:list` to list secret names in cloud.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerListSecretsTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * List Services Tool
3
+ *
4
+ * Reads config.json to list all services with their types, ports, and dependencies.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerListServicesTool(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Plan DB Migrate Tool
3
+ *
4
+ * Wraps `npx tsdevstack infra:plan-db-migrate` to show pending migrations.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerPlanDbMigrateTool(server: McpServer): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Register Query Tools
3
+ *
4
+ * Registers all 13 read-only (query) tools with the MCP server.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerQueryTools(server: McpServer): void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Register Tools
3
+ *
4
+ * Registers all 48 MCP tools (13 query + 35 action) with the server.
5
+ */
6
+ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
7
+ export declare function registerTools(server: McpServer): void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Run Command Utility
3
+ *
4
+ * Spawns `npx tsdevstack <command>` and captures output.
5
+ * Returns MCP-formatted CallToolResult.
6
+ */
7
+ import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
8
+ export declare function runCommand(args: string[], timeoutMs?: number): Promise<CallToolResult>;
@@ -0,0 +1 @@
1
+ export {};