Skip to content

Commit f264ee1

Browse files
estebangarciaCopilotBartoszBlizniak
authored
feat: MCP Server (#244)
* 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 --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: BB <55028730+BartoszBlizniak@users.noreply.github.com> Co-authored-by: Bartosz Blizniak <bblizniak@cloudsmith.io>
1 parent 5d85043 commit f264ee1

17 files changed

Lines changed: 1745 additions & 30 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.10.3
2+
current_version = 1.11.0
33
commit = True
44
tag = True
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<revision>\d+)

.circleci/config.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ orbs:
8383
executors:
8484
cloudsmith_executor:
8585
docker:
86-
- image: circleci/python:3.9
86+
- image: circleci/python:3.10
8787

8888

8989
workflows:
@@ -115,11 +115,6 @@ workflows:
115115
service_name: pytest
116116
command: pytest --junitxml ./reports/pytest.xml
117117
is_test_suite: true
118-
- python/test:
119-
name: pytest-python3.10
120-
version: "3.10"
121-
pkg-manager: pip
122-
pip-dependency-file: requirements.txt
123118
- python/test:
124119
name: pytest-python3.11
125120
version: "3.11"

.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

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [1.11.0] - 2026-01-09
11+
12+
### Added
13+
14+
- Added Model Context Protocol (MCP) server support via `cloudsmith mcp` commands. Only STDIO transport is supported for now.
15+
- Auto-configure supported clients (Claude Desktop, Cursor, VS Code, Gemini CLI) with `cloudsmith mcp configure`
16+
- List available tools with `cloudsmith mcp list_tools` and tool groups with `cloudsmith mcp list_groups`
17+
- Filter tools via `mcp_allowed_tools` and `mcp_allowed_tool_groups` configuration options to control which API operations are exposed
18+
19+
1020
## [1.10.3] - 2026-01-08
1121

1222
### Deprecation Notice

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)