@tsdevstack/cli-mcp
OfficialAllows building, pushing Docker images, and generating Docker Compose configurations.
Provides tools for generating, building, and deploying Kong gateway routes and declarative configuration.
Enables adding NestJS services to the project and generating TypeScript HTTP clients from OpenAPI specs.
Allows planning, generating, deploying, and destroying Terraform-managed cloud infrastructure.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@tsdevstack/cli-mcpdeploy user-service to production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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, andidempotentHintmetadata
Related MCP server: IBM Cloud MCP Server
Installation
npm install @tsdevstack/cli-mcpRequires 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:serveThis 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 all services with types and ports |
| List configured cloud environments |
| Full project configuration |
| Per-environment infrastructure settings |
| Cloud resource status for a service |
| All deployed services in an environment |
| Secret names in cloud (not values) |
| Compare local vs cloud secrets |
| Get a single secret value |
| Scheduled jobs and status |
| Preview pending database migrations |
| Terraform plan preview |
| Infrastructure sync status |
Action tools — local
Tool | Description |
| Regenerate all local config |
| Regenerate local secrets files |
| Regenerate Kong gateway config |
| Regenerate docker-compose.yml |
| Add a new service (nestjs, nextjs, spa) |
| Remove a service from the project |
| Generate TypeScript HTTP client from OpenAPI |
| Add an object storage bucket |
| Remove an object storage bucket |
| Add a messaging topic to config |
| Remove a messaging topic from config |
| Update publishers/subscribers for a topic |
| Register a detached worker in config |
| Remove a worker from config |
Action tools — cloud
Tool | Description |
| Push secrets to cloud |
| Set a single cloud secret |
| Remove a cloud secret |
| Full infrastructure deployment |
| Deploy code changes to services |
| Build + push + deploy a single service |
| Rebuild and deploy Kong gateway |
| Deploy/update load balancer |
| Apply pending database migrations |
| Deploy all scheduled jobs |
| Deploy a single scheduled job |
| Remove a service from cloud |
| Remove a worker from cloud |
| Destroy all cloud infrastructure |
Action tools — setup & CI
Tool | Description |
| Initialize cloud provider credentials |
| Bootstrap cloud project |
| Initialize Terraform state |
| Generate Terraform files |
| Generate Dockerfiles |
| Build Docker images |
| Push Docker images to registry |
| Generate Kong declarative config |
| Build Kong Docker image |
| Initialize CI/CD workflows |
| Regenerate CI workflows |
| Validate service structure |
| 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 tsdevstackcommandsAction tools delegate to
runCommand()which spawnsnpx tsdevstack <command>as a child processResources read project files and provide contextual documentation
Community
Join the Discord: discord.gg/2EMFkqc8QR
License
Apache-2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsdevstack/cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server