@ateam-ai/mcp 0.3.53 → 0.3.55

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 +17 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ateam-ai/mcp",
3
- "version": "0.3.53",
3
+ "version": "0.3.55",
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
@@ -131,15 +131,15 @@ export const tools = [
131
131
  name: "ateam_get_spec",
132
132
  core: true,
133
133
  description:
134
- "Get the A-Team specification — schemas, validation rules, system tools, agent guides, and templates. Start here after bootstrap to understand how to build skills and solutions. Use 'section' to get just one part of the skill spec (much smaller than the full spec). Use 'search' to find specific fields or concepts across the spec.",
134
+ "Get the A-Team specification — schemas, validation rules, system tools, agent guides, and templates. Start here after bootstrap to understand how to build skills and solutions. Use 'section' to get just one part of the skill spec (much smaller than the full spec). Use 'search' to find specific fields or concepts across the spec.\n\nWhen designing a persona that orchestrates logic via run_python_script (the Python-as-orchestrator pattern), also fetch topic='python_helpers' — that returns the adas.* helper namespace reference. Skills designed without knowing about adas.* produce 5-10x larger / brittler scripts.",
135
135
  inputSchema: {
136
136
  type: "object",
137
137
  properties: {
138
138
  topic: {
139
139
  type: "string",
140
- enum: ["overview", "skill", "solution", "enums", "connector-multi-user"],
140
+ enum: ["overview", "skill", "solution", "enums", "connector-multi-user", "python_helpers"],
141
141
  description:
142
- "What to fetch: 'overview' = API overview + endpoints, 'skill' = full skill spec, 'solution' = full solution spec, 'enums' = all enum values, 'connector-multi-user' = multi-user connector guide",
142
+ "What to fetch: 'overview' = API overview + endpoints, 'skill' = full skill spec, 'solution' = full solution spec, 'enums' = all enum values, 'connector-multi-user' = multi-user connector guide, 'python_helpers' = adas.* helper namespace for run_python_script orchestration (read this when designing personas that read state → call tools → checkpoint → status; without it, scripts hand-roll JSON parsing and tool delegation = 5-10x larger and brittler).",
143
143
  },
144
144
  section: {
145
145
  type: "string",
@@ -676,7 +676,15 @@ export const tools = [
676
676
  "Upload connector code to Core and restart — WITHOUT redeploying skills. " +
677
677
  "Use this to update connector source code (server.js, UI assets, plugins) quickly. " +
678
678
  "Set github=true to pull files from the solution's GitHub repo, or pass files directly. " +
679
- "Much faster than ateam_build_and_run for connector-only changes.",
679
+ "Much faster than ateam_build_and_run for connector-only changes.\n\n" +
680
+ "⚠️ REPLACE, NOT MERGE: this overwrites the ENTIRE connector directory. Any file you do not " +
681
+ "include is DELETED — omit ui-dist/ and the UI plugins 404 with {\"error\":\"Not found\"}; omit " +
682
+ "src/ and the connector won't start. When passing `files`, send the WHOLE connector (every " +
683
+ "source file AND every ui-dist asset), not just what you changed. (node_modules survives only " +
684
+ "because npm install re-runs on restart — that is NOT a merge.)\n" +
685
+ "⚠️ github=true reads the `main` branch, NOT `dev`. A change that's only on dev will deploy " +
686
+ "STALE. Either promote first (ateam_github_promote dev→main) then github=true, or pass `files` " +
687
+ "directly for a dev-only deploy.",
680
688
  inputSchema: {
681
689
  type: "object",
682
690
  properties: {
@@ -690,7 +698,7 @@ export const tools = [
690
698
  },
691
699
  github: {
692
700
  type: "boolean",
693
- description: "If true, pull connector files from GitHub repo. Default: false.",
701
+ description: "If true, pull the FULL connector from GitHub and replace the deployed dir. Reads the `main` branch (NOT dev) — promote dev→main first or it deploys stale code. Default: false.",
694
702
  },
695
703
  files: {
696
704
  type: "array",
@@ -702,7 +710,7 @@ export const tools = [
702
710
  },
703
711
  required: ["path", "content"],
704
712
  },
705
- description: "Files to upload. Alternative to github=true.",
713
+ description: "Files to upload. Alternative to github=true. REPLACES the whole connector dir — include EVERY file (all source + all ui-dist assets), not just the ones you changed; any file omitted here is deleted from the deployment.",
706
714
  },
707
715
  },
708
716
  required: ["solution_id", "connector_id"],
@@ -820,7 +828,8 @@ export const tools = [
820
828
  name: "ateam_upload_connector_files",
821
829
  core: false,
822
830
  description:
823
- "Upload source files for a connector's MCP server. Use this INSTEAD of mcp_store in ateam_build_and_run when the source code is too large to inline. Upload files first, then build_and_run without mcp_store. (Advanced.)",
831
+ "Upload source files for a connector's MCP server. Use this INSTEAD of mcp_store in ateam_build_and_run when the source code is too large to inline. Upload files first, then build_and_run without mcp_store. (Advanced.)\n\n" +
832
+ "⚠️ STAGES ONLY — these files are saved for your NEXT solution deploy; they do NOT update the running connector (the response says \"staged for next deploy\"). To push connector code to the LIVE runtime and restart it immediately, use ateam_upload_connector (which replaces the whole connector dir).",
824
833
  inputSchema: {
825
834
  type: "object",
826
835
  properties: {
@@ -1497,6 +1506,7 @@ const SPEC_PATHS = {
1497
1506
  solution: "/spec/solution",
1498
1507
  enums: "/spec/enums",
1499
1508
  "connector-multi-user": "/spec/multi-user-connector",
1509
+ python_helpers: "/spec/python_helpers",
1500
1510
  };
1501
1511
 
1502
1512
  const EXAMPLE_PATHS = {