@agentxm/client-core 0.13.2 → 0.14.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 (63) hide show
  1. package/dist/src/unstable/agents/index.d.ts +1 -1
  2. package/dist/src/unstable/agents/index.d.ts.map +1 -1
  3. package/dist/src/unstable/agents/index.js +1 -1
  4. package/dist/src/unstable/agents/index.js.map +1 -1
  5. package/dist/src/unstable/agents/mcp-sync.d.ts +14 -0
  6. package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
  7. package/dist/src/unstable/agents/mcp-sync.js +201 -1
  8. package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
  9. package/dist/src/unstable/lint/catalog/workspace/mcp-server-no-secret-literal.d.ts +4 -0
  10. package/dist/src/unstable/lint/catalog/workspace/mcp-server-no-secret-literal.d.ts.map +1 -0
  11. package/dist/src/unstable/lint/catalog/workspace/mcp-server-no-secret-literal.js +67 -0
  12. package/dist/src/unstable/lint/catalog/workspace/mcp-server-no-secret-literal.js.map +1 -0
  13. package/dist/src/unstable/lint/catalog/workspace/mcp-server-transport-exclusivity.d.ts +4 -0
  14. package/dist/src/unstable/lint/catalog/workspace/mcp-server-transport-exclusivity.d.ts.map +1 -0
  15. package/dist/src/unstable/lint/catalog/workspace/mcp-server-transport-exclusivity.js +65 -0
  16. package/dist/src/unstable/lint/catalog/workspace/mcp-server-transport-exclusivity.js.map +1 -0
  17. package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -1
  18. package/dist/src/unstable/lint/catalog/workspace.js +4 -0
  19. package/dist/src/unstable/lint/catalog/workspace.js.map +1 -1
  20. package/dist/src/unstable/lockfile/lockfile.d.ts +20 -0
  21. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
  22. package/dist/src/unstable/lockfile/schema.d.ts +57 -3
  23. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  24. package/dist/src/unstable/lockfile/schema.js +20 -1
  25. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  26. package/dist/src/unstable/settings/schema.d.ts +31 -7
  27. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  28. package/dist/src/unstable/settings/schema.js +113 -10
  29. package/dist/src/unstable/settings/schema.js.map +1 -1
  30. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  31. package/dist/src/unstable/sources/lock-entry-to-ref.js +5 -0
  32. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  33. package/dist/src/unstable/sources/printer.d.ts.map +1 -1
  34. package/dist/src/unstable/sources/printer.js +10 -0
  35. package/dist/src/unstable/sources/printer.js.map +1 -1
  36. package/dist/src/unstable/sources/types.d.ts +18 -3
  37. package/dist/src/unstable/sources/types.d.ts.map +1 -1
  38. package/dist/src/unstable/sources/types.js +3 -1
  39. package/dist/src/unstable/sources/types.js.map +1 -1
  40. package/dist/src/unstable/workspace/initialization.d.ts +24 -0
  41. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  42. package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.d.ts +2 -0
  43. package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.d.ts.map +1 -1
  44. package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js +2 -0
  45. package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js.map +1 -1
  46. package/dist/src/unstable/workspace/read-model/extensions/mcp-server.d.ts +1 -0
  47. package/dist/src/unstable/workspace/read-model/extensions/mcp-server.d.ts.map +1 -1
  48. package/dist/src/unstable/workspace/read-model/extensions/mcp-server.js +2 -0
  49. package/dist/src/unstable/workspace/read-model/extensions/mcp-server.js.map +1 -1
  50. package/dist/src/unstable/workspace/read-model/scanners/mcp-config.d.ts +2 -5
  51. package/dist/src/unstable/workspace/read-model/scanners/mcp-config.d.ts.map +1 -1
  52. package/dist/src/unstable/workspace/read-model/scanners/mcp-config.js +16 -14
  53. package/dist/src/unstable/workspace/read-model/scanners/mcp-config.js.map +1 -1
  54. package/dist/src/unstable/workspace/read-model/scanners/types.d.ts +2 -0
  55. package/dist/src/unstable/workspace/read-model/scanners/types.d.ts.map +1 -1
  56. package/dist/src/unstable/workspace/read-model/scanners/types.js.map +1 -1
  57. package/dist/src/unstable/workspace/service.d.ts +46 -0
  58. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  59. package/dist/src/unstable/workspace/service.js +18 -8
  60. package/dist/src/unstable/workspace/service.js.map +1 -1
  61. package/package.json +2 -2
  62. package/site-content/__generated__/schemas/axm-lock.schema.json +232 -153
  63. package/site-content/__generated__/schemas/settings.schema.json +48 -11
