Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server plugin for the tsdevstack CLI, enabling AI agents to manage infrastructure, deployment, and project state with 54 tools and 12 resources.

README.md

@tsdevstack/cli-mcp

MCP (Model Context Protocol) server plugin for the tsdevstack CLI. Exposes 54 tools and 12 resources so AI agents like Claude can understand and assist you with the framework, the infrastructure, deployment flows and querying the project state.

Features

  • 54 MCP Tools — 13 read-only queries + 41 actions covering the full tsdevstack CLI surface
  • 12 MCP Resources — project state, secrets context, Kong routes, and framework guides
  • Stdio Transport — connects via stdin/stdout for IDE and agent integration
  • Zod Validation — all tool inputs validated with schemas
  • MCP Annotations — tools include readOnlyHint, destructiveHint, and idempotentHint metadata

Installation

npm install @tsdevstack/cli-mcp

Requires tsdevstack as a peer dependency.

Usage

As a CLI plugin

The MCP server registers as a plugin with the tsdevstack CLI:

import { initContext, registerMcpPlugin } from '@tsdevstack/cli-mcp';

// Initialize with CLI plugin context
initContext(pluginContext);

// Register the mcp:serve command
registerMcpPlugin(program);

Starting the server

npx tsdevstack mcp:serve

This starts the MCP server over stdio transport, ready for AI agent connections.

Claude Code integration

Add to your .mcp.json:

{
  "mcpServers": {
    "tsdevstack": {
      "command": "npx",
      "args": ["tsdevstack", "mcp:serve"]
    }
  }
}

Tools

Query tools (read-only)

| Tool | Description | | --------------------------- | --------------------------------------- | | list_services | List all services with types and ports | | list_environments | List configured cloud environments | | get_project_config | Full project configuration | | get_infrastructure_config | Per-environment infrastructure settings | | get_service_status | Cloud resource status for a service | | list_deployed_services | All deployed services in an environment | | list_secrets | Secret names in cloud (not values) | | diff_secrets | Compare local vs cloud secrets | | get_secret | Get a single secret value | | list_schedulers | Scheduled jobs and status | | plan_db_migrate | Preview pending database migrations | | infra_plan | Terraform plan preview | | infra_status | Infrastructure sync status |

Action tools — local

| Tool | Description | | ---------------------------- | -------------------------------------------- | | sync | Regenerate all local config | | generate_secrets | Regenerate local secrets files | | generate_kong | Regenerate Kong gateway config | | generate_docker_compose | Regenerate docker-compose.yml | | add_service | Add a new service (nestjs, nextjs, spa) | | remove_service | Remove a service from the project | | generate_client | Generate TypeScript HTTP client from OpenAPI | | add_bucket_storage | Add an object storage bucket | | remove_bucket_storage | Remove an object storage bucket | | add_messaging_topic | Add a messaging topic to config | | remove_messaging_topic | Remove a messaging topic from config | | update_messaging_topic | Update publishers/subscribers for a topic | | register_detached_worker | Register a detached worker in config | | unregister_detached_worker | Remove a worker from config |

Action tools — cloud

| Tool | Description | | ------------------------ | -------------------------------------- | | cloud_secrets_push | Push secrets to cloud | | cloud_secrets_set | Set a single cloud secret | | cloud_secrets_remove | Remove a cloud secret | | infra_deploy | Full infrastructure deployment | | deploy_services | Deploy code changes to services | | deploy_service | Build + push + deploy a single service | | deploy_kong | Rebuild and deploy Kong gateway | | deploy_lb | Deploy/update load balancer | | run_db_migrate | Apply pending database migrations | | deploy_schedulers | Deploy all scheduled jobs | | deploy_scheduler | Deploy a single scheduled job | | remove_service_cloud | Remove a service from cloud | | remove_detached_worker | Remove a worker from cloud | | infra_destroy | Destroy all cloud infrastructure |

Action tools — setup & CI

| Tool | Description | | ----------------------- | ------------------------------------- | | cloud_init | Initialize cloud provider credentials | | infra_bootstrap | Bootstrap cloud project | | infra_init | Initialize Terraform state | | infra_generate | Generate Terraform files | | infra_generate_docker | Generate Dockerfiles | | infra_build_docker | Build Docker images | | infra_push_docker | Push Docker images to registry | | infra_generate_kong | Generate Kong declarative config | | infra_build_kong | Build Kong Docker image | | infra_init_ci | Initialize CI/CD workflows | | infra_generate_ci | Regenerate CI workflows | | validate_service | Validate service structure | | remove_scheduler | Remove a scheduled job from cloud |

Resources

| Resource | Description | | ----------------- | ---------------------------------------------------------------------------------------------------------------------- | | Project state (8) | Services list, environments, config, infrastructure settings, deployed services, secrets, schedulers, migration status | | Secrets context | Local and cloud secret names with diff | | Kong routes | Current gateway routing configuration | | Guides (4) | Framework guide, workflow guide, nest-common guide, config guide |

Architecture

The MCP server is a thin layer over the tsdevstack CLI:

  • Query tools either read local config files directly or wrap npx tsdevstack commands
  • Action tools delegate to runCommand() which spawns npx tsdevstack <command> as a child process
  • Resources read project files and provide contextual documentation

Community

Join the Discord: discord.gg/2EMFkqc8QR

License

Apache-2.0

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Cloud & DevOps servers.