CI/CD and automation
UseMCPCLOUD_API_KEY and --json output for deterministic automation.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use MCPCloud CLI in scripts and pipelines with JSON output and key-based auth.
MCPCLOUD_API_KEY and --json output for deterministic automation.
name: Deploy MCP Server
on:
push:
branches: [main]
paths: ["openapi.yaml"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy MCP server
run: bunx --bun @mcpcloud/cli servers deploy ${{ env.MCP_SERVER_ID }}
env:
MCPCLOUD_API_KEY: ${{ secrets.MCPCLOUD_API_KEY }}
mcp servers list --json | jq '.servers[].id'
mcp servers deploy "$SERVER_ID" --json | jq -r '.deploymentId'