py-azure-devops-mcp
MCP Server implementation for Azure DevOps, enabling AI agents to manage work items.
Installation
pip install py-azure-devops-mcp
Configuration
The server requires the following required environment variables:
AZURE_DEVOPS_MCP_TENANT_ID="your-tenant-id"
AZURE_DEVOPS_MCP_PROJECT_NAME="your-project-name"
AZURE_DEVOPS_MCP_PAT="your-pat"
If your Azure DevOps organization has work item with custom fields, the following environment variable is also needed:
AZURE_DEVOPS_MCP_CUSTOM_PROPS="{'custom_field_one': 'Custom.AliasFieldOne'}"
Usage with AI Agents
You can run the server using the python module:
python -m py_azure_devops_mcp.server
OpenCode Configuration (opencode.jsonc)
Add this to your configuration:
{
"mcp": {
"py-azure-devops-mcp": {
"type": "local",
"command": [
"python",
"-m",
"py_azure_devops_mcp.server"
],
"environment": {
"AZURE_DEVOPS_MCP_TENANT_ID": "your-tenant-id",
"AZURE_DEVOPS_MCP_PROJECT_NAME": "your-project-name",
"AZURE_DEVOPS_MCP_PAT": "your-personal-access-token",
"AZURE_DEVOPS_MCP_CUSTOM_PROPS": "{'custom_field_one': 'Custom.AliasFieldOne'}"
}
}
}
}
Claude Code Configuration
Add this to your configuration:
{
"mcpServers": {
"py-azure-devops-mcp": {
"command": "python",
"args": ["-m", "py_azure_devops_mcp.server"],
"env": {
"AZURE_DEVOPS_MCP_TENANT_ID": "your-tenant-id",
"AZURE_DEVOPS_MCP_PROJECT_NAME": "your-project-name",
"AZURE_DEVOPS_MCP_PAT": "your-personal-access-token",
"AZURE_DEVOPS_MCP_CUSTOM_PROPS": "{'custom_field_one': 'Custom.AliasFieldOne'}"
}
}
}
}
Architecture
This server acts as a wrapper around py-azure-devops-sdk, exposing its functionality as MCP tools.
Metadata
Release files for py-azure-devops-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_azure_devops_mcp-0.1.1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_azure_devops_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / py_azure_devops_mcp-0.1.1.tar.gz
| Download URL | py_azure_devops_mcp-0.1.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39199451552e290a586c89811e1f0b034ae14eac5569f5df6443ee75391295be
|
|
BLAKE2b-256 checksum How to use checksums |
247023462083b408843c0cc1a08054519bff09d5702c6bc84e55f9f19358c93b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / py_azure_devops_mcp-0.1.1-py3-none-any.whl
| Download URL | py_azure_devops_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddedd1e7296c2996ef3f79974c70cc2b1ccf7542f60f97a4ab74c70f7316ef20
|
|
BLAKE2b-256 checksum How to use checksums |
866c79465fd2623798cd87dcfad5c97110648c4516ef276aba8886970ebb40a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|