@structured-world/gitlab-mcp 11.0.0 → 12.0.1

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 (275) hide show
  1. package/README.md +4 -4
  2. package/README.md.in +1 -1
  3. package/dist/src/accounts/chat-accounts.d.ts +17 -0
  4. package/dist/src/accounts/chat-accounts.js +245 -0
  5. package/dist/src/accounts/chat-accounts.js.map +1 -0
  6. package/dist/src/accounts/instance-tokens.d.ts +2 -0
  7. package/dist/src/accounts/instance-tokens.js +43 -0
  8. package/dist/src/accounts/instance-tokens.js.map +1 -0
  9. package/dist/src/accounts/link.d.ts +16 -0
  10. package/dist/src/accounts/link.js +469 -0
  11. package/dist/src/accounts/link.js.map +1 -0
  12. package/dist/src/accounts/token-account.d.ts +6 -0
  13. package/dist/src/accounts/token-account.js +13 -0
  14. package/dist/src/accounts/token-account.js.map +1 -0
  15. package/dist/src/cli/init/config-generator.d.ts +3 -2
  16. package/dist/src/cli/init/config-generator.js +15 -0
  17. package/dist/src/cli/init/config-generator.js.map +1 -1
  18. package/dist/src/cli/init/types.d.ts +7 -2
  19. package/dist/src/cli/init/types.js +9 -0
  20. package/dist/src/cli/init/types.js.map +1 -1
  21. package/dist/src/cli/init/wizard.js +31 -1
  22. package/dist/src/cli/init/wizard.js.map +1 -1
  23. package/dist/src/cli/install/codex.d.ts +25 -0
  24. package/dist/src/cli/install/codex.js +261 -0
  25. package/dist/src/cli/install/codex.js.map +1 -0
  26. package/dist/src/cli/install/detector.js +22 -0
  27. package/dist/src/cli/install/detector.js.map +1 -1
  28. package/dist/src/cli/install/index.d.ts +2 -1
  29. package/dist/src/cli/install/index.js +3 -1
  30. package/dist/src/cli/install/index.js.map +1 -1
  31. package/dist/src/cli/install/install-command.d.ts +5 -2
  32. package/dist/src/cli/install/install-command.js +52 -8
  33. package/dist/src/cli/install/install-command.js.map +1 -1
  34. package/dist/src/cli/install/installers.d.ts +8 -8
  35. package/dist/src/cli/install/installers.js +18 -3
  36. package/dist/src/cli/install/installers.js.map +1 -1
  37. package/dist/src/cli/install/notes.d.ts +2 -0
  38. package/dist/src/cli/install/notes.js +8 -0
  39. package/dist/src/cli/install/notes.js.map +1 -0
  40. package/dist/src/cli/install/types.d.ts +1 -0
  41. package/dist/src/cli/install/types.js +12 -0
  42. package/dist/src/cli/install/types.js.map +1 -1
  43. package/dist/src/cli/plugin/build.d.ts +23 -0
  44. package/dist/src/cli/plugin/build.js +165 -0
  45. package/dist/src/cli/plugin/build.js.map +1 -0
  46. package/dist/src/cli/plugin/command.d.ts +4 -0
  47. package/dist/src/cli/plugin/command.js +89 -0
  48. package/dist/src/cli/plugin/command.js.map +1 -0
  49. package/dist/src/cli/plugin/index.d.ts +5 -0
  50. package/dist/src/cli/plugin/index.js +15 -0
  51. package/dist/src/cli/plugin/index.js.map +1 -0
  52. package/dist/src/cli/plugin/listing.d.ts +21 -0
  53. package/dist/src/cli/plugin/listing.js +44 -0
  54. package/dist/src/cli/plugin/listing.js.map +1 -0
  55. package/dist/src/cli/plugin/validate.d.ts +21 -0
  56. package/dist/src/cli/plugin/validate.js +496 -0
  57. package/dist/src/cli/plugin/validate.js.map +1 -0
  58. package/dist/src/cli/plugin/zip.d.ts +6 -0
  59. package/dist/src/cli/plugin/zip.js +83 -0
  60. package/dist/src/cli/plugin/zip.js.map +1 -0
  61. package/dist/src/cli/setup/flows/configure-existing.js +5 -0
  62. package/dist/src/cli/setup/flows/configure-existing.js.map +1 -1
  63. package/dist/src/cli/setup/flows/local-setup.js +3 -0
  64. package/dist/src/cli/setup/flows/local-setup.js.map +1 -1
  65. package/dist/src/cli-utils.d.ts +2 -0
  66. package/dist/src/cli-utils.js +6 -0
  67. package/dist/src/cli-utils.js.map +1 -1
  68. package/dist/src/config/instances-schema.d.ts +2 -0
  69. package/dist/src/config/instances-schema.js +5 -0
  70. package/dist/src/config/instances-schema.js.map +1 -1
  71. package/dist/src/config.d.ts +1 -1
  72. package/dist/src/config.js +6 -10
  73. package/dist/src/config.js.map +1 -1
  74. package/dist/src/configuration/default-project.d.ts +8 -0
  75. package/dist/src/configuration/default-project.js +83 -0
  76. package/dist/src/configuration/default-project.js.map +1 -0
  77. package/dist/src/configuration/operator-ownership.d.ts +7 -0
  78. package/dist/src/configuration/operator-ownership.js +216 -0
  79. package/dist/src/configuration/operator-ownership.js.map +1 -0
  80. package/dist/src/configuration/operator-projects.d.ts +16 -0
  81. package/dist/src/configuration/operator-projects.js +117 -0
  82. package/dist/src/configuration/operator-projects.js.map +1 -0
  83. package/dist/src/configuration/policy.d.ts +1 -0
  84. package/dist/src/configuration/policy.js +3 -0
  85. package/dist/src/configuration/policy.js.map +1 -1
  86. package/dist/src/configuration/scope-ids.js +5 -4
  87. package/dist/src/configuration/scope-ids.js.map +1 -1
  88. package/dist/src/configuration/scoped-execution.js +32 -10
  89. package/dist/src/configuration/scoped-execution.js.map +1 -1
  90. package/dist/src/configuration/service.d.ts +0 -1
  91. package/dist/src/configuration/service.js +0 -17
  92. package/dist/src/configuration/service.js.map +1 -1
  93. package/dist/src/contracts/storage.d.ts +2 -2
  94. package/dist/src/entities/access_tokens/registry.js +7 -6
  95. package/dist/src/entities/access_tokens/registry.js.map +1 -1
  96. package/dist/src/entities/audit_events/registry.js +5 -4
  97. package/dist/src/entities/audit_events/registry.js.map +1 -1
  98. package/dist/src/entities/context/accounts.d.ts +19 -0
  99. package/dist/src/entities/context/accounts.js +115 -0
  100. package/dist/src/entities/context/accounts.js.map +1 -0
  101. package/dist/src/entities/context/context-manager.d.ts +0 -1
  102. package/dist/src/entities/context/context-manager.js +0 -82
  103. package/dist/src/entities/context/context-manager.js.map +1 -1
  104. package/dist/src/entities/context/handlers.d.ts +3 -1
  105. package/dist/src/entities/context/handlers.js +9 -0
  106. package/dist/src/entities/context/handlers.js.map +1 -1
  107. package/dist/src/entities/context/output-schema.d.ts +49 -1
  108. package/dist/src/entities/context/output-schema.js +28 -0
  109. package/dist/src/entities/context/output-schema.js.map +1 -1
  110. package/dist/src/entities/context/registry.js +1 -1
  111. package/dist/src/entities/context/registry.js.map +1 -1
  112. package/dist/src/entities/context/schema.d.ts +26 -0
  113. package/dist/src/entities/context/schema.js +30 -0
  114. package/dist/src/entities/context/schema.js.map +1 -1
  115. package/dist/src/entities/context/scope-search.js +5 -0
  116. package/dist/src/entities/context/scope-search.js.map +1 -1
  117. package/dist/src/entities/core/registry.js +8 -7
  118. package/dist/src/entities/core/registry.js.map +1 -1
  119. package/dist/src/entities/core/schema-readonly.d.ts +4 -4
  120. package/dist/src/entities/core/schema-readonly.js +1 -1
  121. package/dist/src/entities/core/schema-readonly.js.map +1 -1
  122. package/dist/src/entities/deploy-keys/registry.js +4 -3
  123. package/dist/src/entities/deploy-keys/registry.js.map +1 -1
  124. package/dist/src/entities/environments/registry.js +3 -2
  125. package/dist/src/entities/environments/registry.js.map +1 -1
  126. package/dist/src/entities/environments/schema-readonly.d.ts +1 -1
  127. package/dist/src/entities/files/registry.js +2 -1
  128. package/dist/src/entities/files/registry.js.map +1 -1
  129. package/dist/src/entities/integrations/registry.js +8 -7
  130. package/dist/src/entities/integrations/registry.js.map +1 -1
  131. package/dist/src/entities/iterations/registry.js +3 -2
  132. package/dist/src/entities/iterations/registry.js.map +1 -1
  133. package/dist/src/entities/iterations/schema-readonly.js +1 -1
  134. package/dist/src/entities/iterations/schema-readonly.js.map +1 -1
  135. package/dist/src/entities/job-token-scope/registry.js +2 -1
  136. package/dist/src/entities/job-token-scope/registry.js.map +1 -1
  137. package/dist/src/entities/members/registry.js +13 -12
  138. package/dist/src/entities/members/registry.js.map +1 -1
  139. package/dist/src/entities/members/schema-readonly.js +2 -2
  140. package/dist/src/entities/members/schema-readonly.js.map +1 -1
  141. package/dist/src/entities/members/schema.d.ts +2 -2
  142. package/dist/src/entities/members/schema.js +10 -6
  143. package/dist/src/entities/members/schema.js.map +1 -1
  144. package/dist/src/entities/milestones/registry.js +8 -7
  145. package/dist/src/entities/milestones/registry.js.map +1 -1
  146. package/dist/src/entities/milestones/schema-readonly.js +1 -1
  147. package/dist/src/entities/milestones/schema-readonly.js.map +1 -1
  148. package/dist/src/entities/milestones/schema.js +1 -1
  149. package/dist/src/entities/milestones/schema.js.map +1 -1
  150. package/dist/src/entities/mrs/registry.js +26 -25
  151. package/dist/src/entities/mrs/registry.js.map +1 -1
  152. package/dist/src/entities/mrs/schema-readonly.js +3 -3
  153. package/dist/src/entities/mrs/schema-readonly.js.map +1 -1
  154. package/dist/src/entities/mrs/schema.d.ts +1 -1
  155. package/dist/src/entities/mrs/schema.js +9 -6
  156. package/dist/src/entities/mrs/schema.js.map +1 -1
  157. package/dist/src/entities/pipelines/registry.js +31 -39
  158. package/dist/src/entities/pipelines/registry.js.map +1 -1
  159. package/dist/src/entities/pipelines/schema-readonly.d.ts +8 -8
  160. package/dist/src/entities/pipelines/schema-readonly.js +10 -7
  161. package/dist/src/entities/pipelines/schema-readonly.js.map +1 -1
  162. package/dist/src/entities/pipelines/schema.js +2 -2
  163. package/dist/src/entities/pipelines/schema.js.map +1 -1
  164. package/dist/src/entities/pipelines/trace.d.ts +20 -0
  165. package/dist/src/entities/pipelines/trace.js +156 -0
  166. package/dist/src/entities/pipelines/trace.js.map +1 -0
  167. package/dist/src/entities/refs/registry.js +3 -2
  168. package/dist/src/entities/refs/registry.js.map +1 -1
  169. package/dist/src/entities/releases/registry.js +5 -3
  170. package/dist/src/entities/releases/registry.js.map +1 -1
  171. package/dist/src/entities/releases/schema.js +1 -1
  172. package/dist/src/entities/releases/schema.js.map +1 -1
  173. package/dist/src/entities/runners/project-access.js +7 -2
  174. package/dist/src/entities/runners/project-access.js.map +1 -1
  175. package/dist/src/entities/runners/registry.js +2 -1
  176. package/dist/src/entities/runners/registry.js.map +1 -1
  177. package/dist/src/entities/snippets/registry.js +10 -8
  178. package/dist/src/entities/snippets/registry.js.map +1 -1
  179. package/dist/src/entities/snippets/schema-readonly.js +1 -1
  180. package/dist/src/entities/snippets/schema-readonly.js.map +1 -1
  181. package/dist/src/entities/snippets/schema.js +2 -2
  182. package/dist/src/entities/snippets/schema.js.map +1 -1
  183. package/dist/src/entities/utils.d.ts +1 -0
  184. package/dist/src/entities/utils.js +2 -1
  185. package/dist/src/entities/utils.js.map +1 -1
  186. package/dist/src/entities/webhooks/registry.js +10 -8
  187. package/dist/src/entities/webhooks/registry.js.map +1 -1
  188. package/dist/src/entities/webhooks/schema-readonly.js +1 -1
  189. package/dist/src/entities/webhooks/schema-readonly.js.map +1 -1
  190. package/dist/src/entities/webhooks/schema.js +3 -3
  191. package/dist/src/entities/webhooks/schema.js.map +1 -1
  192. package/dist/src/handlers.js +175 -65
  193. package/dist/src/handlers.js.map +1 -1
  194. package/dist/src/main.js +23 -5
  195. package/dist/src/main.js.map +1 -1
  196. package/dist/src/mcp-server-context.d.ts +3 -0
  197. package/dist/src/mcp-server-context.js +13 -0
  198. package/dist/src/mcp-server-context.js.map +1 -0
  199. package/dist/src/middleware/oauth-auth.js +5 -2
  200. package/dist/src/middleware/oauth-auth.js.map +1 -1
  201. package/dist/src/oauth/code-exchange.d.ts +7 -0
  202. package/dist/src/oauth/code-exchange.js +38 -0
  203. package/dist/src/oauth/code-exchange.js.map +1 -0
  204. package/dist/src/oauth/endpoints/callback.js +15 -17
  205. package/dist/src/oauth/endpoints/callback.js.map +1 -1
  206. package/dist/src/oauth/endpoints/revoke.js +2 -21
  207. package/dist/src/oauth/endpoints/revoke.js.map +1 -1
  208. package/dist/src/oauth/gitlab-token-refresh.d.ts +1 -0
  209. package/dist/src/oauth/gitlab-token-refresh.js +17 -0
  210. package/dist/src/oauth/gitlab-token-refresh.js.map +1 -1
  211. package/dist/src/oauth/grant-revocation.d.ts +10 -0
  212. package/dist/src/oauth/grant-revocation.js +179 -0
  213. package/dist/src/oauth/grant-revocation.js.map +1 -0
  214. package/dist/src/oauth/session-store.d.ts +8 -1
  215. package/dist/src/oauth/session-store.js +36 -3
  216. package/dist/src/oauth/session-store.js.map +1 -1
  217. package/dist/src/oauth/storage/file.d.ts +7 -2
  218. package/dist/src/oauth/storage/file.js +30 -10
  219. package/dist/src/oauth/storage/file.js.map +1 -1
  220. package/dist/src/oauth/storage/memory.d.ts +13 -2
  221. package/dist/src/oauth/storage/memory.js +211 -14
  222. package/dist/src/oauth/storage/memory.js.map +1 -1
  223. package/dist/src/oauth/storage/types.d.ts +21 -1
  224. package/dist/src/oauth/storage/types.js +6 -1
  225. package/dist/src/oauth/storage/types.js.map +1 -1
  226. package/dist/src/oauth/types.d.ts +11 -0
  227. package/dist/src/profiles/scope-enforcer.d.ts +2 -0
  228. package/dist/src/profiles/scope-enforcer.js +37 -15
  229. package/dist/src/profiles/scope-enforcer.js.map +1 -1
  230. package/dist/src/registry-manager.js +7 -0
  231. package/dist/src/registry-manager.js.map +1 -1
  232. package/dist/src/server.js +21 -16
  233. package/dist/src/server.js.map +1 -1
  234. package/dist/src/services/AdminDetector.d.ts +1 -1
  235. package/dist/src/services/AdminDetector.js +4 -4
  236. package/dist/src/services/AdminDetector.js.map +1 -1
  237. package/dist/src/services/ConnectionManager.d.ts +0 -1
  238. package/dist/src/services/ConnectionManager.js +18 -52
  239. package/dist/src/services/ConnectionManager.js.map +1 -1
  240. package/dist/src/services/HealthMonitor.js +4 -2
  241. package/dist/src/services/HealthMonitor.js.map +1 -1
  242. package/dist/src/services/NamespaceTierDetector.js +26 -27
  243. package/dist/src/services/NamespaceTierDetector.js.map +1 -1
  244. package/dist/src/services/TokenScopeDetector.d.ts +1 -1
  245. package/dist/src/services/TokenScopeDetector.js +3 -3
  246. package/dist/src/services/TokenScopeDetector.js.map +1 -1
  247. package/dist/src/session-manager.d.ts +1 -1
  248. package/dist/src/session-manager.js +13 -5
  249. package/dist/src/session-manager.js.map +1 -1
  250. package/dist/src/utils/api-path.d.ts +5 -0
  251. package/dist/src/utils/api-path.js +54 -0
  252. package/dist/src/utils/api-path.js.map +1 -0
  253. package/dist/src/utils/fetch.d.ts +1 -1
  254. package/dist/src/utils/fetch.js +12 -5
  255. package/dist/src/utils/fetch.js.map +1 -1
  256. package/dist/src/utils/gitlab-api.d.ts +6 -0
  257. package/dist/src/utils/gitlab-api.js +22 -4
  258. package/dist/src/utils/gitlab-api.js.map +1 -1
  259. package/dist/src/utils/gitlab-base-url.js +4 -0
  260. package/dist/src/utils/gitlab-base-url.js.map +1 -1
  261. package/dist/src/utils/namespace.js +2 -1
  262. package/dist/src/utils/namespace.js.map +1 -1
  263. package/dist/src/utils/projectIdentifier.js +10 -12
  264. package/dist/src/utils/projectIdentifier.js.map +1 -1
  265. package/dist/tsconfig.build.tsbuildinfo +1 -1
  266. package/package.json +28 -22
  267. package/plugin/assets/composer-icon-dark.png +0 -0
  268. package/plugin/assets/composer-icon-dark.svg +17 -0
  269. package/plugin/assets/composer-icon.png +0 -0
  270. package/plugin/assets/composer-icon.svg +17 -0
  271. package/plugin/assets/logo.png +0 -0
  272. package/plugin/assets/screenshot-1.png +0 -0
  273. package/plugin/assets/screenshot-2.png +0 -0
  274. package/plugin/schemas/mcp.schema.json +120 -0
  275. package/plugin/schemas/plugin.schema.json +65 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@structured-world/gitlab-mcp",
3
3
  "mcpName": "io.github.structured-world/gitlab-mcp",
4
- "version": "11.0.0",
4
+ "version": "12.0.1",
5
5
  "description": "Advanced GitLab MCP server",
6
6
  "mcp": {
7
7
  "name": "GitLab MCP Server",
@@ -555,6 +555,7 @@
555
555
  "files": [
556
556
  "dist",
557
557
  "skills",
558
+ "plugin",
558
559
  "LICENSE",
559
560
  "NOTICE"
560
561
  ],
@@ -580,10 +581,12 @@
580
581
  "dev:sse": "node --env-file=.env.test -r source-map-support/register -r ts-node/register --experimental-specifier-resolution=node --experimental-print-required-tla --watch src/main.ts sse",
581
582
  "dev": "node --env-file=.env.test -r source-map-support/register -r ts-node/register --experimental-specifier-resolution=node --experimental-print-required-tla --watch src/main.ts",
582
583
  "watch": "tsc --watch",
583
- "test": "cross-env JEST_UNIT_ONLY=true yarn jest",
584
- "test:cov": "cross-env JEST_UNIT_ONLY=true yarn jest --coverage",
585
- "test:integration": "yarn jest --testPathPatterns=tests/integration --runInBand",
586
- "test:all": "yarn jest --runInBand",
584
+ "test:jest": "yarn node --experimental-vm-modules $(yarn bin jest)",
585
+ "test": "cross-env JEST_UNIT_ONLY=true yarn test:jest",
586
+ "test:cov": "cross-env JEST_UNIT_ONLY=true yarn test:jest --coverage",
587
+ "test:integration": "yarn test:jest --testPathPatterns=tests/integration --runInBand",
588
+ "test:trace": "node --test --test-concurrency=1 tests/trace/streaming.test.cjs",
589
+ "test:all": "yarn test:jest --runInBand",
587
590
  "test:env-gating": "node tests/scripts/test-env-gating.js",
588
591
  "evaluate:skills": "node scripts/evaluate-skills.mjs",
589
592
  "test:help": "printf '# Test Scripts\\n yarn test - Unit tests only (fast, safe default)\\n yarn test <pattern> - Unit tests matching pattern\\n yarn test:cov - Unit test coverage\\n yarn test:integration - Integration tests (needs .env.test)\\n yarn test:all - Full suite (unit + integration)\\n yarn test:env-gating - Test environment gating\\n'",
@@ -605,7 +608,9 @@
605
608
  },
