Skip to content

Commit 224d421

Browse files
BartoszBlizniakestebangarciaCopilot
authored
feat(ENG-9528): MCP Server (#255)
* feat(eng-9528): MCP Server * fix: group filtering and use TOON * fix: implement simplified api requests * fix: support CLI profiles * chore: lint * fix: bump python version to 3.10 * chore: dependency hell * chore: dependency hell * fix: bug with filtering * fix: linting * Update cloudsmith_cli/core/mcp/server.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: cleanup * Update cloudsmith_cli/core/mcp/server.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: set read-only and destructive hints * fix: use urllib.parse.parse_qs * fix: some PR comments feedback * Add JSON format as output for MCP commands * fix: deps * chore: changelog * fix: add some tests * Bump version: 1.10.3 → 1.11.0 * update dependencies in requirements.txt * copiplot review changes * more copilot changes * chore: remove changelog --------- Co-authored-by: Esteban Garcia <egarcia@cloudsmith.io> Co-authored-by: Esteban Garcia <estu91@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8ed8da0 commit 224d421

File tree

13 files changed

+1808
-61
lines changed

13 files changed

+1808
-61
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[flake8]
22
exclude = .svn,CVS,.bzr,.hg,.git,__pycache,.venv,migrations,settings,tests,.tox,build
3-
max-complexity = 20
3+
max-complexity = 22
44
max-line-length = 100
55
select = C,E,F,W,B,B950
66
ignore = E203,E501,D107,D102,W503

.pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ ignored-parents=
284284
max-args=13
285285

286286
# Maximum number of attributes for a class (see R0902).
287-
max-attributes=7
287+
max-attributes=10
288288

289289
# Maximum number of boolean expressions in an if statement (see R0916).
290290
max-bool-expr=5
@@ -299,7 +299,7 @@ max-locals=15
299299
max-parents=7
300300

301301
# Maximum number of public methods for a class (see R0904).
302-
max-public-methods=20
302+
max-public-methods=22
303303

304304
# Maximum number of return / yield for function / method body.
305305
max-returns=6

cloudsmith_cli/cli/commands/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
help_,
1313
list_,
1414
login,
15+
mcp,
1516
metrics,
1617
move,
1718
policy,

0 commit comments

Comments
 (0)