@ateam-ai/mcp 0.1.8 → 0.1.10

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.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ateam-ai/mcp",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "mcpName": "io.github.ariekogan/ateam-mcp",
5
- "description": "ADAS MCP Server — build, validate, and deploy multi-agent solutions from any AI environment",
5
+ "description": "A-Team MCP Server — build, validate, and deploy multi-agent solutions from any AI environment",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "ateam-mcp": "src/index.js"
package/src/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * ADAS API client — thin HTTP wrapper for the External Agent API.
2
+ * A-Team API client — thin HTTP wrapper for the External Agent API.
3
3
  *
4
4
  * Credentials resolve in this order:
5
5
  * 1. Per-session override (set via adas_auth tool — used by HTTP transport)
@@ -91,21 +91,21 @@ function headers(sessionId) {
91
91
  */
92
92
  function formatError(method, path, status, body) {
93
93
  const hints = {
94
- 401: "Your API key may be invalid or expired. Try calling adas_auth again with a valid key.",
95
- 403: "You don't have permission for this operation. Check your tenant and API key.",
94
+ 401: "Your API key may be invalid or expired. Get a valid key at https://mcp.ateam-ai.com/get-api-key then call adas_auth(api_key: \"your_key\").",
95
+ 403: "You don't have permission for this operation. Check your tenant and API key. Get a key at https://mcp.ateam-ai.com/get-api-key",
96
96
  404: "Resource not found. Check the solution_id or skill_id you're using. Use adas_list_solutions to see available solutions.",
97
97
  409: "Conflict — the resource may already exist or is in a conflicting state.",
98
98
  422: "Validation failed. Check the request payload against the spec (use adas_get_spec).",
99
99
  429: "Rate limited. Wait a moment and try again.",
100
- 500: "ADAS server error. The platform may be temporarily unavailable. Try again in a minute.",
101
- 502: "ADAS API is unreachable. The service may be restarting. Try again in a minute.",
102
- 503: "ADAS API is temporarily unavailable. Try again in a minute.",
100
+ 500: "A-Team server error. The platform may be temporarily unavailable. Try again in a minute.",
101
+ 502: "A-Team API is unreachable. The service may be restarting. Try again in a minute.",
102
+ 503: "A-Team API is temporarily unavailable. Try again in a minute.",
103
103
  };
104
104
 
105
105
  const hint = hints[status] || "";
106
106
  const detail = typeof body === "string" && body.length > 0 && body.length < 500 ? body : "";
107
107
 
108
- let msg = `ADAS API error: ${method} ${path} returned ${status}`;
108
+ let msg = `A-Team API error: ${method} ${path} returned ${status}`;
109
109
  if (detail) msg += ` — ${detail}`;
110
110
  if (hint) msg += `\nHint: ${hint}`;
111
111
 
@@ -140,19 +140,19 @@ async function request(method, path, body, sessionId) {
140
140
  } catch (err) {
141
141
  if (err.name === "AbortError") {
142
142
  throw new Error(
143
- `ADAS API timeout: ${method} ${path} did not respond within ${REQUEST_TIMEOUT_MS / 1000}s.\n` +
144
- `Hint: The ADAS API at ${BASE_URL} may be down. Check https://api.ateam-ai.com/health`
143
+ `A-Team API timeout: ${method} ${path} did not respond within ${REQUEST_TIMEOUT_MS / 1000}s.\n` +
144
+ `Hint: The A-Team API at ${BASE_URL} may be down. Check https://api.ateam-ai.com/health`
145
145
  );
146
146
  }
147
147
  if (err.cause?.code === "ECONNREFUSED") {
148
148
  throw new Error(
149
- `Cannot connect to ADAS API at ${BASE_URL}.\n` +
149
+ `Cannot connect to A-Team API at ${BASE_URL}.\n` +
150
150
  `Hint: The service may be down. Check https://api.ateam-ai.com/health`
151
151
  );
152
152
  }
153
153
  if (err.cause?.code === "ENOTFOUND") {
154
154
  throw new Error(
155
- `Cannot resolve ADAS API host: ${BASE_URL}.\n` +
155
+ `Cannot resolve A-Team API host: ${BASE_URL}.\n` +
156
156
  `Hint: Check your internet connection and ADAS_API_URL setting.`
157
157
  );
158
158
  }
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  /**
4
- * ADAS MCP Server
4
+ * A-Team MCP Server
5
5
  * Build, validate, and deploy multi-agent solutions from any AI environment.
6
6
  *
7
7
  * Transports:
package/src/server.js CHANGED
@@ -18,7 +18,7 @@ import { tools, handleToolCall } from "./tools.js";
18
18
  */
19
19
  export function createServer(sessionId = "stdio") {
20
20
  const server = new Server(
21
- { name: "ateam-mcp", version: "0.1.8" },
21
+ { name: "ateam-mcp", version: "0.1.10" },
22
22
  {
23
23
  capabilities: { tools: {} },
24
24
  instructions: [
package/src/tools.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * ADAS MCP tool definitions and handlers.
3
- * 15 tools covering the full ADAS External Agent API + auth + bootstrap.
2
+ * A-Team MCP tool definitions and handlers.
3
+ * 15 tools covering the full A-Team External Agent API + auth + bootstrap.
4
4
  */
5
5
 
6
6
  import {
@@ -23,13 +23,13 @@ export const tools = [
23
23
  {
24
24
  name: "adas_auth",
25
25
  description:
26
- "Authenticate with ADAS. Required before deploying or modifying solutions. The user can get their API key at https://mcp.ateam-ai.com/get-api-key. Read-only operations (spec, examples, validate) work without auth.",
26
+ "Authenticate with A-Team. Required before deploying or modifying solutions. The user can get their API key at https://mcp.ateam-ai.com/get-api-key. Read-only operations (spec, examples, validate) work without auth.",
27
27
  inputSchema: {
28
28
  type: "object",
29
29
  properties: {
30
30
  api_key: {
31
31
  type: "string",
32
- description: "Your ADAS API key (e.g., adas_xxxxx)",
32
+ description: "Your A-Team API key (e.g., adas_xxxxx)",
33
33
  },
34
34
  tenant: {
35
35
  type: "string",
@@ -42,7 +42,7 @@ export const tools = [
42
42
  {
43
43
  name: "adas_get_spec",
44
44
  description:
45
- "Get the ADAS specification — schemas, validation rules, system tools, agent guides, and templates. Start here after bootstrap to understand how to build skills and solutions.",
45
+ "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.",
46
46
  inputSchema: {
47
47
  type: "object",
48
48
  properties: {
@@ -85,7 +85,7 @@ export const tools = [
85
85
  {
86
86
  name: "adas_validate_skill",
87
87
  description:
88
- "Validate a skill definition through the 5-stage ADAS validation pipeline. Part of building a governed AI Team solution. Returns errors and suggestions to fix. Always validate before deploying.",
88
+ "Validate a skill definition through the 5-stage A-Team validation pipeline. Part of building a governed AI Team solution. Returns errors and suggestions to fix. Always validate before deploying.",
89
89
  inputSchema: {
90
90
  type: "object",
91
91
  properties: {
@@ -120,7 +120,7 @@ export const tools = [
120
120
  {
121
121
  name: "adas_deploy_solution",
122
122
  description:
123
- "Deploy a governed AI Team solution to ADAS Core — identity, connectors, skills. The Skill Builder auto-generates MCP servers from tool definitions. Used after defining system architecture. Always validate first using adas_validate_solution. Requires authentication (call adas_auth first if not using env vars).",
123
+ "Deploy a governed AI Team solution to A-Team Core — identity, connectors, skills. The Skill Builder auto-generates MCP servers from tool definitions. Used after defining system architecture. Always validate first using adas_validate_solution. Requires authentication (call adas_auth first if not using env vars).",
124
124
  inputSchema: {
125
125
  type: "object",
126
126
  properties: {
@@ -167,7 +167,7 @@ export const tools = [
167
167
  },
168
168
  {
169
169
  name: "adas_deploy_connector",
170
- description: "Deploy a connector — registers in the Skill Builder catalog and connects in ADAS Core. Requires authentication.",
170
+ description: "Deploy a connector — registers in the Skill Builder catalog and connects in A-Team Core. Requires authentication.",
171
171
  inputSchema: {
172
172
  type: "object",
173
173
  properties: {
@@ -244,7 +244,7 @@ export const tools = [
244
244
  {
245
245
  name: "adas_redeploy",
246
246
  description:
247
- "Re-deploy after making updates. Regenerates MCP servers and pushes to ADAS Core. Requires authentication.",
247
+ "Re-deploy after making updates. Regenerates MCP servers and pushes to A-Team Core. Requires authentication.",
248
248
  inputSchema: {
249
249
  type: "object",
250
250
  properties: {
@@ -322,7 +322,7 @@ const handlers = {
322
322
  solution: "Complete AI Team system — multiple skills + routing + grants + handoffs",
323
323
  connector: "External system integration via MCP tools",
324
324
  governance: "Permissions, grants, handoffs, auditability",
325
- deploy: "Activation into controlled runtime on ADAS Core",
325
+ deploy: "Activation into controlled runtime on A-Team Core",
326
326
  },
327
327
  },
328
328
  example_solutions: [
@@ -334,7 +334,7 @@ const handlers = {
334
334
  { step: 1, title: "Clarify the goal", description: "Understand what the user wants their Team to do", suggested_tools: [] },
335
335
  { step: 2, title: "Generate Team map", description: "Design skills, solution architecture, and connectors", suggested_tools: ["adas_get_spec", "adas_get_examples", "adas_get_workflows"] },
336
336
  { step: 3, title: "Validate", description: "Run validation before deploying", suggested_tools: ["adas_validate_skill", "adas_validate_solution"] },
337
- { step: 4, title: "Deploy", description: "Push the Team to ADAS Core", suggested_tools: ["adas_auth", "adas_deploy_solution"] },
337
+ { step: 4, title: "Deploy", description: "Push the Team to A-Team Core", suggested_tools: ["adas_auth", "adas_deploy_solution"] },
338
338
  { step: 5, title: "Iterate", description: "Inspect, update, and redeploy as needed", suggested_tools: ["adas_get_solution", "adas_update", "adas_redeploy", "adas_solution_chat"] },
339
339
  ],
340
340
  first_questions: [
@@ -480,7 +480,7 @@ function summarizeLargeResult(result, toolName) {
480
480
  if (toolName === "adas_get_spec" && result && typeof result === "object") {
481
481
  const keys = Object.keys(result);
482
482
  return JSON.stringify({
483
- _note: `ADAS spec with ${keys.length} sections. Content truncated — ask about specific sections for detail.`,
483
+ _note: `A-Team spec with ${keys.length} sections. Content truncated — ask about specific sections for detail.`,
484
484
  sections: keys,
485
485
  ...result,
486
486
  }, null, 2).slice(0, MAX_RESPONSE_CHARS);