@ateam-ai/mcp 0.2.9 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +71 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ateam-ai/mcp",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "mcpName": "io.github.ariekogan/ateam-mcp",
5
5
  "description": "A-Team MCP Server — build, validate, and deploy multi-agent solutions from any AI environment",
6
6
  "type": "module",
package/src/tools.js CHANGED
@@ -832,7 +832,68 @@ export const tools = [
832
832
  },
833
833
 
834
834
  // ═══════════════════════════════════════════════════════════════════
835
- // MASTER KEY TOOLS cross-tenant bulk operations (master key only)
835
+ // RELEASE MANAGEMENTpromote, rollback, version listing
836
+ // ═══════════════════════════════════════════════════════════════════
837
+
838
+ {
839
+ name: "ateam_github_promote",
840
+ core: true,
841
+ description:
842
+ "Promote a dev version to main (production). By default promotes the latest dev tag. Optionally specify a specific dev tag to promote. Creates a prod-YYYY-MM-DD-NNN tag on main.",
843
+ inputSchema: {
844
+ type: "object",
845
+ properties: {
846
+ solution_id: {
847
+ type: "string",
848
+ description: "The solution ID",
849
+ },
850
+ tag: {
851
+ type: "string",
852
+ description: "Optional: specific dev tag to promote (e.g., 'dev-2026-03-11-005'). If omitted, promotes the latest dev tag.",
853
+ },
854
+ },
855
+ required: ["solution_id"],
856
+ },
857
+ },
858
+ {
859
+ name: "ateam_github_rollback",
860
+ core: true,
861
+ description:
862
+ "Rollback main (production) to a previous production tag. Resets main branch to the specified prod tag commit. ⚠️ DESTRUCTIVE — use with caution. Use ateam_github_list_versions to find available production tags first.",
863
+ inputSchema: {
864
+ type: "object",
865
+ properties: {
866
+ solution_id: {
867
+ type: "string",
868
+ description: "The solution ID",
869
+ },
870
+ tag: {
871
+ type: "string",
872
+ description: "Required: production tag to rollback to (e.g., 'prod-2026-03-10-001')",
873
+ },
874
+ },
875
+ required: ["solution_id", "tag"],
876
+ },
877
+ },
878
+ {
879
+ name: "ateam_github_list_versions",
880
+ core: true,
881
+ description:
882
+ "List all available dev version tags for a solution. Shows tag name, date, counter, and commit SHA. Use before promoting to see what's available.",
883
+ inputSchema: {
884
+ type: "object",
885
+ properties: {
886
+ solution_id: {
887
+ type: "string",
888
+ description: "The solution ID",
889
+ },
890
+ },
891
+ required: ["solution_id"],
892
+ },
893
+ },
894
+
895
+ // ═══════════════════════════════════════════════════════════════════
896
+ // INFRASTRUCTURE — redeploy, master key bulk operations
836
897
  // ═══════════════════════════════════════════════════════════════════
837
898
 
838
899
  {
@@ -1513,6 +1574,15 @@ const handlers = {
1513
1574
  return get(`/deploy/solutions/${solution_id}/github/log${qs}`, sid);
1514
1575
  },
1515
1576
 
1577
+ ateam_github_promote: async ({ solution_id, tag }, sid) =>
1578
+ post(`/deploy/solutions/${solution_id}/promote`, tag ? { tag } : {}, sid),
1579
+
1580
+ ateam_github_rollback: async ({ solution_id, tag }, sid) =>
1581
+ post(`/deploy/solutions/${solution_id}/rollback`, { tag }, sid),
1582
+
1583
+ ateam_github_list_versions: async ({ solution_id }, sid) =>
1584
+ get(`/deploy/solutions/${solution_id}/versions/dev`, sid),
1585
+
1516
1586
  ateam_delete_solution: async ({ solution_id }, sid) =>
1517
1587
  del(`/deploy/solutions/${solution_id}`, sid),
1518
1588