
MCP-Server-Ado
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
Azure DevOps Work Items MCP Server
A Model Context Protocol (MCP) server that integrates with Azure DevOps. This tool enables AI assistants to interact with Azure DevOps work items and create pull requests, providing a bridge between your AI workflows and Azure DevOps project management.
Features
- Work Item Retrieval: Fetch detailed information about Azure DevOps work items by ID
- Work Item Processing: Convert work item descriptions into actionable tasks for AI assistants
- Pull Request Creation: Create pull requests directly from the MCP server
- Environment-Based Configuration: Easy setup using environment variables
Prerequisites
- Node.js (v16 or later)
- npm or yarn
- Azure DevOps organization and project
- Personal Access Token (PAT) with appropriate permissions
Setup
1. Clone the repository
git clone <repository-url>
cd mcp-server-ado
2. Install dependencies
npm install
3. Configure Environment Variables
Create a .env
file in the root directory with the following variables:
AZURE_DEVOPS_ORG=your-organization
AZURE_DEVOPS_PAT=your-personal-access-token
AZURE_DEVOPS_PROJECT=your-project-name
AZURE_DEVOPS_REPO=your-repository-name
AZURE_DEVOPS_AREA_PATH=optional-area-path
4. Build the project
npm run build
5. Run the server
npm start
Development
Project Structure
-
src/index.ts
: Main entry point and MCP server configuration -
src/utils.ts
: Utility functions for Azure DevOps integration -
build/
: Compiled JavaScript files -
.env
: Environment configuration (create this file yourself)
Available Scripts
-
npm run build
: Compiles TypeScript files to JavaScript -
npm start
: Runs the compiled application -
npm test
: Runs tests (currently not implemented)
Adding New Tools
To add a new tool to the MCP server, follow this pattern in src/index.ts
:
server.tool("tool-name",
"Tool description",
{
param1: z.string().describe("Parameter description"),
// Add more parameters as needed
},
async (args, extra) => {
// Implement tool functionality
return {
content: [
{
type: "text",
text: "Response text",
}
]
};
}
);
API Reference
code-work-item
Retrieves an Azure DevOps work item by ID and formats it for AI processing.
Parameters:
-
workItemId
: The numeric ID of the work item to retrieve
create-pull-request
Creates a pull request in your Azure DevOps repository.
Parameters:
-
title
: Title for the pull request -
description
(optional): Description for the pull request -
sourceBranch
: Source branch name -
targetBranch
(optional): Target branch name (defaults to "main")
Troubleshooting
- Authentication Issues: Ensure your PAT has the correct permissions
- Missing Environment Variables: Check that all required environment variables are set
- API Errors: Review the console error output for specific API error messages
License
ISC
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
相关推荐
🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.
PDF wissenschaftliche Papierübersetzung mit erhaltenen Formaten - 基于 ai 完整保留排版的 pdf 文档全文双语翻译 , 支持 支持 支持 支持 google/deeptl/ollama/openai 等服务 提供 cli/gui/mcp/docker/zotero
Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack
Reviews

user_JjWWZZMp
As a dedicated user of mcp-server-ado, I can confidently say that this product by fatmali is a game-changer. It simplifies server management with its intuitive interface and robust functionality. The setup process is straightforward, and the performance has been consistently reliable. Whether you're a seasoned developer or new to server administration, mcp-server-ado is a must-have tool. Highly recommended!

user_UpuNF7o8
I've been using mcp-server-ado by fatmali and it has significantly simplified managing my servers. The seamless integration and user-friendly interface are top-notch. Highly recommend it!

user_9OIgkFkI
As a dedicated user of mcp-server-ado, I must say it has significantly improved my development workflow. The product, developed by fatmali, offers robust features and seamless integration that cater to all my server management needs. I highly recommend it to anyone looking for efficiency and reliability.

user_1tgU9ycb
I have been using the mcp-server-ado developed by fatmali and it's simply outstanding. The user-friendly interface makes it easy to manage and the performance is top-notch. Highly recommended for anyone in need of a reliable server solution.

user_3pCbWfWK
As a dedicated user of mcp-server-ado, I am thoroughly impressed by its performance and reliability. Fatmali has done an exceptional job in creating a robust server application that meets all my database needs. The user-friendly interface and excellent support make it a top choice for any developer. Highly recommended!