@vicoa/cli 1.7.12-win32-x64 → 1.7.12

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 (330) hide show
  1. package/README.md +82 -0
  2. package/bin/vicoa.js +38 -0
  3. package/package.json +30 -10
  4. package/bin/_internal/VCRUNTIME140.dll +0 -0
  5. package/bin/_internal/VCRUNTIME140_1.dll +0 -0
  6. package/bin/_internal/_asyncio.pyd +0 -0
  7. package/bin/_internal/_bz2.pyd +0 -0
  8. package/bin/_internal/_cffi_backend.cp312-win_amd64.pyd +0 -0
  9. package/bin/_internal/_ctypes.pyd +0 -0
  10. package/bin/_internal/_decimal.pyd +0 -0
  11. package/bin/_internal/_hashlib.pyd +0 -0
  12. package/bin/_internal/_lzma.pyd +0 -0
  13. package/bin/_internal/_multiprocessing.pyd +0 -0
  14. package/bin/_internal/_overlapped.pyd +0 -0
  15. package/bin/_internal/_queue.pyd +0 -0
  16. package/bin/_internal/_socket.pyd +0 -0
  17. package/bin/_internal/_sqlite3.pyd +0 -0
  18. package/bin/_internal/_ssl.pyd +0 -0
  19. package/bin/_internal/_uuid.pyd +0 -0
  20. package/bin/_internal/_wmi.pyd +0 -0
  21. package/bin/_internal/_zoneinfo.pyd +0 -0
  22. package/bin/_internal/aiofile-3.12.3.dist-info/INSTALLER +0 -1
  23. package/bin/_internal/aiofile-3.12.3.dist-info/METADATA +0 -564
  24. package/bin/_internal/aiofile-3.12.3.dist-info/RECORD +0 -15
  25. package/bin/_internal/aiofile-3.12.3.dist-info/WHEEL +0 -4
  26. package/bin/_internal/aiofile-3.12.3.dist-info/licenses/LICENCE +0 -195
  27. package/bin/_internal/aiofile-3.12.3.dist-info/licenses/LICENCE.md +0 -195
  28. package/bin/_internal/aiohttp/_http_parser.cp312-win_amd64.pyd +0 -0
  29. package/bin/_internal/aiohttp/_http_writer.cp312-win_amd64.pyd +0 -0
  30. package/bin/_internal/aiohttp/_websocket/mask.cp312-win_amd64.pyd +0 -0
  31. package/bin/_internal/aiohttp/_websocket/reader_c.cp312-win_amd64.pyd +0 -0
  32. package/bin/_internal/aiohttp-3.14.3.dist-info/INSTALLER +0 -1
  33. package/bin/_internal/aiohttp-3.14.3.dist-info/METADATA +0 -257
  34. package/bin/_internal/aiohttp-3.14.3.dist-info/RECORD +0 -130
  35. package/bin/_internal/aiohttp-3.14.3.dist-info/WHEEL +0 -5
  36. package/bin/_internal/aiohttp-3.14.3.dist-info/licenses/LICENSE.txt +0 -201
  37. package/bin/_internal/aiohttp-3.14.3.dist-info/licenses/vendor/llhttp/LICENSE +0 -22
  38. package/bin/_internal/aiohttp-3.14.3.dist-info/top_level.txt +0 -1
  39. package/bin/_internal/api-ms-win-core-console-l1-1-0.dll +0 -0
  40. package/bin/_internal/api-ms-win-core-datetime-l1-1-0.dll +0 -0
  41. package/bin/_internal/api-ms-win-core-debug-l1-1-0.dll +0 -0
  42. package/bin/_internal/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
  43. package/bin/_internal/api-ms-win-core-fibers-l1-1-0.dll +0 -0
  44. package/bin/_internal/api-ms-win-core-fibers-l1-1-1.dll +0 -0
  45. package/bin/_internal/api-ms-win-core-file-l1-1-0.dll +0 -0
  46. package/bin/_internal/api-ms-win-core-file-l1-2-0.dll +0 -0
  47. package/bin/_internal/api-ms-win-core-file-l2-1-0.dll +0 -0
  48. package/bin/_internal/api-ms-win-core-handle-l1-1-0.dll +0 -0
  49. package/bin/_internal/api-ms-win-core-heap-l1-1-0.dll +0 -0
  50. package/bin/_internal/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
  51. package/bin/_internal/api-ms-win-core-kernel32-legacy-l1-1-1.dll +0 -0
  52. package/bin/_internal/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
  53. package/bin/_internal/api-ms-win-core-localization-l1-2-0.dll +0 -0
  54. package/bin/_internal/api-ms-win-core-memory-l1-1-0.dll +0 -0
  55. package/bin/_internal/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
  56. package/bin/_internal/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
  57. package/bin/_internal/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
  58. package/bin/_internal/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
  59. package/bin/_internal/api-ms-win-core-profile-l1-1-0.dll +0 -0
  60. package/bin/_internal/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
  61. package/bin/_internal/api-ms-win-core-string-l1-1-0.dll +0 -0
  62. package/bin/_internal/api-ms-win-core-synch-l1-1-0.dll +0 -0
  63. package/bin/_internal/api-ms-win-core-synch-l1-2-0.dll +0 -0
  64. package/bin/_internal/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
  65. package/bin/_internal/api-ms-win-core-sysinfo-l1-2-0.dll +0 -0
  66. package/bin/_internal/api-ms-win-core-timezone-l1-1-0.dll +0 -0
  67. package/bin/_internal/api-ms-win-core-util-l1-1-0.dll +0 -0
  68. package/bin/_internal/api-ms-win-crt-conio-l1-1-0.dll +0 -0
  69. package/bin/_internal/api-ms-win-crt-convert-l1-1-0.dll +0 -0
  70. package/bin/_internal/api-ms-win-crt-environment-l1-1-0.dll +0 -0
  71. package/bin/_internal/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
  72. package/bin/_internal/api-ms-win-crt-heap-l1-1-0.dll +0 -0
  73. package/bin/_internal/api-ms-win-crt-locale-l1-1-0.dll +0 -0
  74. package/bin/_internal/api-ms-win-crt-math-l1-1-0.dll +0 -0
  75. package/bin/_internal/api-ms-win-crt-process-l1-1-0.dll +0 -0
  76. package/bin/_internal/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
  77. package/bin/_internal/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
  78. package/bin/_internal/api-ms-win-crt-string-l1-1-0.dll +0 -0
  79. package/bin/_internal/api-ms-win-crt-time-l1-1-0.dll +0 -0
  80. package/bin/_internal/api-ms-win-crt-utility-l1-1-0.dll +0 -0
  81. package/bin/_internal/attrs-26.1.0.dist-info/INSTALLER +0 -1
  82. package/bin/_internal/attrs-26.1.0.dist-info/METADATA +0 -199
  83. package/bin/_internal/attrs-26.1.0.dist-info/RECORD +0 -55
  84. package/bin/_internal/attrs-26.1.0.dist-info/WHEEL +0 -4
  85. package/bin/_internal/attrs-26.1.0.dist-info/licenses/LICENSE +0 -21
  86. package/bin/_internal/base_library.zip +0 -0
  87. package/bin/_internal/certifi/cacert.pem +0 -3959
  88. package/bin/_internal/certifi/py.typed +0 -0
  89. package/bin/_internal/charset_normalizer/cd.cp312-win_amd64.pyd +0 -0
  90. package/bin/_internal/charset_normalizer/md.cp312-win_amd64.pyd +0 -0
  91. package/bin/_internal/click-8.4.2.dist-info/INSTALLER +0 -1
  92. package/bin/_internal/click-8.4.2.dist-info/METADATA +0 -84
  93. package/bin/_internal/click-8.4.2.dist-info/RECORD +0 -40
  94. package/bin/_internal/click-8.4.2.dist-info/WHEEL +0 -4
  95. package/bin/_internal/click-8.4.2.dist-info/licenses/LICENSE.txt +0 -28
  96. package/bin/_internal/cryptography/hazmat/bindings/_rust.pyd +0 -0
  97. package/bin/_internal/cryptography-50.0.0.dist-info/INSTALLER +0 -1
  98. package/bin/_internal/cryptography-50.0.0.dist-info/METADATA +0 -110
  99. package/bin/_internal/cryptography-50.0.0.dist-info/RECORD +0 -199
  100. package/bin/_internal/cryptography-50.0.0.dist-info/WHEEL +0 -4
  101. package/bin/_internal/cryptography-50.0.0.dist-info/licenses/LICENSE +0 -3
  102. package/bin/_internal/cryptography-50.0.0.dist-info/licenses/LICENSE.APACHE +0 -202
  103. package/bin/_internal/cryptography-50.0.0.dist-info/licenses/LICENSE.BSD +0 -27
  104. package/bin/_internal/cryptography-50.0.0.dist-info/sboms/cryptography-rust.cyclonedx.json +0 -1365
  105. package/bin/_internal/cryptography-50.0.0.dist-info/sboms/sbom.json +0 -43
  106. package/bin/_internal/email_validator-2.3.0.dist-info/INSTALLER +0 -1
  107. package/bin/_internal/email_validator-2.3.0.dist-info/METADATA +0 -466
  108. package/bin/_internal/email_validator-2.3.0.dist-info/RECORD +0 -27
  109. package/bin/_internal/email_validator-2.3.0.dist-info/WHEEL +0 -5
  110. package/bin/_internal/email_validator-2.3.0.dist-info/entry_points.txt +0 -2
  111. package/bin/_internal/email_validator-2.3.0.dist-info/licenses/LICENSE +0 -27
  112. package/bin/_internal/email_validator-2.3.0.dist-info/top_level.txt +0 -1
  113. package/bin/_internal/fastmcp-3.4.7.dist-info/INSTALLER +0 -1
  114. package/bin/_internal/fastmcp-3.4.7.dist-info/METADATA +0 -160
  115. package/bin/_internal/fastmcp-3.4.7.dist-info/RECORD +0 -5
  116. package/bin/_internal/fastmcp-3.4.7.dist-info/WHEEL +0 -4
  117. package/bin/_internal/fastmcp-3.4.7.dist-info/licenses/LICENSE +0 -201
  118. package/bin/_internal/frozenlist/_frozenlist.cp312-win_amd64.pyd +0 -0
  119. package/bin/_internal/httpcore2-2.12.0.dist-info/INSTALLER +0 -1
  120. package/bin/_internal/httpcore2-2.12.0.dist-info/METADATA +0 -737
  121. package/bin/_internal/httpcore2-2.12.0.dist-info/RECORD +0 -68
  122. package/bin/_internal/httpcore2-2.12.0.dist-info/WHEEL +0 -4
  123. package/bin/_internal/httpcore2-2.12.0.dist-info/licenses/LICENSE.md +0 -28
  124. package/bin/_internal/httpx2-2.12.0.dist-info/INSTALLER +0 -1
  125. package/bin/_internal/httpx2-2.12.0.dist-info/METADATA +0 -230
  126. package/bin/_internal/httpx2-2.12.0.dist-info/RECORD +0 -68
  127. package/bin/_internal/httpx2-2.12.0.dist-info/WHEEL +0 -4
  128. package/bin/_internal/httpx2-2.12.0.dist-info/entry_points.txt +0 -2
  129. package/bin/_internal/httpx2-2.12.0.dist-info/licenses/LICENSE.md +0 -13
  130. package/bin/_internal/integrations/cli_wrappers/IMPORTANT_USE_CASES.md +0 -33
  131. package/bin/_internal/integrations/github/claude-code-action/CLAUDE.md +0 -136
  132. package/bin/_internal/integrations/github/claude-code-action/CODE_OF_CONDUCT.md +0 -128
  133. package/bin/_internal/integrations/github/claude-code-action/CONTRIBUTING.md +0 -116
  134. package/bin/_internal/integrations/github/claude-code-action/LICENSE +0 -21
  135. package/bin/_internal/integrations/github/claude-code-action/README.md +0 -53
  136. package/bin/_internal/integrations/github/claude-code-action/ROADMAP.md +0 -20
  137. package/bin/_internal/integrations/github/claude-code-action/SECURITY.md +0 -15
  138. package/bin/_internal/integrations/github/claude-code-action/action.yml +0 -294
  139. package/bin/_internal/integrations/github/claude-code-action/base-action/CLAUDE.md +0 -60
  140. package/bin/_internal/integrations/github/claude-code-action/base-action/CODE_OF_CONDUCT.md +0 -128
  141. package/bin/_internal/integrations/github/claude-code-action/base-action/CONTRIBUTING.md +0 -136
  142. package/bin/_internal/integrations/github/claude-code-action/base-action/LICENSE +0 -21
  143. package/bin/_internal/integrations/github/claude-code-action/base-action/MIRROR_DISCLAIMER.md +0 -11
  144. package/bin/_internal/integrations/github/claude-code-action/base-action/README.md +0 -521
  145. package/bin/_internal/integrations/github/claude-code-action/base-action/action.yml +0 -149
  146. package/bin/_internal/integrations/github/claude-code-action/base-action/bun.lock +0 -54
  147. package/bin/_internal/integrations/github/claude-code-action/base-action/examples/issue-triage.yml +0 -108
  148. package/bin/_internal/integrations/github/claude-code-action/base-action/package.json +0 -23
  149. package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/install-hooks.sh +0 -13
  150. package/bin/_internal/integrations/github/claude-code-action/base-action/scripts/pre-push +0 -46
  151. package/bin/_internal/integrations/github/claude-code-action/base-action/src/index.ts +0 -82
  152. package/bin/_internal/integrations/github/claude-code-action/base-action/src/prepare-prompt.ts +0 -82
  153. package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-claude.ts +0 -257
  154. package/bin/_internal/integrations/github/claude-code-action/base-action/src/run-vicoa.ts +0 -301
  155. package/bin/_internal/integrations/github/claude-code-action/base-action/src/setup-claude-code-settings.ts +0 -68
  156. package/bin/_internal/integrations/github/claude-code-action/base-action/src/validate-env.ts +0 -54
  157. package/bin/_internal/integrations/github/claude-code-action/base-action/test-local.sh +0 -12
  158. package/bin/_internal/integrations/github/claude-code-action/base-action/test-mcp-local.sh +0 -18
  159. package/bin/_internal/integrations/github/claude-code-action/base-action/tsconfig.json +0 -30
  160. package/bin/_internal/integrations/github/claude-code-action/bun.lock +0 -384
  161. package/bin/_internal/integrations/github/claude-code-action/docs/capabilities-and-limitations.md +0 -33
  162. package/bin/_internal/integrations/github/claude-code-action/docs/cloud-providers.md +0 -99
  163. package/bin/_internal/integrations/github/claude-code-action/docs/configuration.md +0 -345
  164. package/bin/_internal/integrations/github/claude-code-action/docs/custom-automations.md +0 -113
  165. package/bin/_internal/integrations/github/claude-code-action/docs/experimental.md +0 -128
  166. package/bin/_internal/integrations/github/claude-code-action/docs/faq.md +0 -205
  167. package/bin/_internal/integrations/github/claude-code-action/docs/migration-guide.md +0 -261
  168. package/bin/_internal/integrations/github/claude-code-action/docs/security.md +0 -38
  169. package/bin/_internal/integrations/github/claude-code-action/docs/setup.md +0 -146
  170. package/bin/_internal/integrations/github/claude-code-action/docs/usage.md +0 -213
  171. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/auto-fix-ci.yml +0 -97
  172. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci/commands/fix-ci.md +0 -127
  173. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/auto-fix-ci-signed.yml +0 -97
  174. package/bin/_internal/integrations/github/claude-code-action/examples/auto-fix-ci-signed/commands/fix-ci-signed.md +0 -148
  175. package/bin/_internal/integrations/github/claude-code-action/examples/issue-deduplication.yml +0 -63
  176. package/bin/_internal/integrations/github/claude-code-action/examples/issue-triage.yml +0 -75
  177. package/bin/_internal/integrations/github/claude-code-action/examples/vicoa.yml +0 -75
  178. package/bin/_internal/integrations/github/claude-code-action/package.json +0 -31
  179. package/bin/_internal/integrations/github/claude-code-action/scripts/install-hooks.sh +0 -13
  180. package/bin/_internal/integrations/github/claude-code-action/scripts/pre-commit +0 -46
  181. package/bin/_internal/integrations/github/claude-code-action/scripts/setup-network-restrictions.sh +0 -123
  182. package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/index.ts +0 -799
  183. package/bin/_internal/integrations/github/claude-code-action/src/create-prompt/types.ts +0 -102
  184. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/collect-inputs.ts +0 -58
  185. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/format-turns.ts +0 -465
  186. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/prepare.ts +0 -98
  187. package/bin/_internal/integrations/github/claude-code-action/src/entrypoints/update-comment-link.ts +0 -245
  188. package/bin/_internal/integrations/github/claude-code-action/src/github/api/client.ts +0 -23
  189. package/bin/_internal/integrations/github/claude-code-action/src/github/api/config.ts +0 -4
  190. package/bin/_internal/integrations/github/claude-code-action/src/github/api/queries/github.ts +0 -117
  191. package/bin/_internal/integrations/github/claude-code-action/src/github/context.ts +0 -277
  192. package/bin/_internal/integrations/github/claude-code-action/src/github/data/fetcher.ts +0 -233
  193. package/bin/_internal/integrations/github/claude-code-action/src/github/data/formatter.ts +0 -144
  194. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch-cleanup.ts +0 -132
  195. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/branch.ts +0 -163
  196. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comment-logic.ts +0 -203
  197. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/common.ts +0 -33
  198. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/create-initial.ts +0 -111
  199. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-claude-comment.ts +0 -70
  200. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/comments/update-with-branch.ts +0 -57
  201. package/bin/_internal/integrations/github/claude-code-action/src/github/operations/git-config.ts +0 -62
  202. package/bin/_internal/integrations/github/claude-code-action/src/github/token.ts +0 -108
  203. package/bin/_internal/integrations/github/claude-code-action/src/github/types.ts +0 -98
  204. package/bin/_internal/integrations/github/claude-code-action/src/github/utils/image-downloader.ts +0 -246
  205. package/bin/_internal/integrations/github/claude-code-action/src/github/utils/sanitizer.ts +0 -100
  206. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/actor.ts +0 -64
  207. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/permissions.ts +0 -47
  208. package/bin/_internal/integrations/github/claude-code-action/src/github/validation/trigger.ts +0 -148
  209. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-actions-server.ts +0 -279
  210. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-comment-server.ts +0 -101
  211. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-file-ops-server.ts +0 -677
  212. package/bin/_internal/integrations/github/claude-code-action/src/mcp/github-inline-comment-server.ts +0 -184
  213. package/bin/_internal/integrations/github/claude-code-action/src/mcp/install-mcp-server.ts +0 -201
  214. package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/index.ts +0 -152
  215. package/bin/_internal/integrations/github/claude-code-action/src/modes/agent/parse-tools.ts +0 -22
  216. package/bin/_internal/integrations/github/claude-code-action/src/modes/detector.ts +0 -66
  217. package/bin/_internal/integrations/github/claude-code-action/src/modes/registry.ts +0 -54
  218. package/bin/_internal/integrations/github/claude-code-action/src/modes/tag/index.ts +0 -187
  219. package/bin/_internal/integrations/github/claude-code-action/src/modes/types.ts +0 -100
  220. package/bin/_internal/integrations/github/claude-code-action/src/prepare/index.ts +0 -20
  221. package/bin/_internal/integrations/github/claude-code-action/src/prepare/types.ts +0 -20
  222. package/bin/_internal/integrations/github/claude-code-action/src/utils/retry.ts +0 -40
  223. package/bin/_internal/integrations/github/claude-code-action/tsconfig.json +0 -30
  224. package/bin/_internal/integrations/headless/tests/README.md +0 -58
  225. package/bin/_internal/integrations/n8n/LICENSE +0 -21
  226. package/bin/_internal/integrations/n8n/README.md +0 -298
  227. package/bin/_internal/integrations/n8n/package-lock.json +0 -2989
  228. package/bin/_internal/integrations/n8n/package.json +0 -68
  229. package/bin/_internal/integrations/n8n/src/credentials/OmnaraApi.credentials.ts +0 -52
  230. package/bin/_internal/integrations/n8n/src/nodes/Omnara/Omnara.node.json +0 -35
  231. package/bin/_internal/integrations/n8n/src/nodes/Omnara/Omnara.node.ts +0 -304
  232. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/index.ts +0 -37
  233. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/send.operation.ts +0 -151
  234. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/message/sendAndWait.operation.ts +0 -252
  235. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/session/end.operation.ts +0 -56
  236. package/bin/_internal/integrations/n8n/src/nodes/Omnara/actions/session/index.ts +0 -29
  237. package/bin/_internal/integrations/n8n/src/nodes/Omnara/vicoa.png +0 -0
  238. package/bin/_internal/integrations/n8n/src/utils/GenericFunctions.ts +0 -93
  239. package/bin/_internal/integrations/n8n/src/utils/sendAndWait/configureWaitTillDate.ts +0 -42
  240. package/bin/_internal/integrations/n8n/src/utils/sendAndWait/descriptions.ts +0 -20
  241. package/bin/_internal/integrations/n8n/src/utils/sendAndWaitWebhook.ts +0 -72
  242. package/bin/_internal/integrations/n8n/tsconfig.json +0 -20
  243. package/bin/_internal/jiter/jiter.cp312-win_amd64.pyd +0 -0
  244. package/bin/_internal/jsonschema/benchmarks/issue232/issue.json +0 -2653
  245. package/bin/_internal/jsonschema-4.26.0.dist-info/INSTALLER +0 -1
  246. package/bin/_internal/jsonschema-4.26.0.dist-info/METADATA +0 -170
  247. package/bin/_internal/jsonschema-4.26.0.dist-info/RECORD +0 -82
  248. package/bin/_internal/jsonschema-4.26.0.dist-info/WHEEL +0 -4
  249. package/bin/_internal/jsonschema-4.26.0.dist-info/entry_points.txt +0 -2
  250. package/bin/_internal/jsonschema-4.26.0.dist-info/licenses/COPYING +0 -19
  251. package/bin/_internal/jsonschema_specifications/schemas/draft201909/metaschema.json +0 -42
  252. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/applicator +0 -56
  253. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/content +0 -17
  254. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/core +0 -57
  255. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/format +0 -14
  256. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/meta-data +0 -37
  257. package/bin/_internal/jsonschema_specifications/schemas/draft201909/vocabularies/validation +0 -98
  258. package/bin/_internal/jsonschema_specifications/schemas/draft202012/metaschema.json +0 -58
  259. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/applicator +0 -48
  260. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/content +0 -17
  261. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/core +0 -51
  262. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-annotation +0 -14
  263. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/format-assertion +0 -14
  264. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/meta-data +0 -37
  265. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/unevaluated +0 -15
  266. package/bin/_internal/jsonschema_specifications/schemas/draft202012/vocabularies/validation +0 -98
  267. package/bin/_internal/jsonschema_specifications/schemas/draft3/metaschema.json +0 -172
  268. package/bin/_internal/jsonschema_specifications/schemas/draft4/metaschema.json +0 -149
  269. package/bin/_internal/jsonschema_specifications/schemas/draft6/metaschema.json +0 -153
  270. package/bin/_internal/jsonschema_specifications/schemas/draft7/metaschema.json +0 -166
  271. package/bin/_internal/libcrypto-3.dll +0 -0
  272. package/bin/_internal/libffi-8.dll +0 -0
  273. package/bin/_internal/libssl-3.dll +0 -0
  274. package/bin/_internal/mcp-1.29.0.dist-info/INSTALLER +0 -1
  275. package/bin/_internal/mcp-1.29.0.dist-info/METADATA +0 -239
  276. package/bin/_internal/mcp-1.29.0.dist-info/RECORD +0 -228
  277. package/bin/_internal/mcp-1.29.0.dist-info/WHEEL +0 -4
  278. package/bin/_internal/mcp-1.29.0.dist-info/entry_points.txt +0 -2
  279. package/bin/_internal/mcp-1.29.0.dist-info/licenses/LICENSE +0 -21
  280. package/bin/_internal/multidict/_multidict.cp312-win_amd64.pyd +0 -0
  281. package/bin/_internal/opentelemetry_api-1.44.0.dist-info/INSTALLER +0 -1
  282. package/bin/_internal/opentelemetry_api-1.44.0.dist-info/METADATA +0 -43
  283. package/bin/_internal/opentelemetry_api-1.44.0.dist-info/RECORD +0 -78
  284. package/bin/_internal/opentelemetry_api-1.44.0.dist-info/WHEEL +0 -4
  285. package/bin/_internal/opentelemetry_api-1.44.0.dist-info/entry_points.txt +0 -15
  286. package/bin/_internal/opentelemetry_api-1.44.0.dist-info/licenses/LICENSE +0 -201
  287. package/bin/_internal/propcache/_helpers_c.cp312-win_amd64.pyd +0 -0
  288. package/bin/_internal/pydantic-2.13.4.dist-info/INSTALLER +0 -1
  289. package/bin/_internal/pydantic-2.13.4.dist-info/METADATA +0 -1294
  290. package/bin/_internal/pydantic-2.13.4.dist-info/RECORD +0 -217
  291. package/bin/_internal/pydantic-2.13.4.dist-info/WHEEL +0 -4
  292. package/bin/_internal/pydantic-2.13.4.dist-info/licenses/LICENSE +0 -21
  293. package/bin/_internal/pydantic_core/_pydantic_core.cp312-win_amd64.pyd +0 -0
  294. package/bin/_internal/pyexpat.pyd +0 -0
  295. package/bin/_internal/python3.dll +0 -0
  296. package/bin/_internal/python312.dll +0 -0
  297. package/bin/_internal/pywin32_system32/pythoncom312.dll +0 -0
  298. package/bin/_internal/pywin32_system32/pywintypes312.dll +0 -0
  299. package/bin/_internal/rpds/rpds.cp312-win_amd64.pyd +0 -0
  300. package/bin/_internal/select.pyd +0 -0
  301. package/bin/_internal/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +0 -2
  302. package/bin/_internal/sqlite3.dll +0 -0
  303. package/bin/_internal/ucrtbase.dll +0 -0
  304. package/bin/_internal/unicodedata.pyd +0 -0
  305. package/bin/_internal/vicoa/_bin/README.md +0 -28
  306. package/bin/_internal/vicoa-1.7.12.dist-info/INSTALLER +0 -1
  307. package/bin/_internal/vicoa-1.7.12.dist-info/METADATA +0 -314
  308. package/bin/_internal/vicoa-1.7.12.dist-info/RECORD +0 -11
  309. package/bin/_internal/vicoa-1.7.12.dist-info/REQUESTED +0 -0
  310. package/bin/_internal/vicoa-1.7.12.dist-info/WHEEL +0 -5
  311. package/bin/_internal/vicoa-1.7.12.dist-info/direct_url.json +0 -1
  312. package/bin/_internal/vicoa-1.7.12.dist-info/entry_points.txt +0 -2
  313. package/bin/_internal/vicoa-1.7.12.dist-info/licenses/LICENSE +0 -201
  314. package/bin/_internal/vicoa-1.7.12.dist-info/top_level.txt +0 -4
  315. package/bin/_internal/watchfiles/_rust_notify.cp312-win_amd64.pyd +0 -0
  316. package/bin/_internal/websockets/speedups.cp312-win_amd64.pyd +0 -0
  317. package/bin/_internal/websockets-17.0.1.dist-info/INSTALLER +0 -1
  318. package/bin/_internal/websockets-17.0.1.dist-info/METADATA +0 -170
  319. package/bin/_internal/websockets-17.0.1.dist-info/RECORD +0 -116
  320. package/bin/_internal/websockets-17.0.1.dist-info/WHEEL +0 -5
  321. package/bin/_internal/websockets-17.0.1.dist-info/entry_points.txt +0 -2
  322. package/bin/_internal/websockets-17.0.1.dist-info/licenses/LICENSE +0 -24
  323. package/bin/_internal/websockets-17.0.1.dist-info/top_level.txt +0 -1
  324. package/bin/_internal/win32/_win32sysloader.pyd +0 -0
  325. package/bin/_internal/win32/win32api.pyd +0 -0
  326. package/bin/_internal/win32/win32evtlog.pyd +0 -0
  327. package/bin/_internal/win32/win32job.pyd +0 -0
  328. package/bin/_internal/yaml/_yaml.cp312-win_amd64.pyd +0 -0
  329. package/bin/_internal/yarl/_quoting_c.cp312-win_amd64.pyd +0 -0
  330. package/bin/vicoa.exe +0 -0
