Serverless Devs
$ s Foundation High RiskServerless Devs (s) is an Apache-2.0 multi-cloud serverless developer CLI (1.8k+ stars) supporting Alibaba Cloud Function Compute, AWS Lambda, Tencent Cloud SCF, and Huawei Cloud FunctionGraph. Driven by s.yaml templates, it supports s info, s deploy -y, and multi-account credential aliases via s config.
npm install -g @serverless-devs/s s packages code, resolves s.yaml component plugins, and deploys serverless stacks directly—tasks poorly suited for stateless MCP calls.
At a Glance
- Command
- $ s
- FCRS-1.0 Score
- 77/100 (Good)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -y (--assume-yes), -t template selection, and -a access alias flags for CI/agent automation, though output is mostly YAML/human console formatting.
- Non-interactive flags
-y,-t, and-aacross lifecycle commands - Output is primarily human-formatted logs and YAML rather than strict
--json
Separates provider keys via -a <alias> and supports read-only s info, though it lacks a universal --dry-run plan command.
- Explicit
-a <alias>credential isolation in~/.s/access.yaml
Cross-platform TypeScript CLI installable cleanly via npm install -g @serverless-devs/s or npx @serverless-devs/s.
- Distributed on npm (
@serverless-devs/s) and GitHub releases
Unifies multi-cloud FaaS build, local invoke, info inspection, and deploy across Alibaba Cloud FC, AWS, and Tencent SCF.
- Component ecosystem covering major APAC and global FaaS providers
CNCF-aligned / foundation-hosted Serverless-Devs/Serverless-Devs repository (1.8k+ stars, Apache-2.0).
Serverless-Devs/Serverless-Devsunder Apache-2.0 (1.8k+ stars)
Well-documented s.yaml specification and component registry docs at serverless-devs.com.
- Comprehensive
s.yamlspec and CLI docs at docs.serverless-devs.com
Security, Auth & Guardrails
Stores provider access keys by alias in ~/.s/access.yaml, managed with s config add -a <alias> and s config get.
CLI is free (Apache-2.0); deployed FaaS functions and gateways incur cloud vendor billing.
# Serverless Devs (s) Agent Rules - Always pass `-t <template.yaml>` and `-a <access-alias>` explicitly so deployments never hit the wrong account. - Run `s info` before `s deploy -y` to verify existing cloud state. - Require user approval before running `s remove` or deploying production templates.
Agent-Ready Command Recipes
Safe Read-Only Queries
s info -t s.yaml
Queries live cloud endpoints and configuration state for the current s.yaml without mutating resources.
s config get
Displays configured multi-cloud credential aliases stored in ~/.s/access.yaml.
Controlled Writes & Previews
s deploy -t s-staging.yaml -a staging -y
Deploys the s-staging.yaml template using the staging credential alias and -y auto-confirm.
Strengths for Agents
- + Clean multi-cloud
s.yamlworkflow with-a <alias>and-t <template>environment separation. - + Supports non-interactive
-yexecution for CI and agent deployments. - + Easy installation via
npm install -g @serverless-devs/s.
Caveats & Pitfalls
- ! Single-letter binary
scan collide with short shell aliases on some developer machines. - ! Lacks a universal
--dry-rundiff command or consistent--jsonoutput across third-party components.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →Connect workstations to Kubernetes service networks and intercept traffic with `--format json`.
Modular Akamai CLI for Edge DNS, Property Manager, EdgeWorkers, and cache purging via `akamai install`.
Rust-built Railway PaaS CLI with `--json` status/variables output and `RAILWAY_TOKEN` CI auth.
Apple Silicon CLI running Linux OCI containers inside per-container lightweight macOS VMs.
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.