Azure DevOps PR comment MCP
Project description
AdoReviewLens
Utilities for fetching active Azure DevOps PR comments via MCP interface.
Requirements
- Python 3.10+
- Azure DevOps Personal Access Token with Code (read) and Pull Requests (read)
Setup
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
cp .env.example .env
# edit .env with your AZDO_ORG_URL, AZDO_PAT, AZDO_PROJECT, AZDO_REPO
Running python -m ado_review_lens.cli --help will confirm the CLI is available.
CLI usage
source .venv/bin/activate
python -m ado_review_lens.cli --pr 123
python -m ado_review_lens.cli --url "https://dev.azure.com/org/project/_git/repo/pullrequest/123"
python -m ado_review_lens.cli --pr 123 --allow-cross-project
HTTP API server
source .venv/bin/activate
uvicorn ado_review_lens.api:app --reload
# POST /api/v1/pr/comments with JSON {"prId": 123}
MCP server
source .venv/bin/activate
python -m ado_review_lens.server
Use the resulting stdio endpoint with the Model Context Protocol client of your choice (e.g., Claude Desktop or MCP Inspector).
Installing via mcp
If you use the official MCP tooling (requires uv):
uv tool install mcp
# From the project root
uv run mcp install src/ado_review_lens/server.py
# Or run in dev/inspect mode
uv run mcp dev src/ado_review_lens/server.py
This registers the server with Claude Desktop or launches the MCP Inspector for interactive testing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ado_review_lens-0.1.0.tar.gz.
File metadata
- Download URL: ado_review_lens-0.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62c4d7a361182dff56312c815204bbab7ec9c8f5c9d374cef220a91801e7c71d
|
|
| MD5 |
5907c229551b4f5540d2954f7a83efdd
|
|
| BLAKE2b-256 |
5bec7e62ab0879277d0bfa32e32894655ce594166471f0fce737a2ed72afe687
|
File details
Details for the file ado_review_lens-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ado_review_lens-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51d9cf956277bf5946fe3eba442cba82031d3ac1044a2dd43b333bf6eb732f6b
|
|
| MD5 |
162f7a3fbd8c5b3682dc90816111c103
|
|
| BLAKE2b-256 |
176f05fcf335e1f2e5c1200584230783ede8b8b3a21eeba129228e56bac46b4c
|