☁️
devx
CloudVerse DevX CLI - Local cost analysis for developers with MCP server support
0 installs
Trust: 39 — Low
Cloud
Installation
npx @cloudverse/devxAsk AI about devx
Powered by Claude · Grounded in docs
I know everything about devx. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
CloudVerse DevX CLI
Cloud cost issues are introduced through code and IaC changes. DevX surfaces cost impact locally and in pull requests.
Install (recommended)
npm install -g @cloudverse/devx
Authenticate
devx auth login
Common usage
devx scan
devx scan --staged
devx scan --iac
Hooks
devx hooks install
devx hooks status
git commit --no-verify
Security
- No cloud credentials required
- No full repo uploads
- Only changed files are analyzed
Verification
Every release includes checksums and GPG signatures:
shasum -a 256 <artifact>
gpg --verify SHA256SUMS.sig SHA256SUMS
See SECURITY.md for details.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Clean (no findings, or advisory-only) |
| 1 | Warnings present (non-blocking) |
| 2 | Blocked by policy |
| 3 | CLI / auth / backend error |
Commands
devx auth login # Authenticate via browser
devx auth status # Check authentication status
devx auth logout # Clear credentials
devx scan # Analyze working directory changes
devx scan --staged # Analyze staged changes only
devx hooks install # Install pre-commit/pre-push hooks
devx hooks uninstall # Remove DevX hooks
devx hooks status # Show hook installation status
devx explain <ruleId> # Get rule explanation
devx doctor # Run diagnostics
devx mcp # Start MCP server for AI agents
MCP Server (Model Context Protocol)
DevX includes an MCP server for integration with AI agents like Replit Agent, Claude, and other MCP-compatible tools.
Starting the MCP Server
# As a command
devx mcp
# Or via standalone binary
devx-mcp
Replit Agent Configuration
Add to your MCP configuration:
{
"mcpServers": {
"devx-costlint": {
"command": "devx-mcp",
"args": []
}
}
}
Available Tools
| Tool | Description |
|---|---|
costlint_scan | Analyze code for cloud cost optimization opportunities |
costlint_explain | Get detailed explanation of a CostLint rule |
Example Usage
The MCP server speaks JSON-RPC over stdio:
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"costlint_scan","arguments":{"code":"const client = new S3Client({});","language":"typescript"}}}
Distribution
Official binaries and signatures are available at: https://github.com/CloudVerse-Pte-Ltd/devx/releases
License
MIT
