API Integration
Integrate this MCP server into your applications.
Get your API Key
You'll need to login and generate a Smithery API key to connect to this server.
Installation
Install the official MCP SDKs using npm:
bash
npm install @modelcontextprotocol/sdk @smithery/sdk
TypeScript SDK
typescript
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { createSmitheryUrl } from "@smithery/sdk"
const config = {
"ALLOWED_TOOLS": "string",
"AZURE_DEVOPS_DOMAIN": "string",
"AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
"AZURE_DEVOPS_PROJECT": "string",
"AZURE_DEVOPS_PASSWORD": "string",
"AZURE_DEVOPS_USERNAME": "string",
"AZURE_DEVOPS_AUTH_TYPE": "pat",
"AZURE_DEVOPS_COLLECTION": "string",
"AZURE_DEVOPS_API_VERSION": "string",
"AZURE_DEVOPS_IS_ON_PREMISES": "string",
"AZURE_DEVOPS_PERSONAL_ACCESS_TOKEN": "string"
}
const serverUrl = createSmitheryUrl("https://server.smithery.ai/@RyanCardin15/azuredevops-mcp", config, "your-smithery-api-key")
const transport = new StreamableHTTPClientTransport(serverUrl)
// Create MCP client
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
const client = new Client({
name: "Test client",
version: "1.0.0"
})
await client.connect(transport)
// Use the server tools with your LLM application
const tools = await client.listTools()
console.log(`Available tools: ${tools.map(t => t.name).join(", ")}`)
Configuration Schema
Full JSON Schema for server configuration:
json
{
"type": "object",
"required": [
"AZURE_DEVOPS_ORG_URL",
"AZURE_DEVOPS_PROJECT"
],
"properties": {
"ALLOWED_TOOLS": {
"type": "string",
"description": "Optional comma-separated list of tool methods to enable (e.g., 'listWorkItems,getWorkItemById'). If not specified, all tools will be available."
},
"AZURE_DEVOPS_DOMAIN": {
"type": "string",
"description": "Domain for NTLM authentication"
},
"AZURE_DEVOPS_ORG_URL": {
"type": "string",
"default": "https://dev.azure.com/your-organization",
"description": "URL of your Azure DevOps organization or on-premises server"
},
"AZURE_DEVOPS_PROJECT": {
"type": "string",
"description": "Default Azure DevOps project to use"
},
"AZURE_DEVOPS_PASSWORD": {
"type": "string",
"description": "Password for NTLM or Basic authentication"
},
"AZURE_DEVOPS_USERNAME": {
"type": "string",
"description": "Username for NTLM or Basic authentication"
},
"AZURE_DEVOPS_AUTH_TYPE": {
"type": "string",
"default": "pat",
"description": "Authentication type to use (pat, ntlm, or basic)"
},
"AZURE_DEVOPS_COLLECTION": {
"type": "string",
"description": "Collection name for on-premises Azure DevOps Server"
},
"AZURE_DEVOPS_API_VERSION": {
"type": "string",
"description": "API version for on-premises Azure DevOps Server"
},
"AZURE_DEVOPS_IS_ON_PREMISES": {
"type": "string",
"description": "Whether this is an on-premises Azure DevOps Server installation"
},
"AZURE_DEVOPS_PERSONAL_ACCESS_TOKEN": {
"type": "string",
"description": "Your personal access token for Azure DevOps (required for PAT authentication)"
}
}
}