Skip to content

Instantly share code, notes, and snippets.

View SaravananRajaraman's full-sized avatar
💭
I may be slow to respond.

Saravanan Rajaraman SaravananRajaraman

💭
I may be slow to respond.
  • Standard Chartered GBS
  • Chennai
  • 08:00 (UTC +05:30)
View GitHub Profile

Absolutely! Below is a complete, detailed README.md you can drop at the root of your project. It includes:

  • 📘 Project overview & goals
  • 🗂️ File/folder structure
  • 🛠️ Tools implemented
  • ⚙️ Setup instructions for Copilot Agent Mode
  • ✅ Usage examples
  • 📚 References

📄 README.md (Place this in your root project folder)

can you make it clear about it .js file in tools/

Absolutely! Let’s clarify the structure and responsibility of each .js file inside the src/tools/ folder in the context of your Azure DevOps MCP Server.## ✅ Overview of src/tools/ FolderEach .js file in src/tools/ implements a single MCP tool, such as retrieving a work item, queuing a build, or listing build definitions. These files all follow a similar pattern:- Define a unique tool name- Specify its input schema using zod (for validation)- Provide a description- Implement the handler() function that uses the Azure DevOps API to get the work done Each tool module exports a function like this:jsexport default function register(server) { server.registerTool({ name: 'tool_name', description: 'Tool description here...', inputSchema: z.object({ // Input parameters here... }), handler: async (args) => { // Logic using Azure DevOps API } });}## 📁 File-by-File Breakdown### 📄 getWorkItem.js

I want to build an MCP server using Node.js that can access my Azure DevOps boards and pipelines. The goal is to integrate it with GitHub Copilot chat (Agent Mode) so that when I prompt something like “Get details of a work item,” Copilot will automatically fetch and respond with the relevant work item details.

Building an MCP Server for Azure DevOps Integration with GitHub Copilot

Overview

Building an MCP (Model Context Protocol) server for Azure DevOps integration with GitHub Copilot Agent Mode enables seamless interaction with your Azure DevOps boards and pipelines directly through natural language prompts. This integration allows Copilot to automatically fetch work item details, create new work items, manage build pipelines, and more, all through conversational commands.

Prerequisites and Setup

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SaravananRajaraman
SaravananRajaraman / git-commit-log-stats.md
Created July 5, 2018 13:43 — forked from eyecatchup/git-commit-log-stats.md
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@SaravananRajaraman
SaravananRajaraman / build.gradle
Last active June 11, 2018 05:05 — forked from albinmathew/build.gradle
An example configuration for proguard-rules.pro
android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
defaultConfig {
applicationId "com.abc.example"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
@SaravananRajaraman
SaravananRajaraman / controllers.application.js
Last active January 4, 2018 11:16
ember initiaizers vs service
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
welcome: Ember.inject.service('welcome-service'),
init(){
console.log(this.get('welcome').name, this.get('foo').name);
}
});
@SaravananRajaraman
SaravananRajaraman / README.md
Last active September 20, 2018 12:54 — forked from stuart11n/gist:9628955
Git

Git tips

Git Basics

First things first, Try this git basics challenges @ try.github.io

--

One time setup of the Username and Email ID

@SaravananRajaraman
SaravananRajaraman / variable_naming_conventions.md
Created November 29, 2017 10:36
variable naming conventions

There are three different way the variable naming convention we follow.

  • Camel case

Camel case: numberOfPeople

A series of words, with each intermeidiate word started with a capital letter. Called "Camel Case" because the capital letters make it look like the humps of a camel.

  • Kebab case
@SaravananRajaraman
SaravananRajaraman / Developer reading list.md
Last active September 20, 2018 12:55
Developer reading list
  • Screen a capture and convert to gif on windows using Licecap
  • Prevent the unnecessary git commit using commit lint