- scripts/mcp-deploy.ts: MCP server dengan 2 tool: - publish: trigger publish.yml (build & push image stg) - repull: trigger re-pull.yml (redeploy stack di Portainer) - .mcp.json: registrasi server dengan env GH_TOKEN, STACK_NAME, BASE_URL Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 lines
236 B
JSON
15 lines
236 B
JSON
{
|
|
"mcpServers": {
|
|
"deploy-stg": {
|
|
"type": "stdio",
|
|
"command": "bun",
|
|
"args": ["scripts/mcp-deploy.ts"],
|
|
"env": {
|
|
"GH_TOKEN": "",
|
|
"STACK_NAME": "",
|
|
"BASE_URL": ""
|
|
}
|
|
}
|
|
}
|
|
}
|