@@ -1,153 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-06/schema#",
3
- "$id": "http://json-schema.org/draft-06/schema#",
4
- "title": "Core schema meta-schema",
5
- "definitions": {
6
- "schemaArray": {
7
- "type": "array",
8
- "minItems": 1,
9
- "items": { "$ref": "#" }
10
- },
11
- "nonNegativeInteger": {
12
- "type": "integer",
13
- "minimum": 0
14
- },
15
- "nonNegativeIntegerDefault0": {
16
- "allOf": [
17
- { "$ref": "#/definitions/nonNegativeInteger" },
18
- { "default": 0 }
19
- ]
20
- },
21
- "simpleTypes": {
22
- "enum": [
23
- "array",
24
- "boolean",
25
- "integer",
26
- "null",
27
- "number",
28
- "object",
29
- "string"
30
- ]
31
- },
32
- "stringArray": {
33
- "type": "array",
34
- "items": { "type": "string" },
35
- "uniqueItems": true,
36
- "default": []
37
- }
38
- },
39
- "type": ["object", "boolean"],
40
- "properties": {
41
- "$id": {
42
- "type": "string",
43
- "format": "uri-reference"
44
- },
45
- "$schema": {
46
- "type": "string",
47
- "format": "uri"
48
- },
49
- "$ref": {
50
- "type": "string",
51
- "format": "uri-reference"
52
- },
53
- "title": {
54
- "type": "string"
55
- },
56
- "description": {
57
- "type": "string"
58
- },
59
- "default": {},
60
- "examples": {
61
- "type": "array",
62
- "items": {}
63
- },
64
- "multipleOf": {
65
- "type": "number",
66
- "exclusiveMinimum": 0
67
- },
68
- "maximum": {
69
- "type": "number"
70
- },
71
- "exclusiveMaximum": {
72
- "type": "number"
73
- },
74
- "minimum": {
75
- "type": "number"
76
- },
77
- "exclusiveMinimum": {
78
- "type": "number"
79
- },
80
- "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },
81
- "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
82
- "pattern": {
83
- "type": "string",
84
- "format": "regex"
85
- },
86
- "additionalItems": { "$ref": "#" },
87
- "items": {
88
- "anyOf": [
89
- { "$ref": "#" },
90
- { "$ref": "#/definitions/schemaArray" }
91
- ],
92
- "default": {}
93
- },
94
- "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
95
- "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
96
- "uniqueItems": {
97
- "type": "boolean",
98
- "default": false
99
- },
100
- "contains": { "$ref": "#" },
101
- "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
102
- "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
103
- "required": { "$ref": "#/definitions/stringArray" },
104
- "additionalProperties": { "$ref": "#" },
105
- "definitions": {
106
- "type": "object",
107
- "additionalProperties": { "$ref": "#" },
108
- "default": {}
109
- },
110
- "properties": {
111
- "type": "object",
112
- "additionalProperties": { "$ref": "#" },
113
- "default": {}
114
- },
115
- "patternProperties": {
116
- "type": "object",
117
- "additionalProperties": { "$ref": "#" },
118
- "propertyNames": { "format": "regex" },
119
- "default": {}
120
- },
121
- "dependencies": {
122
- "type": "object",
123
- "additionalProperties": {
124
- "anyOf": [
125
- { "$ref": "#" },
126
- { "$ref": "#/definitions/stringArray" }
127
- ]
128
- }
129
- },
130
- "propertyNames": { "$ref": "#" },
131
- "const": {},
132
- "enum": {
133
- "type": "array"
134
- },
135
- "type": {
136
- "anyOf": [
137
- { "$ref": "#/definitions/simpleTypes" },
138
- {
139
- "type": "array",
140
- "items": { "$ref": "#/definitions/simpleTypes" },
141
- "minItems": 1,
142
- "uniqueItems": true
143
- }
144
- ]
145
- },
146
- "format": { "type": "string" },
147
- "allOf": { "$ref": "#/definitions/schemaArray" },
148
- "anyOf": { "$ref": "#/definitions/schemaArray" },
149
- "oneOf": { "$ref": "#/definitions/schemaArray" },
150
- "not": { "$ref": "#" }
151
- },
152
- "default": {}
153
- }
@@ -1,166 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://json-schema.org/draft-07/schema#",
4
- "title": "Core schema meta-schema",
5
- "definitions": {
6
- "schemaArray": {
7
- "type": "array",
8
- "minItems": 1,
9
- "items": { "$ref": "#" }
10
- },
11
- "nonNegativeInteger": {
12
- "type": "integer",
13
- "minimum": 0
14
- },
15
- "nonNegativeIntegerDefault0": {
16
- "allOf": [
17
- { "$ref": "#/definitions/nonNegativeInteger" },
18
- { "default": 0 }
19
- ]
20
- },
21
- "simpleTypes": {
22
- "enum": [
23
- "array",
24
- "boolean",
25
- "integer",
26
- "null",
27
- "number",
28
- "object",
29
- "string"
30
- ]
31
- },
32
- "stringArray": {
33
- "type": "array",
34
- "items": { "type": "string" },
35
- "uniqueItems": true,
36
- "default": []
37
- }
38
- },
39
- "type": ["object", "boolean"],
40
- "properties": {
41
- "$id": {
42
- "type": "string",
43
- "format": "uri-reference"
44
- },
45
- "$schema": {
46
- "type": "string",
47
- "format": "uri"
48
- },
49
- "$ref": {
50
- "type": "string",
51
- "format": "uri-reference"
52
- },
53
- "$comment": {
54
- "type": "string"
55
- },
56
- "title": {
57
- "type": "string"
58
- },
59
- "description": {
60
- "type": "string"
61
- },
62
- "default": true,
63
- "readOnly": {
64
- "type": "boolean",
65
- "default": false
66
- },
67
- "examples": {
68
- "type": "array",
69
- "items": true
70
- },
71
- "multipleOf": {
72
- "type": "number",
73
- "exclusiveMinimum": 0
74
- },
75
- "maximum": {
76
- "type": "number"
77
- },
78
- "exclusiveMaximum": {
79
- "type": "number"
80
- },
81
- "minimum": {
82
- "type": "number"
83
- },
84
- "exclusiveMinimum": {
85
- "type": "number"
86
- },
87
- "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },
88
- "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
89
- "pattern": {
90
- "type": "string",
91
- "format": "regex"
92
- },
93
- "additionalItems": { "$ref": "#" },
94
- "items": {
95
- "anyOf": [
96
- { "$ref": "#" },
97
- { "$ref": "#/definitions/schemaArray" }
98
- ],
99
- "default": true
100
- },
101
- "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
102
- "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
103
- "uniqueItems": {
104
- "type": "boolean",
105
- "default": false
106
- },
107
- "contains": { "$ref": "#" },
108
- "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
109
- "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
110
- "required": { "$ref": "#/definitions/stringArray" },
111
- "additionalProperties": { "$ref": "#" },
112
- "definitions": {
113
- "type": "object",
114
- "additionalProperties": { "$ref": "#" },
115
- "default": {}
116
- },
117
- "properties": {
118
- "type": "object",
119
- "additionalProperties": { "$ref": "#" },
120
- "default": {}
121
- },
122
- "patternProperties": {
123
- "type": "object",
124
- "additionalProperties": { "$ref": "#" },
125
- "propertyNames": { "format": "regex" },
126
- "default": {}
127
- },
128
- "dependencies": {
129
- "type": "object",
130
- "additionalProperties": {
131
- "anyOf": [
132
- { "$ref": "#" },
133
- { "$ref": "#/definitions/stringArray" }
134
- ]
135
- }
136
- },
137
- "propertyNames": { "$ref": "#" },
138
- "const": true,
139
- "enum": {
140
- "type": "array",
141
- "items": true
142
- },
143
- "type": {
144
- "anyOf": [
145
- { "$ref": "#/definitions/simpleTypes" },
146
- {
147
- "type": "array",
148
- "items": { "$ref": "#/definitions/simpleTypes" },
149
- "minItems": 1,
150
- "uniqueItems": true
151
- }
152
- ]
153
- },
154
- "format": { "type": "string" },
155
- "contentMediaType": { "type": "string" },
156
- "contentEncoding": { "type": "string" },
157
- "if": {"$ref": "#"},
158
- "then": {"$ref": "#"},
159
- "else": {"$ref": "#"},
160
- "allOf": { "$ref": "#/definitions/schemaArray" },
161
- "anyOf": { "$ref": "#/definitions/schemaArray" },
162
- "oneOf": { "$ref": "#/definitions/schemaArray" },
163
- "not": { "$ref": "#" }
164
- },
165
- "default": true
166
- }
Binary file
Binary file
Binary file
@@ -1,239 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mcp
3
- Version: 1.29.0
4
- Summary: Model Context Protocol SDK
5
- Project-URL: Homepage, https://modelcontextprotocol.io
6
- Project-URL: Documentation, https://py.sdk.modelcontextprotocol.io/v1/
7
- Project-URL: Repository, https://github.com/modelcontextprotocol/python-sdk
8
- Project-URL: Issues, https://github.com/modelcontextprotocol/python-sdk/issues
9
- Author: Anthropic, PBC.
10
- Maintainer-email: David Soria Parra <davidsp@anthropic.com>, Justin Spahr-Summers <justin@anthropic.com>
11
- License: MIT
12
- License-File: LICENSE
13
- Keywords: automation,git,llm,mcp
14
- Classifier: Development Status :: 5 - Production/Stable
15
- Classifier: Intended Audience :: Developers
16
- Classifier: License :: OSI Approved :: MIT License
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.10
19
- Classifier: Programming Language :: Python :: 3.11
20
- Classifier: Programming Language :: Python :: 3.12
21
- Classifier: Programming Language :: Python :: 3.13
22
- Classifier: Programming Language :: Python :: 3.14
23
- Requires-Python: >=3.10
24
- Requires-Dist: anyio>=4.5
25
- Requires-Dist: httpx-sse>=0.4
26
- Requires-Dist: httpx<1.0.0,>=0.27.1
27
- Requires-Dist: jsonschema>=4.20.0
28
- Requires-Dist: pydantic-settings>=2.5.2
29
- Requires-Dist: pydantic<3.0.0,>=2.11.0; python_version < '3.14'
30
- Requires-Dist: pydantic<3.0.0,>=2.12.0; python_version >= '3.14'
31
- Requires-Dist: pyjwt[crypto]>=2.10.1
32
- Requires-Dist: python-multipart>=0.0.9
33
- Requires-Dist: pywin32>=310; sys_platform == 'win32' and python_version < '3.14'
34
- Requires-Dist: pywin32>=311; sys_platform == 'win32' and python_version >= '3.14'
35
- Requires-Dist: sse-starlette>=1.6.1
36
- Requires-Dist: starlette>=0.27; python_version < '3.14'
37
- Requires-Dist: starlette>=0.48.0; python_version >= '3.14'
38
- Requires-Dist: typing-extensions>=4.9.0
39
- Requires-Dist: typing-inspection>=0.4.1
40
- Requires-Dist: uvicorn>=0.31.1; sys_platform != 'emscripten'
41
- Provides-Extra: cli
42
- Requires-Dist: python-dotenv>=1.0.0; extra == 'cli'
43
- Requires-Dist: typer>=0.16.0; extra == 'cli'
44
- Provides-Extra: rich
45
- Requires-Dist: rich>=13.9.4; extra == 'rich'
46
- Provides-Extra: ws
47
- Requires-Dist: websockets>=15.0.1; extra == 'ws'
48
- Description-Content-Type: text/markdown
49
-
50
- # MCP Python SDK
51
-
52
- <div align="center">
53
-
54
- <strong>Python implementation of the Model Context Protocol (MCP)</strong>
55
-
56
- [![PyPI][pypi-badge]][pypi-url]
57
- [![MIT licensed][mit-badge]][mit-url]
58
- [![Python Version][python-badge]][python-url]
59
- [![Documentation][docs-badge]][docs-url]
60
- [![Protocol][protocol-badge]][protocol-url]
61
- [![Specification][spec-badge]][spec-url]
62
-
63
- </div>
64
-
65
- > **This documents v1.x, the maintenance line of the MCP Python SDK.** v2 is the current stable release: `pip install mcp` now installs 2.x. See the [v2 documentation](https://py.sdk.modelcontextprotocol.io/) and the [migration guide](https://py.sdk.modelcontextprotocol.io/migration/) for what changed and how to upgrade.
66
- >
67
- > **Staying on v1.x?** Keep a `<2` upper bound on your requirement (for example `mcp>=1.28,<2`) so an unpinned resolve stays on the 1.x line. v1.x remains supported for existing deployments and continues to receive critical bug fixes and security patches; its documentation is at <https://py.sdk.modelcontextprotocol.io/v1/>.
68
-
69
- <!-- omit in toc -->
70
- ## Table of Contents
71
-
72
- - [MCP Python SDK](#mcp-python-sdk)
73
- - [Overview](#overview)
74
- - [Installation](#installation)
75
- - [Quickstart](#quickstart)
76
- - [What is MCP?](#what-is-mcp)
77
- - [Documentation](#documentation)
78
- - [Contributing](#contributing)
79
- - [License](#license)
80
-
81
- [pypi-badge]: https://img.shields.io/pypi/v/mcp.svg
82
- [pypi-url]: https://pypi.org/project/mcp/
83
- [mit-badge]: https://img.shields.io/pypi/l/mcp.svg
84
- [mit-url]: https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE
85
- [python-badge]: https://img.shields.io/pypi/pyversions/mcp.svg
86
- [python-url]: https://www.python.org/downloads/
87
- [docs-badge]: https://img.shields.io/badge/docs-python--sdk-blue.svg
88
- [docs-url]: https://py.sdk.modelcontextprotocol.io/v1/
89
- [protocol-badge]: https://img.shields.io/badge/protocol-modelcontextprotocol.io-blue.svg
90
- [protocol-url]: https://modelcontextprotocol.io
91
- [spec-badge]: https://img.shields.io/badge/spec-spec.modelcontextprotocol.io-blue.svg
92
- [spec-url]: https://modelcontextprotocol.io/specification/latest
93
-
94
- ## Overview
95
-
96
- The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This Python SDK implements the full MCP specification, making it easy to:
97
-
98
- - Build MCP clients that can connect to any MCP server
99
- - Create MCP servers that expose resources, prompts and tools
100
- - Use standard transports like stdio, SSE, and Streamable HTTP
101
- - Handle all MCP protocol messages and lifecycle events
102
-
103
- ## Installation
104
-
105
- ### Adding MCP to your python project
106
-
107
- We recommend using [uv](https://docs.astral.sh/uv/) to manage your Python projects.
108
-
109
- If you haven't created a uv-managed project yet, create one:
110
-
111
- ```bash
112
- uv init mcp-server-demo
113
- cd mcp-server-demo
114
- ```
115
-
116
- Then add MCP to your project dependencies:
117
-
118
- ```bash
119
- uv add "mcp[cli]<2"
120
- ```
121
-
122
- Alternatively, for projects using pip for dependencies:
123
-
124
- ```bash
125
- pip install "mcp[cli]<2"
126
- ```
127
-
128
- ### Running the standalone MCP development tools
129
-
130
- To run the mcp command with uv:
131
-
132
- ```bash
133
- uv run mcp
134
- ```
135
-
136
- ## Quickstart
137
-
138
- Let's create a simple MCP server that exposes a calculator tool and some data:
139
-
140
- <!-- snippet-source examples/snippets/servers/fastmcp_quickstart.py -->
141
- ```python
142
- """
143
- FastMCP quickstart example.
144
-
145
- Run from the repository root:
146
- uv run examples/snippets/servers/fastmcp_quickstart.py
147
- """
148
-
149
- from mcp.server.fastmcp import FastMCP
150
-
151
- # Create an MCP server
152
- mcp = FastMCP("Demo", json_response=True)
153
-
154
-
155
- # Add an addition tool
156
- @mcp.tool()
157
- def add(a: int, b: int) -> int:
158
- """Add two numbers"""
159
- return a + b
160
-
161
-
162
- # Add a dynamic greeting resource
163
- @mcp.resource("greeting://{name}")
164
- def get_greeting(name: str) -> str:
165
- """Get a personalized greeting"""
166
- return f"Hello, {name}!"
167
-
168
-
169
- # Add a prompt
170
- @mcp.prompt()
171
- def greet_user(name: str, style: str = "friendly") -> str:
172
- """Generate a greeting prompt"""
173
- styles = {
174
- "friendly": "Please write a warm, friendly greeting",
175
- "formal": "Please write a formal, professional greeting",
176
- "casual": "Please write a casual, relaxed greeting",
177
- }
178
-
179
- return f"{styles.get(style, styles['friendly'])} for someone named {name}."
180
-
181
-
182
- # Run with streamable HTTP transport
183
- if __name__ == "__main__":
184
- mcp.run(transport="streamable-http")
185
- ```
186
-
187
- _Full example: [examples/snippets/servers/fastmcp_quickstart.py](https://github.com/modelcontextprotocol/python-sdk/blob/v1.x/examples/snippets/servers/fastmcp_quickstart.py)_
188
- <!-- /snippet-source -->
189
-
190
- You can install this server in [Claude Code](https://docs.claude.com/en/docs/claude-code/mcp) and interact with it right away. First, run the server:
191
-
192
- ```bash
193
- uv run --with "mcp<2" examples/snippets/servers/fastmcp_quickstart.py
194
- ```
195
-
196
- Then add it to Claude Code:
197
-
198
- ```bash
199
- claude mcp add --transport http my-server http://localhost:8000/mcp
200
- ```
201
-
202
- Alternatively, you can test it with the MCP Inspector. Start the server as above, then in a separate terminal:
203
-
204
- ```bash
205
- npx -y @modelcontextprotocol/inspector
206
- ```
207
-
208
- In the inspector UI, connect to `http://localhost:8000/mcp`.
209
-
210
- ## What is MCP?
211
-
212
- The [Model Context Protocol (MCP)](https://modelcontextprotocol.io) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. Think of it like a web API, but specifically designed for LLM interactions. MCP servers can:
213
-
214
- - Expose data through **Resources** (think of these sort of like GET endpoints; they are used to load information into the LLM's context)
215
- - Provide functionality through **Tools** (sort of like POST endpoints; they are used to execute code or otherwise produce a side effect)
216
- - Define interaction patterns through **Prompts** (reusable templates for LLM interactions)
217
- - And more!
218
-
219
- ## Documentation
220
-
221
- - [Building Servers](docs/server.md) -- tools, resources, prompts, logging, completions, sampling, elicitation, transports, ASGI mounting
222
- - [Writing Clients](docs/client.md) -- connecting to servers, using tools/resources/prompts, display utilities
223
- - [Authorization](docs/authorization.md) -- OAuth 2.1, token verification, client authentication
224
- - [Low-Level Server](docs/low-level-server.md) -- direct handler registration for advanced use cases
225
- - [Protocol Features](docs/protocol.md) -- MCP primitives, server capabilities
226
- - [Testing](docs/testing.md) -- in-memory transport testing with pytest
227
- - [API Reference](https://py.sdk.modelcontextprotocol.io/v1/api/)
228
- - [Experimental Features (Tasks)](https://py.sdk.modelcontextprotocol.io/v1/experimental/tasks/)
229
- - [Model Context Protocol documentation](https://modelcontextprotocol.io)
230
- - [Model Context Protocol specification](https://modelcontextprotocol.io/specification/latest)
231
- - [Officially supported servers](https://github.com/modelcontextprotocol/servers)
232
-
233
- ## Contributing
234
-
235
- We are passionate about supporting contributors of all levels of experience and would love to see you get involved in the project. See the [contributing guide](CONTRIBUTING.md) to get started.
236
-
237
- ## License
238
-
239
- This project is licensed under the MIT License - see the LICENSE file for details.