Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level (debug, info, warn, error) | info |
| AZURE_DEVOPS_ORG | No | Azure DevOps organization name | Extracted from URL |
| AZURE_DEVOPS_PAT | No | Personal Access Token (for PAT auth) | |
| AZURE_AD_CLIENT_ID | No | Azure AD application ID (for AAD auth) | |
| AZURE_AD_TENANT_ID | No | Azure AD tenant ID (for AAD auth) | |
| AZURE_DEVOPS_ORG_URL | No | Full URL to your Azure DevOps organization | |
| AZURE_AD_CLIENT_SECRET | No | Azure AD client secret (for AAD auth) | |
| AZURE_DEVOPS_API_VERSION | No | API version to use | Latest |
| AZURE_DEVOPS_AUTH_METHOD | No | Authentication method (`pat`, `azure-identity`, or `azure-cli`) - case-insensitive | azure-identity |
| AZURE_DEVOPS_DEFAULT_PROJECT | No | Default project if none specified |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_me | Get details of the authenticated user (id, displayName, email) |
| list_organizations | List all Azure DevOps organizations accessible to the current authentication |
| list_projects | List all projects in an organization |
| get_project | Get details of a specific project |
| get_project_details | Get comprehensive details of a project including process, work item types, and teams |
| get_repository | Get details of a specific repository |
| get_repository_details | Get detailed information about a repository including statistics and refs |
| list_repositories | List repositories in a project |
| get_file_content | Get content of a file or directory from a repository |
| get_all_repositories_tree | Displays a hierarchical tree view of files and directories across multiple Azure DevOps repositories within a project, based on their default branches |
| get_repository_tree | Displays a hierarchical tree view of files and directories within a single repository starting from an optional path |
| create_branch | Create a new branch from an existing one |
| create_commit | Create a commit on an existing branch using file changes.
🎯 RECOMMENDED: Use the SEARCH/REPLACE format (much easier, no line counting!). Option 1: SEARCH/REPLACE format (EASIEST) Simply provide the exact text to find and replace: {
"changes": [{
"path": "src/api/services/function-call.ts",
"search": "return axios.post(apiUrl, payload, requestConfig);",
"replace": "return axios.post(apiUrl, payload, requestConfig).then(r => { processResponse(r); return r; });"
}]
} The server fetches the file, performs the replacement, and generates the diff automatically. No line counting, no hunk headers, no context lines needed! Option 2: UNIFIED DIFF format (Advanced) If you prefer full control, provide complete unified diffs:
Example unified diff: {
"changes": [{
"patch": "diff --git a/file.yaml b/file.yaml\n--- a/file.yaml\n+++ b/file.yaml\n@@ -4,7 +4,7 @@ spec:\n spec:\n type: ClusterIP\n ports:\n- - port: 8080\n+ - port: 9090\n targetPort: http\n"
}]
} |
| list_commits | List recent commits on a branch including file-level diff content for each commit |
| list_work_items | List work items in a project |
| get_work_item | Get details of a specific work item |
| create_work_item | Create a new work item |
| update_work_item | Update an existing work item |
| manage_work_item_link | Add or remove links between work items |
| search_code | Search for code across repositories in a project |
| search_wiki | Search for content across wiki pages in a project |
| search_work_items | Search for work items across projects in Azure DevOps |
| create_pull_request | Create a new pull request, including reviewers, linked work items, and optional tags |
| list_pull_requests | List pull requests in a repository |
| get_pull_request_comments | Get comments from a specific pull request |
| add_pull_request_comment | Add a comment to a pull request (reply to existing comments or create new threads) |
| update_pull_request | Update an existing pull request with new properties, manage reviewers and work items, and add or remove tags |
| get_pull_request_changes | Get the files changed in a pull request, their unified diffs, source/target branch names, and the status of policy evaluations |
| get_pull_request_checks | Summarize the latest status checks and policy evaluations for a pull request.
|
| list_pipelines | List pipelines in a project |
| get_pipeline | Get details of a specific pipeline |
| list_pipeline_runs | List recent runs for a pipeline |
| get_pipeline_run | Get details for a specific pipeline run |
| download_pipeline_artifact | Download a file from a pipeline run artifact and return its textual content |
| pipeline_timeline | Retrieve the timeline of stages and jobs for a pipeline run, to reduce the amount of data returned, you can filter by state and result |
| get_pipeline_log | Retrieve a specific pipeline log using the timeline log identifier |
| trigger_pipeline | Trigger a pipeline run |
| get_wikis | Get details of wikis in a project |
| get_wiki_page | Get the content of a wiki page |
| create_wiki | Create a new wiki in the project |
| update_wiki_page | Update content of a wiki page |
| list_wiki_pages | List pages within an Azure DevOps wiki |
| create_wiki_page | Create a new page in a wiki. If the page already exists at the specified path, it will be updated. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |