@maka/maka-cli 5.2.11 → 5.3.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 (478) hide show
  1. package/package.json +23 -35
  2. package/.claude/codebase-overview.md +0 -736
  3. package/.claude/mcp.json +0 -17
  4. package/.eslintrc.json +0 -29
  5. package/.github/workflows/npm-publish.yml +0 -35
  6. package/.mocharc.json +0 -3
  7. package/.vscode/mcp.json +0 -8
  8. package/CLAUDE.md +0 -239
  9. package/docs/MCP_SERVER.md +0 -396
  10. package/eslint.config.js +0 -19
  11. package/jest.config.js +0 -12
  12. package/test/integration/default.test.js +0 -84
  13. package/test/integration/fixtures/blaze/.maka/config.json +0 -30
  14. package/test/integration/fixtures/blaze/.tern-project +0 -17
  15. package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +0 -17
  16. package/test/integration/fixtures/blaze/app/.meteor/.id +0 -7
  17. package/test/integration/fixtures/blaze/app/.meteor/packages +0 -21
  18. package/test/integration/fixtures/blaze/app/.meteor/platforms +0 -2
  19. package/test/integration/fixtures/blaze/app/.meteor/release +0 -1
  20. package/test/integration/fixtures/blaze/app/.meteor/versions +0 -78
  21. package/test/integration/fixtures/blaze/app/client/.gitkeep +0 -1
  22. package/test/integration/fixtures/blaze/app/client/body.html +0 -2
  23. package/test/integration/fixtures/blaze/app/client/head.html +0 -8
  24. package/test/integration/fixtures/blaze/app/client/main.js +0 -1
  25. package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +0 -1
  26. package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +0 -3
  27. package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +0 -25
  28. package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +0 -15
  29. package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +0 -1
  30. package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +0 -1
  31. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  32. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +0 -3
  33. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +0 -29
  34. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +0 -5
  35. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +0 -5
  36. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +0 -53
  37. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +0 -5
  38. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +0 -5
  39. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +0 -53
  40. package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +0 -25
  41. package/test/integration/fixtures/blaze/app/lib/.gitkeep +0 -1
  42. package/test/integration/fixtures/blaze/app/lib/main.js +0 -1
  43. package/test/integration/fixtures/blaze/app/packages/.gitkeep +0 -1
  44. package/test/integration/fixtures/blaze/app/private/.gitkeep +0 -1
  45. package/test/integration/fixtures/blaze/app/public/.gitkeep +0 -1
  46. package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
  47. package/test/integration/fixtures/blaze/app/server/.gitkeep +0 -1
  48. package/test/integration/fixtures/blaze/app/server/main.js +0 -1
  49. package/test/integration/fixtures/blaze/bin/.gitkeep +0 -1
  50. package/test/integration/fixtures/blaze/build/.gitkeep +0 -1
  51. package/test/integration/fixtures/blaze/build/README +0 -4
  52. package/test/integration/fixtures/blaze/config/.gitkeep +0 -1
  53. package/test/integration/fixtures/blaze/config/development/env.sh +0 -9
  54. package/test/integration/fixtures/blaze/config/development/settings.json +0 -6
  55. package/test/integration/fixtures/blaze/config/production/env.sh +0 -9
  56. package/test/integration/fixtures/blaze/config/production/settings.json +0 -6
  57. package/test/integration/fixtures/blaze/config/staging/env.sh +0 -9
  58. package/test/integration/fixtures/blaze/config/staging/settings.json +0 -6
  59. package/test/integration/fixtures/react/.maka/config.json +0 -30
  60. package/test/integration/fixtures/react/.tern-project +0 -17
  61. package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +0 -17
  62. package/test/integration/fixtures/react/app/.meteor/.id +0 -7
  63. package/test/integration/fixtures/react/app/.meteor/packages +0 -21
  64. package/test/integration/fixtures/react/app/.meteor/platforms +0 -2
  65. package/test/integration/fixtures/react/app/.meteor/release +0 -1
  66. package/test/integration/fixtures/react/app/.meteor/versions +0 -78
  67. package/test/integration/fixtures/react/app/client/.gitkeep +0 -1
  68. package/test/integration/fixtures/react/app/client/body.html +0 -3
  69. package/test/integration/fixtures/react/app/client/head.html +0 -8
  70. package/test/integration/fixtures/react/app/client/main.jsx +0 -1
  71. package/test/integration/fixtures/react/app/imports/api/.gitkeep +0 -1
  72. package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +0 -12
  73. package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +0 -24
  74. package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +0 -21
  75. package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +0 -1
  76. package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +0 -1
  77. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  78. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -28
  79. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +0 -5
  80. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +0 -29
  81. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +0 -5
  82. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +0 -29
  83. package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +0 -1
  84. package/test/integration/fixtures/react/app/lib/.gitkeep +0 -1
  85. package/test/integration/fixtures/react/app/lib/main.jsx +0 -1
  86. package/test/integration/fixtures/react/app/packages/.gitkeep +0 -1
  87. package/test/integration/fixtures/react/app/private/.gitkeep +0 -1
  88. package/test/integration/fixtures/react/app/public/.gitkeep +0 -1
  89. package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
  90. package/test/integration/fixtures/react/app/server/.gitkeep +0 -1
  91. package/test/integration/fixtures/react/app/server/main.jsx +0 -1
  92. package/test/integration/fixtures/react/bin/.gitkeep +0 -1
  93. package/test/integration/fixtures/react/build/.gitkeep +0 -1
  94. package/test/integration/fixtures/react/build/README +0 -4
  95. package/test/integration/fixtures/react/config/.gitkeep +0 -1
  96. package/test/integration/fixtures/react/config/development/env.sh +0 -9
  97. package/test/integration/fixtures/react/config/development/settings.json +0 -6
  98. package/test/integration/fixtures/react/config/production/env.sh +0 -9
  99. package/test/integration/fixtures/react/config/production/settings.json +0 -6
  100. package/test/integration/fixtures/react/config/staging/env.sh +0 -9
  101. package/test/integration/fixtures/react/config/staging/settings.json +0 -6
  102. package/test/integration/fixtures/react-apollo/.maka/config.json +0 -30
  103. package/test/integration/fixtures/react-apollo/.tern-project +0 -17
  104. package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +0 -17
  105. package/test/integration/fixtures/react-apollo/app/.meteor/.id +0 -7
  106. package/test/integration/fixtures/react-apollo/app/.meteor/packages +0 -21
  107. package/test/integration/fixtures/react-apollo/app/.meteor/platforms +0 -2
  108. package/test/integration/fixtures/react-apollo/app/.meteor/release +0 -1
  109. package/test/integration/fixtures/react-apollo/app/.meteor/versions +0 -78
  110. package/test/integration/fixtures/react-apollo/app/client/.gitkeep +0 -1
  111. package/test/integration/fixtures/react-apollo/app/client/body.html +0 -3
  112. package/test/integration/fixtures/react-apollo/app/client/head.html +0 -8
  113. package/test/integration/fixtures/react-apollo/app/client/main.jsx +0 -1
  114. package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +0 -1
  115. package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +0 -20
  116. package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +0 -24
  117. package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +0 -21
  118. package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +0 -1
  119. package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +0 -25
  120. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  121. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -28
  122. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +0 -5
  123. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +0 -34
  124. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +0 -5
  125. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +0 -34
  126. package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +0 -1
  127. package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +0 -1
  128. package/test/integration/fixtures/react-apollo/app/lib/main.jsx +0 -1
  129. package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +0 -1
  130. package/test/integration/fixtures/react-apollo/app/private/.gitkeep +0 -1
  131. package/test/integration/fixtures/react-apollo/app/public/.gitkeep +0 -1
  132. package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
  133. package/test/integration/fixtures/react-apollo/app/server/.gitkeep +0 -1
  134. package/test/integration/fixtures/react-apollo/app/server/main.jsx +0 -1
  135. package/test/integration/fixtures/react-apollo/bin/.gitkeep +0 -1
  136. package/test/integration/fixtures/react-apollo/build/.gitkeep +0 -1
  137. package/test/integration/fixtures/react-apollo/build/README +0 -4
  138. package/test/integration/fixtures/react-apollo/config/.gitkeep +0 -1
  139. package/test/integration/fixtures/react-apollo/config/development/env.sh +0 -9
  140. package/test/integration/fixtures/react-apollo/config/development/settings.json +0 -6
  141. package/test/integration/fixtures/react-apollo/config/production/env.sh +0 -9
  142. package/test/integration/fixtures/react-apollo/config/production/settings.json +0 -6
  143. package/test/integration/fixtures/react-apollo/config/staging/env.sh +0 -9
  144. package/test/integration/fixtures/react-apollo/config/staging/settings.json +0 -6
  145. package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +0 -30
  146. package/test/integration/fixtures/react-apollo-ssr/.tern-project +0 -17
  147. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +0 -17
  148. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +0 -7
  149. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +0 -21
  150. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +0 -2
  151. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +0 -1
  152. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +0 -78
  153. package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +0 -1
  154. package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +0 -3
  155. package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +0 -8
  156. package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +0 -1
  157. package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +0 -1
  158. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +0 -29
  159. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +0 -1
  160. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +0 -21
  161. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +0 -21
  162. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +0 -65
  163. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -27
  164. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +0 -33
  165. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -33
  166. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +0 -1
  167. package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +0 -1
  168. package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +0 -1
  169. package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +0 -1
  170. package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +0 -1
  171. package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +0 -1
  172. package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
  173. package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +0 -1
  174. package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +0 -1
  175. package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +0 -1
  176. package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +0 -1
  177. package/test/integration/fixtures/react-apollo-ssr/build/README +0 -4
  178. package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +0 -1
  179. package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +0 -9
  180. package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +0 -6
  181. package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +0 -9
  182. package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +0 -6
  183. package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +0 -9
  184. package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +0 -6
  185. package/test/integration/fixtures/react-material/.maka/config.json +0 -30
  186. package/test/integration/fixtures/react-material/.tern-project +0 -17
  187. package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +0 -17
  188. package/test/integration/fixtures/react-material/app/.meteor/.id +0 -7
  189. package/test/integration/fixtures/react-material/app/.meteor/packages +0 -21
  190. package/test/integration/fixtures/react-material/app/.meteor/platforms +0 -2
  191. package/test/integration/fixtures/react-material/app/.meteor/release +0 -1
  192. package/test/integration/fixtures/react-material/app/.meteor/versions +0 -78
  193. package/test/integration/fixtures/react-material/app/client/.gitkeep +0 -1
  194. package/test/integration/fixtures/react-material/app/client/body.html +0 -3
  195. package/test/integration/fixtures/react-material/app/client/head.html +0 -8
  196. package/test/integration/fixtures/react-material/app/client/main.jsx +0 -1
  197. package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +0 -1
  198. package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +0 -19
  199. package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +0 -24
  200. package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +0 -21
  201. package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +0 -1
  202. package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +0 -1
  203. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  204. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -28
  205. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +0 -5
  206. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +0 -29
  207. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +0 -5
  208. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +0 -29
  209. package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +0 -1
  210. package/test/integration/fixtures/react-material/app/lib/.gitkeep +0 -1
  211. package/test/integration/fixtures/react-material/app/lib/main.jsx +0 -1
  212. package/test/integration/fixtures/react-material/app/packages/.gitkeep +0 -1
  213. package/test/integration/fixtures/react-material/app/private/.gitkeep +0 -1
  214. package/test/integration/fixtures/react-material/app/public/.gitkeep +0 -1
  215. package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
  216. package/test/integration/fixtures/react-material/app/server/.gitkeep +0 -1
  217. package/test/integration/fixtures/react-material/app/server/main.jsx +0 -1
  218. package/test/integration/fixtures/react-material/bin/.gitkeep +0 -1
  219. package/test/integration/fixtures/react-material/build/.gitkeep +0 -1
  220. package/test/integration/fixtures/react-material/build/README +0 -4
  221. package/test/integration/fixtures/react-material/config/.gitkeep +0 -1
  222. package/test/integration/fixtures/react-material/config/development/env.sh +0 -9
  223. package/test/integration/fixtures/react-material/config/development/settings.json +0 -6
  224. package/test/integration/fixtures/react-material/config/production/env.sh +0 -9
  225. package/test/integration/fixtures/react-material/config/production/settings.json +0 -6
  226. package/test/integration/fixtures/react-material/config/staging/env.sh +0 -9
  227. package/test/integration/fixtures/react-material/config/staging/settings.json +0 -6
  228. package/test/integration/fixtures/react-ssr/.maka/config.json +0 -30
  229. package/test/integration/fixtures/react-ssr/.tern-project +0 -17
  230. package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +0 -17
  231. package/test/integration/fixtures/react-ssr/app/.meteor/.id +0 -7
  232. package/test/integration/fixtures/react-ssr/app/.meteor/packages +0 -21
  233. package/test/integration/fixtures/react-ssr/app/.meteor/platforms +0 -2
  234. package/test/integration/fixtures/react-ssr/app/.meteor/release +0 -1
  235. package/test/integration/fixtures/react-ssr/app/.meteor/versions +0 -78
  236. package/test/integration/fixtures/react-ssr/app/client/.gitkeep +0 -1
  237. package/test/integration/fixtures/react-ssr/app/client/body.html +0 -3
  238. package/test/integration/fixtures/react-ssr/app/client/head.html +0 -8
  239. package/test/integration/fixtures/react-ssr/app/client/main.jsx +0 -1
  240. package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +0 -1
  241. package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +0 -21
  242. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +0 -1
  243. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +0 -21
  244. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +0 -21
  245. package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +0 -36
  246. package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -27
  247. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +0 -28
  248. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -28
  249. package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +0 -1
  250. package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +0 -1
  251. package/test/integration/fixtures/react-ssr/app/lib/main.jsx +0 -1
  252. package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +0 -1
  253. package/test/integration/fixtures/react-ssr/app/private/.gitkeep +0 -1
  254. package/test/integration/fixtures/react-ssr/app/public/.gitkeep +0 -1
  255. package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
  256. package/test/integration/fixtures/react-ssr/app/server/.gitkeep +0 -1
  257. package/test/integration/fixtures/react-ssr/app/server/main.jsx +0 -1
  258. package/test/integration/fixtures/react-ssr/bin/.gitkeep +0 -1
  259. package/test/integration/fixtures/react-ssr/build/.gitkeep +0 -1
  260. package/test/integration/fixtures/react-ssr/build/README +0 -4
  261. package/test/integration/fixtures/react-ssr/config/.gitkeep +0 -1
  262. package/test/integration/fixtures/react-ssr/config/development/env.sh +0 -9
  263. package/test/integration/fixtures/react-ssr/config/development/settings.json +0 -6
  264. package/test/integration/fixtures/react-ssr/config/production/env.sh +0 -9
  265. package/test/integration/fixtures/react-ssr/config/production/settings.json +0 -6
  266. package/test/integration/fixtures/react-ssr/config/staging/env.sh +0 -9
  267. package/test/integration/fixtures/react-ssr/config/staging/settings.json +0 -6
  268. package/test/integration/fixtures/reflux/.maka/config.json +0 -30
  269. package/test/integration/fixtures/reflux/.tern-project +0 -17
  270. package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +0 -17
  271. package/test/integration/fixtures/reflux/app/.meteor/.id +0 -7
  272. package/test/integration/fixtures/reflux/app/.meteor/packages +0 -21
  273. package/test/integration/fixtures/reflux/app/.meteor/platforms +0 -2
  274. package/test/integration/fixtures/reflux/app/.meteor/release +0 -1
  275. package/test/integration/fixtures/reflux/app/.meteor/versions +0 -78
  276. package/test/integration/fixtures/reflux/app/client/.gitkeep +0 -1
  277. package/test/integration/fixtures/reflux/app/client/body.html +0 -3
  278. package/test/integration/fixtures/reflux/app/client/head.html +0 -8
  279. package/test/integration/fixtures/reflux/app/client/main.jsx +0 -1
  280. package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +0 -1
  281. package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +0 -12
  282. package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +0 -24
  283. package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +0 -21
  284. package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +0 -1
  285. package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +0 -1
  286. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  287. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -31
  288. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +0 -5
  289. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +0 -33
  290. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +0 -5
  291. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +0 -33
  292. package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +0 -1
  293. package/test/integration/fixtures/reflux/app/lib/.gitkeep +0 -1
  294. package/test/integration/fixtures/reflux/app/lib/main.jsx +0 -1
  295. package/test/integration/fixtures/reflux/app/packages/.gitkeep +0 -1
  296. package/test/integration/fixtures/reflux/app/private/.gitkeep +0 -1
  297. package/test/integration/fixtures/reflux/app/public/.gitkeep +0 -1
  298. package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
  299. package/test/integration/fixtures/reflux/app/server/.gitkeep +0 -1
  300. package/test/integration/fixtures/reflux/app/server/main.jsx +0 -1
  301. package/test/integration/fixtures/reflux/bin/.gitkeep +0 -1
  302. package/test/integration/fixtures/reflux/build/.gitkeep +0 -1
  303. package/test/integration/fixtures/reflux/build/README +0 -4
  304. package/test/integration/fixtures/reflux/config/.gitkeep +0 -1
  305. package/test/integration/fixtures/reflux/config/development/env.sh +0 -9
  306. package/test/integration/fixtures/reflux/config/development/settings.json +0 -6
  307. package/test/integration/fixtures/reflux/config/production/env.sh +0 -9
  308. package/test/integration/fixtures/reflux/config/production/settings.json +0 -6
  309. package/test/integration/fixtures/reflux/config/staging/env.sh +0 -9
  310. package/test/integration/fixtures/reflux/config/staging/settings.json +0 -6
  311. package/test/integration/fixtures/reflux-apollo/.maka/config.json +0 -30
  312. package/test/integration/fixtures/reflux-apollo/.tern-project +0 -17
  313. package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +0 -17
  314. package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +0 -7
  315. package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +0 -21
  316. package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +0 -2
  317. package/test/integration/fixtures/reflux-apollo/app/.meteor/release +0 -1
  318. package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +0 -78
  319. package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +0 -1
  320. package/test/integration/fixtures/reflux-apollo/app/client/body.html +0 -3
  321. package/test/integration/fixtures/reflux-apollo/app/client/head.html +0 -8
  322. package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +0 -1
  323. package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +0 -1
  324. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +0 -20
  325. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +0 -24
  326. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +0 -21
  327. package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +0 -1
  328. package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +0 -25
  329. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  330. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -31
  331. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +0 -5
  332. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +0 -38
  333. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +0 -5
  334. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +0 -38
  335. package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +0 -1
  336. package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +0 -1
  337. package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +0 -1
  338. package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +0 -1
  339. package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +0 -1
  340. package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +0 -1
  341. package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
  342. package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +0 -1
  343. package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +0 -1
  344. package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +0 -1
  345. package/test/integration/fixtures/reflux-apollo/build/.gitkeep +0 -1
  346. package/test/integration/fixtures/reflux-apollo/build/README +0 -4
  347. package/test/integration/fixtures/reflux-apollo/config/.gitkeep +0 -1
  348. package/test/integration/fixtures/reflux-apollo/config/development/env.sh +0 -9
  349. package/test/integration/fixtures/reflux-apollo/config/development/settings.json +0 -6
  350. package/test/integration/fixtures/reflux-apollo/config/production/env.sh +0 -9
  351. package/test/integration/fixtures/reflux-apollo/config/production/settings.json +0 -6
  352. package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +0 -9
  353. package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +0 -6
  354. package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +0 -30
  355. package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +0 -17
  356. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +0 -17
  357. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +0 -7
  358. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +0 -21
  359. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +0 -2
  360. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +0 -1
  361. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +0 -78
  362. package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +0 -1
  363. package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +0 -3
  364. package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +0 -8
  365. package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +0 -1
  366. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +0 -1
  367. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +0 -29
  368. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +0 -1
  369. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +0 -21
  370. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +0 -21
  371. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +0 -65
  372. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -27
  373. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +0 -33
  374. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -33
  375. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +0 -1
  376. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +0 -1
  377. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +0 -1
  378. package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +0 -1
  379. package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +0 -1
  380. package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +0 -1
  381. package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
  382. package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +0 -1
  383. package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +0 -1
  384. package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +0 -1
  385. package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +0 -1
  386. package/test/integration/fixtures/reflux-apollo-ssr/build/README +0 -4
  387. package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +0 -1
  388. package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +0 -9
  389. package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +0 -6
  390. package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +0 -9
  391. package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +0 -6
  392. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +0 -9
  393. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +0 -6
  394. package/test/integration/fixtures/reflux-material/.maka/config.json +0 -30
  395. package/test/integration/fixtures/reflux-material/.tern-project +0 -17
  396. package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +0 -17
  397. package/test/integration/fixtures/reflux-material/app/.meteor/.id +0 -7
  398. package/test/integration/fixtures/reflux-material/app/.meteor/packages +0 -21
  399. package/test/integration/fixtures/reflux-material/app/.meteor/platforms +0 -2
  400. package/test/integration/fixtures/reflux-material/app/.meteor/release +0 -1
  401. package/test/integration/fixtures/reflux-material/app/.meteor/versions +0 -78
  402. package/test/integration/fixtures/reflux-material/app/client/.gitkeep +0 -1
  403. package/test/integration/fixtures/reflux-material/app/client/body.html +0 -3
  404. package/test/integration/fixtures/reflux-material/app/client/head.html +0 -8
  405. package/test/integration/fixtures/reflux-material/app/client/main.jsx +0 -1
  406. package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +0 -1
  407. package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +0 -19
  408. package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +0 -24
  409. package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +0 -21
  410. package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +0 -1
  411. package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +0 -1
  412. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +0 -5
  413. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -31
  414. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +0 -5
  415. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +0 -33
  416. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +0 -5
  417. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +0 -33
  418. package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +0 -1
  419. package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +0 -1
  420. package/test/integration/fixtures/reflux-material/app/lib/main.jsx +0 -1
  421. package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +0 -1
  422. package/test/integration/fixtures/reflux-material/app/private/.gitkeep +0 -1
  423. package/test/integration/fixtures/reflux-material/app/public/.gitkeep +0 -1
  424. package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
  425. package/test/integration/fixtures/reflux-material/app/server/.gitkeep +0 -1
  426. package/test/integration/fixtures/reflux-material/app/server/main.jsx +0 -1
  427. package/test/integration/fixtures/reflux-material/bin/.gitkeep +0 -1
  428. package/test/integration/fixtures/reflux-material/build/.gitkeep +0 -1
  429. package/test/integration/fixtures/reflux-material/build/README +0 -4
  430. package/test/integration/fixtures/reflux-material/config/.gitkeep +0 -1
  431. package/test/integration/fixtures/reflux-material/config/development/env.sh +0 -9
  432. package/test/integration/fixtures/reflux-material/config/development/settings.json +0 -6
  433. package/test/integration/fixtures/reflux-material/config/production/env.sh +0 -9
  434. package/test/integration/fixtures/reflux-material/config/production/settings.json +0 -6
  435. package/test/integration/fixtures/reflux-material/config/staging/env.sh +0 -9
  436. package/test/integration/fixtures/reflux-material/config/staging/settings.json +0 -6
  437. package/test/integration/fixtures/reflux-ssr/.maka/config.json +0 -30
  438. package/test/integration/fixtures/reflux-ssr/.tern-project +0 -17
  439. package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +0 -17
  440. package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +0 -7
  441. package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +0 -21
  442. package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +0 -2
  443. package/test/integration/fixtures/reflux-ssr/app/.meteor/release +0 -1
  444. package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +0 -78
  445. package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +0 -1
  446. package/test/integration/fixtures/reflux-ssr/app/client/body.html +0 -3
  447. package/test/integration/fixtures/reflux-ssr/app/client/head.html +0 -8
  448. package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +0 -1
  449. package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +0 -1
  450. package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +0 -21
  451. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +0 -1
  452. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +0 -21
  453. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +0 -21
  454. package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +0 -36
  455. package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +0 -30
  456. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +0 -32
  457. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +0 -32
  458. package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +0 -1
  459. package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +0 -1
  460. package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +0 -1
  461. package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +0 -1
  462. package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +0 -1
  463. package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +0 -1
  464. package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
  465. package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +0 -1
  466. package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +0 -1
  467. package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +0 -1
  468. package/test/integration/fixtures/reflux-ssr/build/.gitkeep +0 -1
  469. package/test/integration/fixtures/reflux-ssr/build/README +0 -4
  470. package/test/integration/fixtures/reflux-ssr/config/.gitkeep +0 -1
  471. package/test/integration/fixtures/reflux-ssr/config/development/env.sh +0 -9
  472. package/test/integration/fixtures/reflux-ssr/config/development/settings.json +0 -6
  473. package/test/integration/fixtures/reflux-ssr/config/production/env.sh +0 -9
  474. package/test/integration/fixtures/reflux-ssr/config/production/settings.json +0 -6
  475. package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +0 -9
  476. package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +0 -6
  477. package/test/integration/integration_helpers.js +0 -60
  478. package/tsconfig.json +0 -28
@@ -1,396 +0,0 @@
1
- # Maka CLI MCP Server
2
-
3
- The Maka CLI includes an enhanced Model Context Protocol (MCP) server that exposes **all maka-cli capabilities** to AI agents like Claude. This allows AI assistants to discover, understand, and help you use any maka-cli command.
4
-
5
- ## Quick Start
6
-
7
- Start the MCP server:
8
-
9
- ```bash
10
- maka ai:mcp
11
- ```
12
-
13
- The server starts on `http://localhost:3000` by default and automatically discovers all available maka-cli commands.
14
-
15
- ## Options
16
-
17
- - `--port` - Port to listen on (default: 3000)
18
- - `--host` - Host to bind to (default: localhost)
19
-
20
- ### Examples
21
-
22
- ```bash
23
- # Start on default port
24
- maka ai:mcp
25
-
26
- # Custom port
27
- maka ai:mcp --port=8080
28
-
29
- # Bind to all network interfaces
30
- maka ai:mcp --host=0.0.0.0 --port=3001
31
- ```
32
-
33
- ## Server Features
34
-
35
- ### Tools
36
-
37
- The MCP server provides these tools for AI agents:
38
-
39
- #### 1. `list-maka-commands`
40
- List all available Maka CLI commands with descriptions and usage.
41
-
42
- **Parameters:**
43
- - `filter` (optional): Filter commands by name or category (e.g., "aws", "generate", "deploy")
44
-
45
- **Example Usage:**
46
- ```json
47
- {
48
- "name": "list-maka-commands",
49
- "arguments": {
50
- "filter": "generate"
51
- }
52
- }
53
- ```
54
-
55
- #### 2. `get-command-info`
56
- Get detailed information about a specific command including usage, options, examples, and description.
57
-
58
- **Parameters:**
59
- - `command` (required): Command name (e.g., "create", "generate:component", "aws:create-instance")
60
-
61
- **Example Usage:**
62
- ```json
63
- {
64
- "name": "get-command-info",
65
- "arguments": {
66
- "command": "generate:component"
67
- }
68
- }
69
- ```
70
-
71
- #### 3. `execute-maka-command`
72
- Execute Maka CLI commands with safety restrictions to prevent destructive operations.
73
-
74
- **Parameters:**
75
- - `command` (required): Full command to execute (e.g., "maka --help")
76
- - `workingDirectory` (optional): Working directory for the command
77
-
78
- **Safety Features:**
79
- - Blocks destructive commands (murder, uninstall, rm, delete)
80
- - 30-second timeout
81
- - 10MB output buffer limit
82
-
83
- **Example Usage:**
84
- ```json
85
- {
86
- "name": "execute-maka-command",
87
- "arguments": {
88
- "command": "maka --help"
89
- }
90
- }
91
- ```
92
-
93
- #### 4. `get-project-info`
94
- Get information about the current Maka project including configuration.
95
-
96
- **Example Usage:**
97
- ```json
98
- {
99
- "name": "get-project-info",
100
- "arguments": {}
101
- }
102
- ```
103
-
104
- ### Resources
105
-
106
- #### 1. `maka://commands/all`
107
- Complete reference of all Maka CLI commands in JSON format.
108
-
109
- **Format:**
110
- ```json
111
- [
112
- {
113
- "name": "create",
114
- "aliases": "None",
115
- "shortDesc": "Create a new Meteor application",
116
- "description": "...",
117
- "usage": "maka create <app-name>",
118
- "examples": ["maka create MyApp"],
119
- "validOpts": ["..."],
120
- "requiredOpts": [],
121
- "experimental": false
122
- }
123
- ]
124
- ```
125
-
126
- #### 2. `maka://project/config`
127
- Current project configuration and metadata.
128
-
129
- #### 3. `maka://info`
130
- Maka CLI version, platform, and system information.
131
-
132
- ### Prompts
133
-
134
- Interactive conversation starters for common workflows:
135
-
136
- #### 1. `create-component`
137
- Component creation wizard with examples and best practices.
138
-
139
- **Parameters:**
140
- - `componentName` (required): Name of the component
141
- - `componentType` (optional): Type (component, page, layout, template)
142
-
143
- #### 2. `deploy-help`
144
- Deployment guide for different platforms and environments.
145
-
146
- **Parameters:**
147
- - `environment` (optional): Target environment (dev, staging, production)
148
- - `platform` (optional): Deployment platform (aws, docker, custom)
149
-
150
- #### 3. `project-setup`
151
- Interactive guide for setting up a new Maka project.
152
-
153
- **Parameters:**
154
- - `projectType` (optional): Project type (basic, full-stack, api)
155
-
156
- ## Protocol
157
-
158
- The server implements the [Model Context Protocol](https://modelcontextprotocol.io) specification:
159
-
160
- - **Transport**: Streamable HTTP (stateless mode)
161
- - **Format**: Server-Sent Events (SSE)
162
- - **Message Protocol**: JSON-RPC 2.0
163
- - **Protocol Version**: 2024-11-05
164
-
165
- ## Endpoints
166
-
167
- - `POST /mcp` - MCP protocol endpoint (Server-Sent Events)
168
- - `GET /health` - Health check endpoint
169
-
170
- ## Testing
171
-
172
- ### Health Check
173
- ```bash
174
- curl http://localhost:3000/health
175
- ```
176
-
177
- ### List Available Tools
178
- ```bash
179
- curl -X POST http://localhost:3000/mcp \
180
- -H "Content-Type: application/json" \
181
- -H "Accept: application/json, text/event-stream" \
182
- -d '{
183
- "jsonrpc": "2.0",
184
- "id": 1,
185
- "method": "tools/list",
186
- "params": {}
187
- }'
188
- ```
189
-
190
- ### Call a Tool
191
- ```bash
192
- curl -X POST http://localhost:3000/mcp \
193
- -H "Content-Type: application/json" \
194
- -H "Accept: application/json, text/event-stream" \
195
- -d '{
196
- "jsonrpc": "2.0",
197
- "id": 2,
198
- "method": "tools/call",
199
- "params": {
200
- "name": "list-maka-commands",
201
- "arguments": {
202
- "filter": "aws"
203
- }
204
- }
205
- }'
206
- ```
207
-
208
- ## Integrating with Claude Desktop
209
-
210
- Add this configuration to your Claude Desktop MCP settings:
211
-
212
- ```json
213
- {
214
- "mcpServers": {
215
- "maka-cli": {
216
- "command": "maka",
217
- "args": ["ai:mcp", "--port=3000"],
218
- "transport": "http",
219
- "url": "http://localhost:3000/mcp"
220
- }
221
- }
222
- }
223
- ```
224
-
225
- Alternatively, run the server manually and configure Claude Desktop to connect to the HTTP endpoint:
226
-
227
- ```json
228
- {
229
- "mcpServers": {
230
- "maka-cli": {
231
- "transport": "http",
232
- "url": "http://localhost:3000/mcp"
233
- }
234
- }
235
- }
236
- ```
237
-
238
- ## How It Works
239
-
240
- ### Command Discovery
241
-
242
- The MCP server automatically discovers all commands by traversing the Maka CLI command tree:
243
-
244
- 1. Starts at the root `Maka` command
245
- 2. Recursively explores all subcommands
246
- 3. Extracts metadata (name, description, usage, options, examples)
247
- 4. Filters out internal/hidden commands
248
- 5. Builds a complete command registry
249
-
250
- This means **any new command added to maka-cli is automatically exposed** through the MCP server.
251
-
252
- ### Project Detection
253
-
254
- The server detects if you're in a Maka project by looking for `.maka/config.json`. Project-specific information is exposed through the `get-project-info` tool and `maka://project/config` resource.
255
-
256
- ## Use Cases for AI Agents
257
-
258
- With this MCP server, AI agents like Claude can:
259
-
260
- 1. **Discover Commands**: "What commands are available in maka-cli?"
261
- 2. **Get Help**: "How do I create a new component?"
262
- 3. **Learn Usage**: "Show me examples of the deploy command"
263
- 4. **Execute Commands**: "Run maka --version for me"
264
- 5. **Guide Workflows**: "Walk me through deploying to AWS"
265
- 6. **Project Context**: "What's configured in my current project?"
266
-
267
- ## Customization
268
-
269
- ### Adding Custom Tools
270
-
271
- Edit `src/commands/ai/mcp.sub.cmd.ts` and add new tools:
272
-
273
- ```typescript
274
- server.tool(
275
- 'my-custom-tool',
276
- 'Description of what my tool does',
277
- {
278
- param1: z.string().describe('Description of parameter')
279
- },
280
- async ({ param1 }) => {
281
- // Your tool logic here
282
- return {
283
- content: [
284
- {
285
- type: 'text',
286
- text: `Result: ${param1}`
287
- }
288
- ]
289
- };
290
- }
291
- );
292
- ```
293
-
294
- ### Adding Custom Resources
295
-
296
- ```typescript
297
- server.resource(
298
- 'my-resource',
299
- 'maka://custom/resource',
300
- {
301
- mimeType: 'application/json',
302
- description: 'My custom resource'
303
- },
304
- async () => {
305
- return {
306
- contents: [
307
- {
308
- uri: 'maka://custom/resource',
309
- mimeType: 'application/json',
310
- text: JSON.stringify({ data: 'value' }, null, 2)
311
- }
312
- ]
313
- };
314
- }
315
- );
316
- ```
317
-
318
- ### Adding Custom Prompts
319
-
320
- ```typescript
321
- server.prompt(
322
- 'my-workflow',
323
- 'Guided workflow for a specific task',
324
- {
325
- taskType: z.enum(['option1', 'option2']).describe('Type of task')
326
- },
327
- async ({ taskType }) => {
328
- return {
329
- messages: [
330
- {
331
- role: 'user',
332
- content: {
333
- type: 'text',
334
- text: `Help me with ${taskType}`
335
- }
336
- },
337
- {
338
- role: 'assistant',
339
- content: {
340
- type: 'text',
341
- text: `Here's how to handle ${taskType}...`
342
- }
343
- }
344
- ]
345
- };
346
- }
347
- );
348
- ```
349
-
350
- ## CORS Configuration
351
-
352
- The server is configured with CORS enabled for all origins by default. For production:
353
-
354
- ```typescript
355
- app.use(cors({
356
- origin: 'https://yourdomain.com', // Restrict to specific origin
357
- exposedHeaders: ['Mcp-Session-Id']
358
- }));
359
- ```
360
-
361
- ## Dependencies
362
-
363
- - `@modelcontextprotocol/sdk` - MCP SDK
364
- - `express` - HTTP server
365
- - `cors` - CORS middleware
366
- - `zod` - Schema validation
367
-
368
- ## Architecture
369
-
370
- ```
371
- ┌─────────────────┐
372
- │ AI Agent │
373
- │ (e.g. Claude) │
374
- └────────┬────────┘
375
- │ MCP over HTTP
376
-
377
- ┌────────▼────────┐
378
- │ MCP Server │
379
- │ (ai:mcp cmd) │
380
- ├─────────────────┤
381
- │ • Tools │
382
- │ • Resources │
383
- │ • Prompts │
384
- └────────┬────────┘
385
-
386
- ├─► Command Discovery (Maka._commands)
387
- ├─► Project Detection (.maka/config.json)
388
- └─► Command Execution (execSync with safety)
389
- ```
390
-
391
- ## Resources
392
-
393
- - [Model Context Protocol Documentation](https://modelcontextprotocol.io)
394
- - [MCP SDK on GitHub](https://github.com/modelcontextprotocol/typescript-sdk)
395
- - [Claude Desktop MCP Integration](https://docs.anthropic.com/claude/docs/model-context-protocol)
396
- - [Maka CLI Documentation](https://www.maka-cli.com)
package/eslint.config.js DELETED
@@ -1,19 +0,0 @@
1
- import globals from "globals";
2
- import pluginJs from "@eslint/js";
3
- import tseslint from "typescript-eslint";
4
-
5
-
6
- export default [
7
- {files: ["**/*.{js,mjs,cjs,ts}"]},
8
- {languageOptions: { globals: globals.browser }},
9
- pluginJs.configs.recommended,
10
- ...tseslint.configs.recommended,
11
- {
12
- rules: {
13
- "@typescript-eslint/no-explicit-any": "off",
14
- },
15
- },
16
- {
17
- ignores: ["src/templates/**/*"]
18
- }
19
- ];
package/jest.config.js DELETED
@@ -1,12 +0,0 @@
1
- export default {
2
- preset: 'ts-jest',
3
- testEnvironment: 'node',
4
- testMatch: ['**/*.test.ts'],
5
- moduleFileExtensions: ['ts', 'js'],
6
- transform: {
7
- '^.+\\.ts$': 'ts-jest',
8
- },
9
- coveragePathIgnorePatterns: ['/bundle'],
10
- passWithNoTests: true,
11
- };
12
-
@@ -1,84 +0,0 @@
1
- var assert = require("chai").assert;
2
- var helpers = require('./integration_helpers');
3
-
4
- describe("default languages", function() {
5
-
6
- it('react genenerated correctly', function(done) {
7
- helpers.compare('react', [''], function(err) {
8
- assert(err == null, err);
9
- done();
10
- });
11
- });
12
-
13
- it('react-material genenerated correctly', function(done) {
14
- helpers.compare('react', ['--theme=material'], function(err) {
15
- assert(err == null, err);
16
- done();
17
- });
18
- });
19
-
20
- it('react-ssr genenerated correctly', function(done) {
21
- helpers.compare('react', ['--ssr=true'], function(err) {
22
- assert(err == null, err);
23
- done();
24
- });
25
- });
26
-
27
-
28
- it('react-apollo genenerated correctly', function(done) {
29
- helpers.compare('react', ['--graphql=apollo'], function(err) {
30
- assert(err == null, err);
31
- done();
32
- });
33
- });
34
-
35
- it('react-apollo-ssr genenerated correctly', function(done) {
36
- helpers.compare('react', ['--graphql=apollo', '--ssr=true'], function(err) {
37
- assert(err == null, err);
38
- done();
39
- });
40
- });
41
-
42
- it('reflux genenerated correctly', function(done) {
43
- helpers.compare('react', ['--client=reflux'], function(err) {
44
- assert(err == null, err);
45
- done();
46
- });
47
- });
48
-
49
- it('reflux-material genenerated correctly', function(done) {
50
- helpers.compare('react', ['--client=reflux', '--theme=material'], function(err) {
51
- assert(err == null, err);
52
- done();
53
- });
54
- });
55
-
56
- it('reflux-ssr genenerated correctly', function(done) {
57
- helpers.compare('react', ['--client=reflux', '--ssr=true'], function(err) {
58
- assert(err == null, err);
59
- done();
60
- });
61
- });
62
-
63
- it('reflux-apollo genenerated correctly', function(done) {
64
- helpers.compare('react', ['--client=reflux', '--graphql=apollo'], function(err) {
65
- assert(err == null, err);
66
- done();
67
- });
68
- });
69
-
70
- it('reflux-apollo-ssr genenerated correctly', function(done) {
71
- helpers.compare('react', ['--client=reflux', '--graphql=apollo', '-ssr=true'], function(err) {
72
- assert(err == null, err);
73
- done();
74
- });
75
- });
76
-
77
-
78
- it('blaze genenerated correctly', function(done) {
79
- helpers.compare('react', ['--client=blaze'], function(err) {
80
- assert(err == null, err);
81
- done();
82
- });
83
- });
84
- });
@@ -1,30 +0,0 @@
1
- {
2
- "engines": {
3
- "html": "html",
4
- "js": "js",
5
- "css": "css",
6
- "api": "none",
7
- "client": "blaze",
8
- "test": "none",
9
- "graphql": "none",
10
- "ssr": "false"
11
- },
12
-
13
- "template": {
14
- "html": "true",
15
- "js": "true",
16
- "css": "true",
17
- "test": "true"
18
- },
19
- "features": {
20
- "withTracker": "true"
21
- },
22
- "route": {
23
- "controller": "",
24
- "template": "true"
25
- },
26
-
27
- "generator": {
28
- "comments": "true"
29
- }
30
- }
@@ -1,17 +0,0 @@
1
- {
2
- "libs": [
3
- "browser",
4
- "jquery",
5
- "underscore"
6
- ],
7
- "loadEagerly": [ "*.js", "*/*.js", "*/*/*.js", "*/*/*/*.js" ],
8
- "dontLoad": [ ".meteor" ],
9
- "plugins": {
10
- "meteor": {}
11
- },
12
- "requirejs": {
13
- "baseURL": "./",
14
- "paths": {}
15
- },
16
- "node": {}
17
- }
@@ -1,17 +0,0 @@
1
- # This file contains information which helps Meteor properly upgrade your
2
- # app when you run 'meteor update'. You should check it into version control
3
- # with your project.
4
-
5
- notices-for-0.9.0
6
- notices-for-0.9.1
7
- 0.9.4-platform-file
8
- notices-for-facebook-graph-api-2
9
- 1.2.0-standard-minifiers-package
10
- 1.2.0-meteor-platform-split
11
- 1.2.0-cordova-changes
12
- 1.2.0-breaking-changes
13
- 1.3.0-split-minifiers-package
14
- 1.4.0-remove-old-dev-bundle-link
15
- 1.4.1-add-shell-server-package
16
- 1.4.3-split-account-service-packages
17
- 1.5-add-dynamic-import-package
@@ -1,7 +0,0 @@
1
- # This file contains a token that is unique to your project.
2
- # Check it into your repository along with the rest of this directory.
3
- # It can be used for purposes such as:
4
- # - ensuring you don't accidentally deploy one app on top of another
5
- # - providing package authors with aggregated statistics
6
-
7
- y8p9ecjug4zu.hb4hpnxnc5o7
@@ -1,21 +0,0 @@
1
- # Meteor packages used by this project, one per line.
2
- # Check this file (and the other files in this directory) into your repository.
3
- #
4
- # 'meteor add' and 'meteor remove' will edit this file for you,
5
- # but you can also edit it by hand.
6
-
7
- meteor-base@1.3.0 # Packages every Meteor app needs to have
8
- mobile-experience@1.0.5 # Packages for a great mobile UX
9
- mongo@1.4.2 # The database Meteor supports right now
10
- blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11
- reactive-var@1.0.11 # Reactive variable for tracker
12
- tracker@1.1.3 # Meteor's client-side reactive programming library
13
-
14
- standard-minifier-css@1.4.0 # CSS minifier run for production mode
15
- standard-minifier-js@2.3.1 # JS minifier run for production mode
16
- es5-shim@4.7.0 # ECMAScript 5 compatibility for older browsers
17
- ecmascript@0.10.0 # Enable ECMAScript2015+ syntax in app code
18
- shell-server@0.3.1 # Server-side component of the `meteor shell` command
19
-
20
- autopublish@1.0.7 # Publish all data to the clients (for prototyping)
21
- insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
@@ -1,2 +0,0 @@
1
- server
2
- browser
@@ -1 +0,0 @@
1
- METEOR@1.6.1
@@ -1,78 +0,0 @@
1
- allow-deny@1.1.0
2
- autopublish@1.0.7
3
- autoupdate@1.4.0
4
- babel-compiler@7.0.5
5
- babel-runtime@1.2.2
6
- base64@1.0.11
7
- binary-heap@1.0.10
8
- blaze@2.3.2
9
- blaze-html-templates@1.1.2
10
- blaze-tools@1.0.10
11
- boilerplate-generator@1.4.0
12
- caching-compiler@1.1.11
13
- caching-html-compiler@1.1.2
14
- callback-hook@1.1.0
15
- check@1.3.1
16
- ddp@1.4.0
17
- ddp-client@2.3.2
18
- ddp-common@1.4.0
19
- ddp-server@2.1.2
20
- deps@1.0.12
21
- diff-sequence@1.1.0
22
- dynamic-import@0.3.0
23
- ecmascript@0.10.5
24
- ecmascript-runtime@0.5.0
25
- ecmascript-runtime-client@0.6.2
26
- ecmascript-runtime-server@0.5.0
27
- ejson@1.1.0
28
- es5-shim@4.7.3
29
- geojson-utils@1.0.10
30
- hot-code-push@1.0.4
31
- html-tools@1.0.11
32
- htmljs@1.0.11
33
- http@1.4.0
34
- id-map@1.1.0
35
- insecure@1.0.7
36
- jquery@1.11.11
37
- launch-screen@1.1.1
38
- livedata@1.0.18
39
- logging@1.1.20
40
- meteor@1.8.6
41
- meteor-base@1.3.0
42
- minifier-css@1.3.1
43
- minifier-js@2.3.3
44
- minimongo@1.4.3
45
- mobile-experience@1.0.5
46
- mobile-status-bar@1.0.14
47
- modules@0.11.5
48
- modules-runtime@0.9.2
49
- mongo@1.4.5
50
- mongo-dev-server@1.1.0
51
- mongo-id@1.0.7
52
- npm-mongo@2.2.34
53
- observe-sequence@1.0.16
54
- ordered-dict@1.1.0
55
- promise@0.10.2
56
- random@1.1.0
57
- reactive-var@1.0.11
58
- reload@1.2.0
59
- retry@1.1.0
60
- routepolicy@1.0.13
61
- server-render@0.3.0
62
- shell-server@0.3.1
63
- shim-common@0.1.0
64
- socket-stream-client@0.1.0
65
- spacebars@1.0.15
66
- spacebars-compiler@1.1.3
67
- standard-minifier-css@1.4.1
68
- standard-minifier-js@2.3.2
69
- templating@1.3.2
70
- templating-compiler@1.3.3
71
- templating-runtime@1.3.2
72
- templating-tools@1.1.2
73
- tracker@1.1.3
74
- ui@1.0.13
75
- underscore@1.0.10
76
- url@1.2.0
77
- webapp@1.5.0
78
- webapp-hashing@1.0.9
@@ -1,2 +0,0 @@
1
- <body>
2
- </body>