Files
2026-05-09 19:09:43 -05:00

49 lines
1.2 KiB
Markdown

<![CDATA[← [Home](Home)
# Configuration
Config file: `~/.deploy-mcp.json`
```json
{
"defaultConnection": "dev",
"connections": {
"dev": {
"host": "waas.dev.mokoconsulting.tech",
"username": "deploy",
"keyPath": "~/.ssh/id_ed25519",
"remotePath": "/var/www/dev",
"localPath": "./build"
},
"demo": {
"host": "waas.demo.mokoconsulting.tech",
"username": "deploy",
"keyPath": "~/.ssh/id_ed25519",
"remotePath": "/var/www/demo"
}
}
}
```
## Fields
| Field | Required | Description |
|-------|----------|-------------|
| `host` | Yes | Remote hostname |
| `username` | Yes | SSH username |
| `keyPath` | No | SSH private key path |
| `port` | No | SSH port (default 22) |
| `remotePath` | Yes | Remote deploy directory |
| `localPath` | No | Local build directory |
Override config: `DEPLOY_MCP_CONFIG=/path/to/config.json`
]]>
---
*Repo: [deploy-mcp](https://git.mokoconsulting.tech/MokoConsulting/deploy-mcp) · [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/wiki/Home)*
| Revision | Date | Author | Description |
|---|---|---|---|
| 1.0 | 2026-05-09 | Moko Consulting | Initial version |