@therealchristhomas/gitlab-mcp-server
Version:
MCP Server for GitLab API operations
35 lines (34 loc) • 1.3 kB
TypeScript
import type { GitLabIssue, GitLabComment, CreateIssueOptions } from "../types/index.js";
export declare function listIssues(projectId: string, options?: {
state?: "opened" | "closed" | "all";
labels?: string;
milestone?: string;
assignee_id?: number;
author_id?: number;
search?: string;
created_after?: string;
created_before?: string;
updated_after?: string;
updated_before?: string;
sort?: string;
order_by?: "asc" | "desc";
page?: number;
per_page?: number;
with_labels_details?: boolean;
}): Promise<GitLabIssue[]>;
export declare function createIssue(projectId: string, options: CreateIssueOptions): Promise<GitLabIssue>;
export declare function updateIssue(projectId: string, issueIid: number, options: {
title?: string;
description?: string;
state_event?: "close" | "reopen";
labels?: string[];
assignee_ids?: number[];
milestone_id?: number;
}): Promise<GitLabIssue>;
export declare function searchIssues(projectId: string, searchTerm: string, options?: {
state?: "opened" | "closed" | "all";
labels?: string;
page?: number;
per_page?: number;
}): Promise<GitLabIssue[]>;
export declare function addIssueComment(projectId: string, issueIid: number, body: string): Promise<GitLabComment>;