ateam_github_write
Write files to a GitHub repository for connector solutions. Use this to create or update connector code files individually on the dev branch.
Instructions
Write a file to the solution's GitHub repo. Use this to create new connector files or replace existing ones — one file per call. This is the PRIMARY way to write connector code after first deploy. Write each file individually (server.js, package.json, UI assets), then call ateam_github_promote() to ship to prod (dev→main), then ateam_build_and_run() to deploy.
DEFAULTS TO dev BRANCH.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"solution_id": "<solution_id>",
"path": "<path>",
"content": "<content>"
},
"name": "ateam_github_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| solution_id | Yes | The solution ID | |
| path | Yes | File path to write (e.g. 'connectors/my-mcp/server.js', 'connectors/my-mcp/package.json') | |
| content | Yes | The full file content | |
| message | No | Optional commit message (default: 'Write <path>') | |
| ref | No | Target branch. Default: 'dev'. | dev |