Skip to main content
Glama

Azure DevOps MCP Server

tool-definitions.ts1.3 kB
import { zodToJsonSchema } from 'zod-to-json-schema'; import { ToolDefinition } from '../../shared/types/tool-definition'; import { CreatePullRequestSchema, ListPullRequestsSchema, GetPullRequestCommentsSchema, AddPullRequestCommentSchema, UpdatePullRequestSchema, } from './schemas'; /** * List of pull requests tools */ export const pullRequestsTools: ToolDefinition[] = [ { name: 'create_pull_request', description: 'Create a new pull request', inputSchema: zodToJsonSchema(CreatePullRequestSchema), }, { name: 'list_pull_requests', description: 'List pull requests in a repository', inputSchema: zodToJsonSchema(ListPullRequestsSchema), }, { name: 'get_pull_request_comments', description: 'Get comments from a specific pull request', inputSchema: zodToJsonSchema(GetPullRequestCommentsSchema), }, { name: 'add_pull_request_comment', description: 'Add a comment to a pull request (reply to existing comments or create new threads)', inputSchema: zodToJsonSchema(AddPullRequestCommentSchema), }, { name: 'update_pull_request', description: 'Update an existing pull request with new properties, link work items, and manage reviewers', inputSchema: zodToJsonSchema(UpdatePullRequestSchema), }, ];

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tiberriver256/mcp-server-azure-devops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server