606
609
  "dependencies": {
607
610
  "@clack/prompts": "^1.8.1",
608
- "@modelcontextprotocol/sdk": "^1.32.1",
611
+ "@modelcontextprotocol/sdk": "^1.32.2",
612
+ "ajv": "^8.20.0",
613
+ "cross-spawn": "^7.0.6",
609
614
  "express": "^5.3.0",
610
615
  "graphql": "^17.0.2",
611
616
  "graphql-tag": "^2.12.7",
@@ -613,34 +618,35 @@
613
618
  "picomatch": "^4.0.7",
614
619
  "pino": "^10.4.0",
615
620
  "pino-pretty": "^13.2.0",
616
- "transliteration": "^2.6.1",
617
- "undici": "^8.12.0",
618
- "xstate": "^5.33.2",
621
+ "smol-toml": "1.9.1",
622
+ "transliteration": "^2.7.0",
623
+ "undici": "^8.12.3",
624
+ "xstate": "^5.33.3",
619
625
  "yaml": "^2.9.1",
620
- "zod": "^4.6.6"
626
+ "zod": "^4.6.7"
621
627
  },
622
628
  "devDependencies": {
623
- "@cloudflare/workers-types": "^5.20261011.1",
629
+ "@cloudflare/workers-types": "^5.20261025.1",
624
630
  "@eslint/js": "^10.0.1",
625
631
  "@graphql-typed-document-node/core": "^3.2.0",
626
- "@structured-world/vue-privacy": "^2.0.2",
632
+ "@structured-world/vue-privacy": "^2.1.0",
633
+ "@types/cross-spawn": "^6.0.6",
627
634
  "@types/express": "^5.0.6",
628
635
  "@types/jest": "^30.0.0",
629
- "@types/jsdom": "^21.1.7",
630
- "@types/node": "^25.9.9",
636
+ "@types/jsdom": "^30.0.0",
637
+ "@types/node": "^26.6.5",
631
638
  "@types/picomatch": "^4.0.3",
632
- "@typescript-eslint/eslint-plugin": "^8.71.1",
633
- "@typescript-eslint/parser": "^8.71.1",
639
+ "@typescript-eslint/eslint-plugin": "^8.72.0",
640
+ "@typescript-eslint/parser": "^8.72.0",
634
641
  "auto-changelog": "^2.7.0",
635
642
  "cross-env": "^10.1.0",
636
- "cross-spawn": "^7.0.6",
637
- "dotenv": "^18.0.7",
638
- "eslint": "^10.12.0",
639
- "eslint-plugin-prettier": "^5.5.6",
643
+ "dotenv": "^18.0.9",
644
+ "eslint": "^10.13.0",
645
+ "eslint-plugin-prettier": "^5.5.7",
640
646
  "jest": "^30.5.2",
641
- "jsdom": "^26.1.0",
647
+ "jsdom": "^30.1.3",
642
648
  "prettier": "^3.9.10",
643
- "ts-jest": "^29.4.14",
649
+ "ts-jest": "^29.4.15",
644
650
  "ts-node": "^10.9.2",
645
651
  "typescript": "^6.0.3",
646
652
  "vitepress": "2.0.0-alpha.20"
@@ -0,0 +1,17 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 420 420">
2
+ <defs>
3
+ <linearGradient id="edge" x1="0" y1="0" x2="1" y2="0">
4
+ <stop offset="0" stop-color="#FF9A5C"/>
5
+ <stop offset="1" stop-color="#B197FC"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <g fill="none" stroke="url(#edge)" stroke-linejoin="round" stroke-linecap="round">
9
+ <path stroke-width="34" d="M95 42 L148 180 L272 180 L325 42 L380 180 L382 240 L210 385 L38 240 L40 180 Z"/>
10
+ <path stroke-width="16" d="M148 180 L210 290 L272 180 M40 180 L210 290 L380 180 M210 290 L210 385"/>
11
+ </g>
12
+ <g fill="url(#edge)">
13
+ <circle cx="148" cy="180" r="20"/>
14
+ <circle cx="272" cy="180" r="20"/>
15
+ <circle cx="210" cy="290" r="22"/>
16
+ </g>
17
+ </svg>
Binary file
@@ -0,0 +1,17 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 420 420">
2
+ <defs>
3
+ <linearGradient id="edge" x1="0" y1="0" x2="1" y2="0">
4
+ <stop offset="0" stop-color="#E8590C"/>
5
+ <stop offset="1" stop-color="#7048E8"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <g fill="none" stroke="url(#edge)" stroke-linejoin="round" stroke-linecap="round">
9
+ <path stroke-width="34" d="M95 42 L148 180 L272 180 L325 42 L380 180 L382 240 L210 385 L38 240 L40 180 Z"/>
10
+ <path stroke-width="16" d="M148 180 L210 290 L272 180 M40 180 L210 290 L380 180 M210 290 L210 385"/>
11
+ </g>
12
+ <g fill="url(#edge)">
13
+ <circle cx="148" cy="180" r="20"/>
14
+ <circle cx="272" cy="180" r="20"/>
15
+ <circle cx="210" cy="290" r="22"/>
16
+ </g>
17
+ </svg>
Binary file
Binary file
Binary file
@@ -0,0 +1,120 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
4
+ "title": "Agent Plugins MCP Configuration",
5
+ "description": "Machine-readable schema for mcp.json in Agent Plugins 1.0.0. The Agent Plugins specification defines additional semantic and operational requirements.",
6
+ "type": "object",
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
10
+ "description": "Canonical identifier of the MCP configuration schema for the Agent Plugins version targeted by this document."
11
+ },
12
+ "mcpServers": {
13
+ "type": "object",
14
+ "additionalProperties": {
15
+ "$ref": "#/$defs/server"
16
+ }
17
+ }
18
+ },
19
+ "required": ["$schema", "mcpServers"],
20
+ "additionalProperties": false,
21
+ "$defs": {
22
+ "server": {
23
+ "title": "MCP server",
24
+ "oneOf": [
25
+ {
26
+ "$ref": "#/$defs/stdioServer"
27
+ },
28
+ {
29
+ "$ref": "#/$defs/streamableHttpServer"
30
+ },
31
+ {
32
+ "$ref": "#/$defs/sseServer"
33
+ }
34
+ ]
35
+ },
36
+ "stdioServer": {
37
+ "title": "stdio MCP server",
38
+ "type": "object",
39
+ "properties": {
40
+ "type": {
41
+ "const": "stdio"
42
+ },
43
+ "command": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "description": "Executable token. Resolution rules are defined by the Agent Plugins specification."
47
+ },
48
+ "args": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "string"
52
+ }
53
+ },
54
+ "env": {
55
+ "type": "object",
56
+ "propertyNames": {
57
+ "not": {
58
+ "enum": ["PLUGIN_ROOT", "PLUGIN_DATA"]
59
+ }
60
+ },
61
+ "additionalProperties": {
62
+ "type": "string"
63
+ }
64
+ },
65
+ "cwd": {
66
+ "type": "string",
67
+ "pattern": "^(?:\\./|\\$\\{PLUGIN_ROOT\\}(?:/|$)|\\$\\{PLUGIN_DATA\\}(?:/|$))",
68
+ "description": "Plugin-relative, PLUGIN_ROOT-rooted, or PLUGIN_DATA-rooted working directory. Filesystem containment is validated separately."
69
+ }
70
+ },
71
+ "required": ["type", "command"],
72
+ "additionalProperties": false
73
+ },
74
+ "streamableHttpServer": {
75
+ "title": "Streamable HTTP MCP server",
76
+ "type": "object",
77
+ "properties": {
78
+ "type": {
79
+ "const": "streamable-http"
80
+ },
81
+ "url": {
82
+ "type": "string",
83
+ "minLength": 1,
84
+ "description": "MCP endpoint URL. URL semantics are defined by the Agent Plugins specification."
85
+ },
86
+ "headers": {
87
+ "$ref": "#/$defs/headers"
88
+ }
89
+ },
90
+ "required": ["type", "url"],
91
+ "additionalProperties": false
92
+ },
93
+ "sseServer": {
94
+ "title": "Legacy HTTP+SSE MCP server",
95
+ "type": "object",
96
+ "properties": {
97
+ "type": {
98
+ "const": "sse"
99
+ },
100
+ "url": {
101
+ "type": "string",
102
+ "minLength": 1,
103
+ "description": "MCP endpoint URL. URL semantics are defined by the Agent Plugins specification."
104
+ },
105
+ "headers": {
106
+ "$ref": "#/$defs/headers"
107
+ }
108
+ },
109
+ "required": ["type", "url"],
110
+ "additionalProperties": false
111
+ },
112
+ "headers": {
113
+ "title": "HTTP headers",
114
+ "type": "object",
115
+ "additionalProperties": {
116
+ "type": "string"
117
+ }
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
4
+ "title": "Agent Plugins Manifest",
5
+ "description": "Machine-readable schema for plugin.json in Agent Plugins 1.0.0. The Agent Plugins specification defines additional semantic and operational requirements.",
6
+ "type": "object",
7
+ "properties": {
8
+ "$schema": {
9
+ "const": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
10
+ "description": "Canonical identifier of the plugin manifest schema for the Agent Plugins version targeted by this document."
11
+ },
12
+ "name": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "maxLength": 64,
16
+ "pattern": "^(?!.*(?:--|\\.\\.))[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$",
17
+ "description": "Human-readable plugin name."
18
+ },
19
+ "version": {
20
+ "type": "string"
21
+ },
22
+ "description": {
23
+ "type": "string"
24
+ },
25
+ "author": {
26
+ "type": "object",
27
+ "properties": {
28
+ "name": {
29
+ "type": "string"
30
+ },
31
+ "email": {
32
+ "type": "string"
33
+ },
34
+ "url": {
35
+ "type": "string"
36
+ }
37
+ },
38
+ "additionalProperties": false
39
+ },
40
+ "homepage": {
41
+ "type": "string"
42
+ },
43
+ "repository": {
44
+ "type": "string"
45
+ },
46
+ "license": {
47
+ "type": "string"
48
+ },
49
+ "keywords": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "extensions": {
56
+ "type": "object",
57
+ "description": "Client-specific manifest data keyed by reverse-domain extension namespace. Agent Plugins assigns no semantics to namespace object contents.",
58
+ "additionalProperties": {
59
+ "type": "object"
60
+ }
61
+ }
62
+ },
63
+ "required": ["$schema", "name"],
64
+ "additionalProperties": false
65
+ }