Skip to content

Implement Pull Request Handling #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dev = [
"ruff>=0.0.267",
"anyio>=3.6.2",
"pyright>=1.1.350",
"trio>=0.22.0",
]

[tool.setuptools]
Expand Down
7 changes: 5 additions & 2 deletions src/mcp_azure_devops/features/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Azure DevOps MCP features package
from mcp_azure_devops.features import projects, teams, work_items

from mcp_azure_devops.features import work_items
from mcp_azure_devops.features import projects
from mcp_azure_devops.features import teams
from mcp_azure_devops.features import pull_requests

def register_all(mcp):
"""
Expand All @@ -12,3 +14,4 @@ def register_all(mcp):
work_items.register(mcp)
projects.register(mcp)
teams.register(mcp)
pull_requests.register(mcp)
11 changes: 11 additions & 0 deletions src/mcp_azure_devops/features/pull_requests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Pull Requests feature package for Azure DevOps MCP
from mcp_azure_devops.features.pull_requests import tools

def register(mcp):
"""
Register all pull requests components with the MCP server.

Args:
mcp: The FastMCP server instance
"""
tools.register_tools(mcp)
Loading