az-devops-cli-mcp 1.0.2__tar.gz → 1.0.3__tar.gz

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 (23) hide show
  1. {az_devops_cli_mcp-1.0.2/az_devops_cli_mcp.egg-info → az_devops_cli_mcp-1.0.3}/PKG-INFO +1 -1
  2. az_devops_cli_mcp-1.0.3/az_devops_cli_mcp/__init__.py +31 -0
  3. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3/az_devops_cli_mcp.egg-info}/PKG-INFO +1 -1
  4. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/pyproject.toml +1 -1
  5. az_devops_cli_mcp-1.0.2/az_devops_cli_mcp/__init__.py +0 -54
  6. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/CHANGELOG.md +0 -0
  7. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/LICENSE +0 -0
  8. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/MANIFEST.in +0 -0
  9. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/README.md +0 -0
  10. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/__main__.py +0 -0
  11. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/config.py +0 -0
  12. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/core.py +0 -0
  13. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/server.py +0 -0
  14. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/tools/__init__.py +0 -0
  15. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/tools/repos.py +0 -0
  16. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp/tools/work_items.py +0 -0
  17. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp.egg-info/SOURCES.txt +0 -0
  18. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp.egg-info/dependency_links.txt +0 -0
  19. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp.egg-info/entry_points.txt +0 -0
  20. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp.egg-info/requires.txt +0 -0
  21. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/az_devops_cli_mcp.egg-info/top_level.txt +0 -0
  22. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/setup.cfg +0 -0
  23. {az_devops_cli_mcp-1.0.2 → az_devops_cli_mcp-1.0.3}/tests/test_core.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: az-devops-cli-mcp
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Azure DevOps CLI MCP server for Claude Code and Codex CLI — boards, work items, repos, PRs
5
5
  Author: LytStore Team
6
6
  License: MIT
@@ -0,0 +1,31 @@
1
+ """
2
+ az-devops-cli-mcp
3
+ ===============
4
+ Azure DevOps CLI MCP server — boards, work items, repos, PRs.
5
+
6
+ Usage in your agent (AG2/AutoGen):
7
+ from az_devops_cli_mcp import ALL_TOOLS, WORK_ITEM_TOOLS, REPO_TOOLS
8
+ """
9
+
10
+ # AG2 tool lists are loaded lazily so MCP server startup isn't slowed
11
+ # by importing the tools submodules (autogen try/except, function defs).
12
+ def __getattr__(name: str):
13
+ if name in ("ALL_TOOLS", "WORK_ITEM_TOOLS", "REPO_TOOLS"):
14
+ from az_devops_cli_mcp.tools.work_items import (
15
+ create_work_item, get_work_item, update_work_item, set_iteration,
16
+ query_work_items, link_work_items, get_work_item_relations, add_comment,
17
+ )
18
+ from az_devops_cli_mcp.tools.repos import (
19
+ list_prs, get_pr, create_pr, link_pr_to_work_item, list_branches,
20
+ )
21
+ global WORK_ITEM_TOOLS, REPO_TOOLS, ALL_TOOLS
22
+ WORK_ITEM_TOOLS = [
23
+ create_work_item, get_work_item, update_work_item, set_iteration,
24
+ query_work_items, link_work_items, get_work_item_relations, add_comment,
25
+ ]
26
+ REPO_TOOLS = [list_prs, get_pr, create_pr, link_pr_to_work_item, list_branches]
27
+ ALL_TOOLS = WORK_ITEM_TOOLS + REPO_TOOLS
28
+ return globals()[name]
29
+ raise AttributeError(f"module 'az_devops_cli_mcp' has no attribute {name!r}")
30
+
31
+ __all__ = ["ALL_TOOLS", "WORK_ITEM_TOOLS", "REPO_TOOLS"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: az-devops-cli-mcp
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Azure DevOps CLI MCP server for Claude Code and Codex CLI — boards, work items, repos, PRs
5
5
  Author: LytStore Team
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "az-devops-cli-mcp"
7
- version = "1.0.2"
7
+ version = "1.0.3"
8
8
  description = "Azure DevOps CLI MCP server for Claude Code and Codex CLI — boards, work items, repos, PRs"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -1,54 +0,0 @@
1
- """
2
- az-devops-cli-mcp
3
- ===============
4
- Azure DevOps CLI MCP server — boards, work items, repos, PRs.
5
-
6
- Usage in your agent:
7
- from az_devops_cli_mcp import ALL_TOOLS, WORK_ITEM_TOOLS, REPO_TOOLS
8
- """
9
-
10
- from az_devops_cli_mcp.tools.work_items import (
11
- create_work_item,
12
- get_work_item,
13
- update_work_item,
14
- set_iteration,
15
- query_work_items,
16
- link_work_items,
17
- get_work_item_relations,
18
- add_comment,
19
- )
20
-
21
- from az_devops_cli_mcp.tools.repos import (
22
- list_prs,
23
- get_pr,
24
- create_pr,
25
- link_pr_to_work_item,
26
- list_branches,
27
- )
28
-
29
- WORK_ITEM_TOOLS = [
30
- create_work_item,
31
- get_work_item,
32
- update_work_item,
33
- set_iteration,
34
- query_work_items,
35
- link_work_items,
36
- get_work_item_relations,
37
- add_comment,
38
- ]
39
-
40
- REPO_TOOLS = [
41
- list_prs,
42
- get_pr,
43
- create_pr,
44
- link_pr_to_work_item,
45
- list_branches,
46
- ]
47
-
48
- ALL_TOOLS = WORK_ITEM_TOOLS + REPO_TOOLS
49
-
50
- __all__ = [
51
- "ALL_TOOLS",
52
- "WORK_ITEM_TOOLS",
53
- "REPO_TOOLS",
54
- ]