@@ -41,6 +41,38 @@
41
41
  }
42
42
  ]
43
43
  },
44
+ "InlineMcpServerLockEntry": {
45
+ "type": "object",
46
+ "properties": {
47
+ "type": { "type": "string", "enum": ["inline"] },
48
+ "command": {
49
+ "anyOf": [{ "type": "string", "allOf": [{ "minLength": 1 }] }, { "type": "null" }]
50
+ },
51
+ "args": {
52
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
53
+ },
54
+ "url": {
55
+ "anyOf": [{ "type": "string", "allOf": [{ "minLength": 1 }] }, { "type": "null" }]
56
+ },
57
+ "headers": {
58
+ "anyOf": [
59
+ { "type": "object", "additionalProperties": { "type": "string" } },
60
+ { "type": "null" }
61
+ ]
62
+ },
63
+ "syncedAgents": {
64
+ "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
65
+ },
66
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
67
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
68
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
69
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
70
+ },
71
+ "required": ["type", "installedAt", "updatedAt"],
72
+ "additionalProperties": false,
73
+ "title": "Inline MCP Server Lock Entry",
74
+ "description": "Lockfile entry for an inline MCP server configured directly in settings.json."
75
+ },
44
76
  "FilesInputValue": {
45
77
  "anyOf": [
46
78
  { "type": "string" },
@@ -1110,166 +1142,213 @@
1110
1142
  "additionalProperties": {
1111
1143
  "anyOf": [
1112
1144
  {
1113
- "type": "object",
1114
- "properties": {
1115
- "type": { "type": "string", "enum": ["github"] },
1116
- "owner": { "$ref": "#/definitions/SourceNamespace" },
1117
- "repo": { "$ref": "#/definitions/SourceSegment" },
1118
- "ref": {
1119
- "anyOf": [
1120
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1121
- { "type": "null" }
1122
- ]
1123
- },
1124
- "path": {
1125
- "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1126
- },
1127
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1128
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1129
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1130
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1131
- },
1132
- "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1133
- "additionalProperties": false
1134
- },
1135
- {
1136
- "type": "object",
1137
- "properties": {
1138
- "type": { "type": "string", "enum": ["gitlab"] },
1139
- "owner": { "$ref": "#/definitions/SourceNamespace" },
1140
- "repo": { "$ref": "#/definitions/SourceSegment" },
1141
- "ref": {
1142
- "anyOf": [
1143
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1144
- { "type": "null" }
1145
- ]
1146
- },
1147
- "path": {
1148
- "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1149
- },
1150
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1151
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1152
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1153
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1154
- },
1155
- "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1156
- "additionalProperties": false
1157
- },
1158
- {
1159
- "type": "object",
1160
- "properties": {
1161
- "type": { "type": "string", "enum": ["bitbucket"] },
1162
- "owner": { "$ref": "#/definitions/SourceNamespace" },
1163
- "repo": { "$ref": "#/definitions/SourceSegment" },
1164
- "ref": {
1165
- "anyOf": [
1166
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1167
- { "type": "null" }
1168
- ]
1145
+ "anyOf": [
1146
+ {
1147
+ "type": "object",
1148
+ "properties": {
1149
+ "type": { "type": "string", "enum": ["github"] },
1150
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1151
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1152
+ "ref": {
1153
+ "anyOf": [
1154
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1155
+ { "type": "null" }
1156
+ ]
1157
+ },
1158
+ "path": {
1159
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1160
+ },
1161
+ "syncedAgents": {
1162
+ "anyOf": [
1163
+ { "type": "array", "items": { "type": "string" } },
1164
+ { "type": "null" }
1165
+ ]
1166
+ },
1167
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1168
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1169
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1170
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1171
+ },
1172
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1173
+ "additionalProperties": false
1169
1174
  },
1170
- "path": {
1171
- "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1175
+ {
1176
+ "type": "object",
1177
+ "properties": {
1178
+ "type": { "type": "string", "enum": ["gitlab"] },
1179
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1180
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1181
+ "ref": {
1182
+ "anyOf": [
1183
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1184
+ { "type": "null" }
1185
+ ]
1186
+ },
1187
+ "path": {
1188
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1189
+ },
1190
+ "syncedAgents": {
1191
+ "anyOf": [
1192
+ { "type": "array", "items": { "type": "string" } },
1193
+ { "type": "null" }
1194
+ ]
1195
+ },
1196
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1197
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1198
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1199
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1200
+ },
1201
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1202
+ "additionalProperties": false
1172
1203
  },
1173
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1174
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1175
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1176
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1177
- },
1178
- "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1179
- "additionalProperties": false
1180
- },
1181
- {
1182
- "type": "object",
1183
- "properties": {
1184
- "type": { "type": "string", "enum": ["azurerepos"] },
1185
- "organization": { "$ref": "#/definitions/SourceSegment" },
1186
- "project": { "$ref": "#/definitions/SourceSegment" },
1187
- "repo": { "$ref": "#/definitions/SourceSegment" },
1188
- "ref": {
1189
- "anyOf": [
1190
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1191
- { "type": "null" }
1192
- ]
1204
+ {
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "type": { "type": "string", "enum": ["bitbucket"] },
1208
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1209
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1210
+ "ref": {
1211
+ "anyOf": [
1212
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1213
+ { "type": "null" }
1214
+ ]
1215
+ },
1216
+ "path": {
1217
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1218
+ },
1219
+ "syncedAgents": {
1220
+ "anyOf": [
1221
+ { "type": "array", "items": { "type": "string" } },
1222
+ { "type": "null" }
1223
+ ]
1224
+ },
1225
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1226
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1227
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1228
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1229
+ },
1230
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1231
+ "additionalProperties": false
1193
1232
  },
1194
- "path": {
1195
- "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1233
+ {
1234
+ "type": "object",
1235
+ "properties": {
1236
+ "type": { "type": "string", "enum": ["azurerepos"] },
1237
+ "organization": { "$ref": "#/definitions/SourceSegment" },
1238
+ "project": { "$ref": "#/definitions/SourceSegment" },
1239
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1240
+ "ref": {
1241
+ "anyOf": [
1242
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1243
+ { "type": "null" }
1244
+ ]
1245
+ },
1246
+ "path": {
1247
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1248
+ },
1249
+ "syncedAgents": {
1250
+ "anyOf": [
1251
+ { "type": "array", "items": { "type": "string" } },
1252
+ { "type": "null" }
1253
+ ]
1254
+ },
1255
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1256
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1257
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1258
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1259
+ },
1260
+ "required": [
1261
+ "type",
1262
+ "organization",
1263
+ "project",
1264
+ "repo",
1265
+ "installedAt",
1266
+ "updatedAt"
1267
+ ],
1268
+ "additionalProperties": false
1196
1269
  },
1197
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1198
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1199
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1200
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1201
- },
1202
- "required": [
1203
- "type",
1204
- "organization",
1205
- "project",
1206
- "repo",
1207
- "installedAt",
1208
- "updatedAt"
1209
- ],
1210
- "additionalProperties": false
1211
- },
1212
- {
1213
- "type": "object",
1214
- "properties": {
1215
- "type": { "type": "string", "enum": ["git"] },
1216
- "url": { "type": "string" },
1217
- "ref": {
1218
- "anyOf": [
1219
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1220
- { "type": "null" }
1221
- ]
1270
+ {
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "type": { "type": "string", "enum": ["git"] },
1274
+ "url": { "type": "string" },
1275
+ "ref": {
1276
+ "anyOf": [
1277
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1278
+ { "type": "null" }
1279
+ ]
1280
+ },
1281
+ "path": {
1282
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1283
+ },
1284
+ "syncedAgents": {
1285
+ "anyOf": [
1286
+ { "type": "array", "items": { "type": "string" } },
1287
+ { "type": "null" }
1288
+ ]
1289
+ },
1290
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1291
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1292
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1293
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1294
+ },
1295
+ "required": ["type", "url", "installedAt", "updatedAt"],
1296
+ "additionalProperties": false
1222
1297
  },
1223
- "path": {
1224
- "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1298
+ {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "type": { "type": "string", "enum": ["local"] },
1302
+ "path": { "type": "string" },
1303
+ "syncedAgents": {
1304
+ "anyOf": [
1305
+ { "type": "array", "items": { "type": "string" } },
1306
+ { "type": "null" }
1307
+ ]
1308
+ },
1309
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1310
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1311
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1312
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1313
+ },
1314
+ "required": ["type", "path", "installedAt", "updatedAt"],
1315
+ "additionalProperties": false
1225
1316
  },
1226
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1227
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1228
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1229
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1230
- },
1231
- "required": ["type", "url", "installedAt", "updatedAt"],
1232
- "additionalProperties": false
1233
- },
1234
- {
1235
- "type": "object",
1236
- "properties": {
1237
- "type": { "type": "string", "enum": ["local"] },
1238
- "path": { "type": "string" },
1239
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1240
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1241
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1242
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1243
- },
1244
- "required": ["type", "path", "installedAt", "updatedAt"],
1245
- "additionalProperties": false
1317
+ {
1318
+ "type": "object",
1319
+ "properties": {
1320
+ "type": { "type": "string", "enum": ["registry"] },
1321
+ "owner": { "$ref": "#/definitions/Handle" },
1322
+ "name": { "$ref": "#/definitions/ExtensionName" },
1323
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
1324
+ "integrity": { "type": "string" },
1325
+ "sourceName": { "type": "string" },
1326
+ "syncedAgents": {
1327
+ "anyOf": [
1328
+ { "type": "array", "items": { "type": "string" } },
1329
+ { "type": "null" }
1330
+ ]
1331
+ },
1332
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1333
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1334
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1335
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1336
+ },
1337
+ "required": [
1338
+ "type",
1339
+ "owner",
1340
+ "name",
1341
+ "resolvedVersion",
1342
+ "integrity",
1343
+ "sourceName",
1344
+ "installedAt",
1345
+ "updatedAt"
1346
+ ],
1347
+ "additionalProperties": false
1348
+ }
1349
+ ]
1246
1350
  },
1247
- {
1248
- "type": "object",
1249
- "properties": {
1250
- "type": { "type": "string", "enum": ["registry"] },
1251
- "owner": { "$ref": "#/definitions/Handle" },
1252
- "name": { "$ref": "#/definitions/ExtensionName" },
1253
- "resolvedVersion": { "$ref": "#/definitions/Version" },
1254
- "integrity": { "type": "string" },
1255
- "sourceName": { "type": "string" },
1256
- "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1257
- "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1258
- "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1259
- "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] }
1260
- },
1261
- "required": [
1262
- "type",
1263
- "owner",
1264
- "name",
1265
- "resolvedVersion",
1266
- "integrity",
1267
- "sourceName",
1268
- "installedAt",
1269
- "updatedAt"
1270
- ],
1271
- "additionalProperties": false
1272
- }
1351
+ { "$ref": "#/definitions/InlineMcpServerLockEntry" }
1273
1352
  ]
1274
1353
  }
1275
1354
  },
@@ -636,6 +636,14 @@
636
636
  "title": "Packs Config",
637
637
  "description": "Feature-level configuration for packs."
638
638
  },
639
+ "McpServerEnv": {
640
+ "anyOf": [
641
+ { "type": "object", "additionalProperties": { "type": "string" } },
642
+ { "type": "array", "items": { "type": "string" } }
643
+ ],
644
+ "title": "MCP Server Env",
645
+ "description": "MCP environment values as a map or pass-through variable names. Array entries decode to ${VAR} references."
646
+ },
639
647
  "McpServerEntry": {
640
648
  "anyOf": [
641
649
  { "type": "string" },
@@ -656,6 +664,37 @@
656
664
  }
657
665
  ]
658
666
  },
667
+ "command": {
668
+ "type": "string",
669
+ "allOf": [
670
+ {
671
+ "minLength": 1,
672
+ "description": "Executable command for an inline stdio MCP server.",
673
+ "examples": ["npx"]
674
+ }
675
+ ]
676
+ },
677
+ "args": {
678
+ "type": "array",
679
+ "description": "Arguments passed to the inline stdio MCP server command.",
680
+ "examples": [["-y", "linear-mcp-server"]],
681
+ "items": { "type": "string" }
682
+ },
683
+ "url": {
684
+ "type": "string",
685
+ "allOf": [
686
+ {
687
+ "minLength": 1,
688
+ "description": "Remote MCP server URL.",
689
+ "examples": ["https://mcp.sentry.dev/sse"]
690
+ }
691
+ ]
692
+ },
693
+ "headers": {
694
+ "type": "object",
695
+ "additionalProperties": { "type": "string" },
696
+ "description": "HTTP headers for a remote MCP server. Prefer ${VAR} references for secrets."
697
+ },
659
698
  "enabled": {
660
699
  "type": "boolean",
661
700
  "description": "Set to false to disable this entry. Omit otherwise — true is the default and should not be written explicitly.",
@@ -666,23 +705,21 @@
666
705
  "description": "Set to true to mark this entry as authored locally in this workspace. Omit otherwise — false is the default and should not be written explicitly.",
667
706
  "default": false
668
707
  },
669
- "env": {
670
- "type": "object",
671
- "additionalProperties": { "type": "string" },
672
- "description": "Resolved MCP server configuration values keyed by environment variable, argument, header, or URL variable name."
673
- }
708
+ "env": { "$ref": "#/definitions/McpServerEnv" }
674
709
  },
675
- "required": ["source"],
676
- "additionalProperties": false,
677
- "title": "MCP Server Entry Object",
678
- "description": "An MCP server entry with source and optional enabled/authored/env fields."
710
+ "additionalProperties": false
679
711
  }
680
712
  ],
681
713
  "title": "MCP Server Entry",
682
- "description": "An MCP server entry: a source string, or an object with source plus optional enabled/authored/env fields.",
714
+ "description": "An MCP server entry: a source string, sourced object, inline command object, or inline URL object.",
683
715
  "examples": [
684
716
  "@acme/mcps/context@^1.0.0",
685
- { "source": "github:acme/agent-extensions", "enabled": false }
717
+ { "source": "github:acme/agent-extensions", "enabled": false },
718
+ { "command": "npx", "args": ["-y", "linear-mcp-server"], "env": ["LINEAR_API_KEY"] },
719
+ {
720
+ "url": "https://mcp.sentry.dev/sse",
721
+ "headers": { "Authorization": "Bearer ${SENTRY_TOKEN}" }
722
+ }
686
723
  ]
687
724
  },
688
725
  "McpServersMap": {